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.
导入类
Link to 导入类
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;
已实现的接口
Link to 已实现的接口
SimpleJeiCategory implements the following interfaces. That means all methods defined in these interfaces are also available in SimpleJeiCategory
名称 | 类型 | 可获得 | 可设置 | 描述 |
---|---|---|---|---|
名称 background | 类型 JeiDrawable | 可获得 true | 可设置 false | 描述 Gets the JeiDrawable that serves as the background for recipes of this category. |