All Implemented Interfaces:
ItemAttribute, NotPlaceable, Placeable, RecipeDisplayItem

public class MakeshiftSmeltery extends MultiBlockMachine
The MakeshiftSmeltery is a simpler version of the Smeltery. Its functionality is very limited and it cannot be used to smelt alloys.
Author:
TheBusyBiscuit
See Also:
  • Constructor Details

  • Method Details

    • 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