Invalid leaf directive! `since`

CatalystRequiringRecipe

Link to catalystrequiringrecipe

Identifies a recipe that supports up to 3 inputs and 3 outputs and specifies a recipe-specific catalyst.

The recipe-specific catalyst can be either a JeiDrawable or an actual JEI ingredient. In the latter case, the catalyst is specified as one additional recipe input.

By default, this category is initialized with 1 input, 1 output, and no catalyst drawable.

A recipe can also specify a custom tooltip that appears when hovering over the arrow by adding a tooltip with the ID "process_detail".

This class was added by a mod with mod-id jeitweaker. 因此,如果要使用此功能,则需要安装此mod。

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import mods.jei.category.CatalystRequiringRecipe;

Extending SimpleJeiCategory

Link to extending-simplejeicategory

CatalystRequiringRecipe extends SimpleJeiCategory. That means all methods available in SimpleJeiCategory are also available in CatalystRequiringRecipe

名称类型可获得可设置描述
名称
catalystDrawable
类型
void
可获得
false
可设置
true
描述
Sets the JeiDrawable that will be used as a catalyst.

If the given drawable is null, then the last of the input parameters will be treated as catalyst.
名称
inputs
类型
void
可获得
false
可设置
true
描述
Sets the amount of inputs that this recipe category allows.
名称
outputs
类型
void
可获得
false
可设置
true
描述
Sets the amount of outputs that this recipe category allows.