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.
Importare la Classe
Link to importare-la-classe
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;
Interfacce Implementate
Link to interfacce-implementate
SimpleJeiCategory implements the following interfaces. That means all methods defined in these interfaces are also available in SimpleJeiCategory
Proprietà
Link to proprietà
Nome | Tipo | Ha Getter | Ha Setter | Descrizione |
---|---|---|---|---|
Nome background | Tipo JeiDrawable | Ha Getter sì | Ha Setter no | Descrizione Gets the JeiDrawable that serves as the background for recipes of this category. |