Class EmiWoolArmorRecipe
java.lang.Object
emi.dev.emi.emi.api.recipe.EmiCraftingRecipe
emi.dev.emi.emi.recipe.btw.special.EmiWoolArmorRecipe
- All Implemented Interfaces:
EmiRecipe
-
Field Summary
FieldsFields inherited from class emi.dev.emi.emi.api.recipe.EmiCraftingRecipe
id, input, output, secondaryOutputs, shapeless -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddWidgets(WidgetHolder widgets) Called to add widgets that display the recipe.getInputWidget(int slot, int x, int y) getOutputWidget(int x, int y) booleanMethods inherited from class emi.dev.emi.emi.api.recipe.EmiCraftingRecipe
canFit, getCategory, getDisplayHeight, getDisplayWidth, getId, getInputs, getOutputsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface emi.dev.emi.emi.api.recipe.EmiRecipe
getCatalysts, hideCraftable
-
Field Details
-
unique
protected final int unique
-
-
Constructor Details
-
EmiWoolArmorRecipe
-
-
Method Details
-
addWidgets
Description copied from interface:EmiRecipeCalled 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 respectWidgetHolder.getHeight().- Specified by:
addWidgetsin interfaceEmiRecipe- Overrides:
addWidgetsin classEmiCraftingRecipe
-
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
-
getOutputWidget
-