CraftingBookCategory
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.recipe.CraftingBookCategory;
Implements
CraftingBookCategory
implements the following interfaces:
Undocumented Interfaces
Comparable<Enum>
Enum Constants
CraftingBookCategory is an enum with 4 constants. They are accessible like so:
// CraftingBookCategory.BUILDING<constant:minecraft:recipe/category/crafting:building>// CraftingBookCategory.EQUIPMENT<constant:minecraft:recipe/category/crafting:equipment>// CraftingBookCategory.MISC<constant:minecraft:recipe/category/crafting:misc>// CraftingBookCategory.REDSTONE<constant:minecraft:recipe/category/crafting:redstone>
Members
Getter
Gets the serialized name.script.zs
// CraftingBookCategory.serializedName as string<constant:minecraft:recipe/category/crafting:building>.serializedName
Return Type:
string
serializedName() as string
Gets the serialized name.script.zs
Returns: the serialized name.
// CraftingBookCategory.serializedName() as string;<constant:minecraft:recipe/category/crafting:building>.serializedName();
Return Type:
string