Package emi.dev.emi.emi.recipe.btw
Class EmiLoomRecipe
java.lang.Object
emi.dev.emi.emi.recipe.btw.EmiBulkRecipe
emi.dev.emi.emi.recipe.btw.EmiLoomRecipe
- All Implemented Interfaces:
EmiRecipe
-
Field Summary
Fields inherited from class emi.dev.emi.emi.recipe.btw.EmiBulkRecipe
input, output -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddWidgets(WidgetHolder widgets) Called to add widgets that display the recipe.intMethods inherited from class emi.dev.emi.emi.recipe.btw.EmiBulkRecipe
convertOutput, getCatalysts, getCategory, getDisplayWidth, getId, getInputs, getOutputs, noMoreStringsplosionMethods 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, supportsRecipeTree
-
Constructor Details
-
EmiLoomRecipe
-
-
Method Details
-
getDisplayHeight
public int getDisplayHeight()- Specified by:
getDisplayHeightin interfaceEmiRecipe- Overrides:
getDisplayHeightin classEmiBulkRecipe- Returns:
- The maximum height taken up by the recipe's widgets.
Vertical screen space is capped, however, and EMI may opt to provide less vertical space.
SeeWidgetHolder.getHeight()when adding widgets for the EMI adjusted height.
-
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 classEmiBulkRecipe
-