Class EmiWoolBlockRecipe

java.lang.Object
emi.dev.emi.emi.api.recipe.EmiCraftingRecipe
emi.dev.emi.emi.recipe.btw.special.EmiWoolBlockRecipe
All Implemented Interfaces:
EmiRecipe

public class EmiWoolBlockRecipe extends EmiCraftingRecipe
  • Field Details

    • unique

      protected final int unique
  • Constructor Details

  • Method Details

    • addWidgets

      public void addWidgets(WidgetHolder widgets)
      Description copied from interface: EmiRecipe
      Called to add widgets that display the recipe. Can be used in several places, including the main recipe screen, and tooltips. It is worth noting that EMI cannot grow vertically, so recipes with large heights may be provided less space than requested if they span more than the entire vertical space available in the recipe scren. In the case of very large heights, recipes should respect WidgetHolder.getHeight().
      Specified by:
      addWidgets in interface EmiRecipe
      Overrides:
      addWidgets in class EmiCraftingRecipe
    • getInputWidget

      public SlotWidget getInputWidget(int slot, int x, int y)
    • getOutputWidget

      public SlotWidget getOutputWidget(int x, int y)
    • supportsRecipeTree

      public boolean supportsRecipeTree()
      Returns:
      Whether the recipe supports the recipe tree. Recipes that do not represent a set of inputs producing a set of outputs should exclude themselves. Example for unsupportable recipes are pattern based recipes, like arbitrary dying.
    • getOutputs

      public List<EmiStack> getOutputs()
      Specified by:
      getOutputs in interface EmiRecipe
      Overrides:
      getOutputs in class EmiCraftingRecipe
      Returns:
      A list of stacks that are created after a craft. Outputs will consider this recipe a source when exploring recipes.
    • getCatalysts

      public List<EmiIngredient> getCatalysts()
      Returns:
      A list of ingredients associated with the creation of the recipe. Catalysts are considered the same as workstations in the recipe, not broken down as a requirement. However, catalysts will consider this recipe a use when exploring recipes.