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.
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 Copyimport 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
Properties
Link to properties
이름 | Type | Has Getter | Has Setter | Description |
---|---|---|---|---|
이름 background | Type JeiDrawable | Has Getter true | Has Setter false | Description Gets the JeiDrawable that serves as the background for recipes of this category. |