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

public class ElectricPress extends AContainer implements RecipeDisplayItem
The ElectricPress is a pretty simple electrical machine. It allows you to compact items into their block variant, e.g. 9 diamonds into a diamond block.
Author:
TheBusyBiscuit
  • Constructor Details

  • Method Details

    • registerDefaultRecipes

      protected void registerDefaultRecipes()
      Description copied from class: AContainer
      This method registers all default recipes for this machine.
      Overrides:
      registerDefaultRecipes in class AContainer
    • getProgressBar

      public 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
    • 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