Class EmiWoolArmorRecipe

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

public class EmiWoolArmorRecipe 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
    • 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.
    • getInputWidget

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

      public SlotWidget getOutputWidget(int x, int y)