Invalid leaf directive! `since`

SimpleJeiCategory

Link to simplejeicategory

Represents the basic and simplest implementation of a custom JeiCategory.For the script writers: you should never ever reference this class: use either a specific type or JeiCategory.For the mod developers: it is highly suggested to use this class as a base to implement a custom category, as it gets rid of most of the boilerplate and also provides a constructor that already follows the requirements outlined in JeiCategory.

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.SimpleJeiCategory;

Implemented Interfaces

Link to implemented-interfaces

SimpleJeiCategory implements the following interfaces. That means all methods defined in these interfaces are also available in SimpleJeiCategory

名称TypeHas GetterHas SetterDescription
名称
background
Type
JeiDrawable
Has Getter
true
Has Setter
false
Description
Gets the JeiDrawable that serves as the background for recipes of this category.