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. So you need to have this mod installed if you want to use this feature.

Importing the class

Link to importing-the-class

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

名称TypeHas GetterHas SetterDescription
名称
catalystDrawable
Type
void
Has Getter
false
Has Setter
true
Description
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
Type
void
Has Getter
false
Has Setter
true
Description
Sets the amount of inputs that this recipe category allows.
名称
outputs
Type
void
Has Getter
false
Has Setter
true
Description
Sets the amount of outputs that this recipe category allows.