Expansion for JeiCategory
Link to expansion-for-jeicategory
Expands a JeiCategory allowing for registration of JeiRecipes.
This expansion was added by a mod with mod-id jeitweaker
. Так что если вы хотите использовать эту функцию, вам нужно установить этот мод.
Методы
Link to методы
Name: addRecipe
Adds a new recipe to the specified category with the given inputs and outputs.
Return Type: void
ZenScript CopyJeiCategory.addRecipe(outputs as JeiIngredient[][], inputs as JeiIngredient[][]) as void
Параметр | Тип | Описание |
---|---|---|
Параметр outputs | Тип JeiIngredient[][] | Описание The outputs of the recipe. Refer to JeiRecipe for more details on the format. |
Параметр inputs | Тип JeiIngredient[][] | Описание The inputs of the recipe. Refer to JeiRecipe for more details on the format. |
Name: addRecipe
Adds a new recipe to the specified category with the given inputs and outputs and the specified graphics.
Return Type: void
ZenScript CopyJeiCategory.addRecipe(outputs as JeiIngredient[][], inputs as JeiIngredient[][], graphics as Consumer<JeiRecipeGraphics>) as void
Параметр | Тип | Описание |
---|---|---|
Параметр outputs | Тип JeiIngredient[][] | Описание The outputs of the recipe. Refer to JeiRecipe for more details on the format. |
Параметр inputs | Тип JeiIngredient[][] | Описание The inputs of the recipe. Refer to JeiRecipe for more details on the format. |
Параметр graphics | Тип Consumer<JeiRecipeGraphics> | Описание A consumer for a JeiRecipeGraphics allowing for more integration with the category. Each category defines a different contract for the graphics, so refer to the category documentation for more information. |