All Implemented Interfaces:
ItemAttribute, NotPlaceable, Placeable, RecipeDisplayItem

public class Smeltery extends MultiBlockMachine
The Smeltery is an upgraded version of the MakeshiftSmeltery with the additional capabilities to create AlloyIngots and utilise an IgnitionChamber.
Author:
TheBusyBiscuit, AtomicScience, Sfiguz7, Liruxo, emanueljg, SoSeDiK, Redemption198
See Also:
  • Constructor Details

  • Method Details

    • registerDefaultRecipes

      protected void registerDefaultRecipes(@Nonnull List<org.bukkit.inventory.ItemStack> recipes)
      Overrides:
      registerDefaultRecipes in class MultiBlockMachine
    • getDisplayRecipes

      public List<org.bukkit.inventory.ItemStack> getDisplayRecipes()
      Description copied from interface: RecipeDisplayItem
      This is the list of items to display alongside this SlimefunItem. Note that these items will be filled in from top to bottom first. So if you want it to express a recipe, add your input ItemStack and then your output ItemStack.
      Specified by:
      getDisplayRecipes in interface RecipeDisplayItem
      Overrides:
      getDisplayRecipes in class MultiBlockMachine
      Returns:
      The recipes to display in the SlimefunGuide
    • craft

      protected void craft(org.bukkit.entity.Player p, org.bukkit.block.Block b, org.bukkit.inventory.Inventory inv, org.bukkit.inventory.ItemStack[] recipe, org.bukkit.inventory.ItemStack output, org.bukkit.inventory.Inventory outputInv)
    • onInteract

      public void onInteract(org.bukkit.entity.Player p, org.bukkit.block.Block b)
      Specified by:
      onInteract in class MultiBlockMachine