Class EmiWoolBlockRecipe
java.lang.Object
emi.dev.emi.emi.api.recipe.EmiCraftingRecipe
emi.dev.emi.emi.recipe.btw.special.EmiWoolBlockRecipe
- 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, getInputsMethods 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
hideCraftable
-
Field Details
-
unique
protected final int unique
-
-
Constructor Details
-
EmiWoolBlockRecipe
-
-
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
-
getInputWidget
-
getOutputWidget
-
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
- Specified by:
getOutputsin interfaceEmiRecipe- Overrides:
getOutputsin classEmiCraftingRecipe- Returns:
- A list of stacks that are created after a craft. Outputs will consider this recipe a source when exploring recipes.
-
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.
-