All Implemented Interfaces:
EnergyNetComponent, ItemAttribute, MachineProcessHolder<CraftingOperation>, NotHopperable, Placeable, InventoryBlock

public class ElectricSmeltery extends AContainer implements NotHopperable
The ElectricSmeltery is an electric version of the standard Smeltery.
Author:
TheBusyBiscuit
  • Constructor Details

    • ElectricSmeltery

      @ParametersAreNonnullByDefault public ElectricSmeltery(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, org.bukkit.inventory.ItemStack[] recipe)
  • Method Details

    • constructMenu

      protected void constructMenu(BlockMenuPreset preset)
      Overrides:
      constructMenu in class AContainer
    • getProgressBar

      public org.bukkit.inventory.ItemStack getProgressBar()
      Description copied from class: AContainer
      This method returns the ItemStack that this AContainer will use as a progress bar. Override this method to set the progress bar.
      Specified by:
      getProgressBar in class AContainer
      Returns:
      The ItemStack to use as the progress bar
    • getInputSlots

      public int[] getInputSlots()
      Description copied from interface: InventoryBlock
      This method returns an Array of slots that serve as the input for the Inventory of this block.
      Specified by:
      getInputSlots in interface InventoryBlock
      Overrides:
      getInputSlots in class AContainer
      Returns:
      The input slots for the Inventory of this block
    • getOutputSlots

      public int[] getOutputSlots()
      Description copied from interface: InventoryBlock
      This method returns an Array of slots that serve as the output for the Inventory of this block.
      Specified by:
      getOutputSlots in interface InventoryBlock
      Overrides:
      getOutputSlots in class AContainer
      Returns:
      The output slots for the Inventory of this block
    • getMachineIdentifier

      public String getMachineIdentifier()
      Description copied from class: AContainer
      This method returns an internal identifier that is used to identify this AContainer and its recipes. When adding recipes to an AContainer we will use this identifier to identify all instances of the same AContainer. This way we can add the recipes to all instances of the same machine. This method will be deprecated and replaced in the future
      Specified by:
      getMachineIdentifier in class AContainer
      Returns:
      The identifier of this machine