Invalid leaf directive! `since`

Expansion for JeiCategory

Link to expansion-for-jeicategory

Expands a JeiCategory allowing for registration of JeiRecipes.

Name: addRecipe

Adds a new recipe to the specified category with the given inputs and outputs.

Return Type: void

ZenScript
Copy
JeiCategory.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
Copy
JeiCategory.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.