CookingBookCategory
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.CookingBookCategory;
Implements
CookingBookCategory
implements the following interfaces:
Undocumented Interfaces
Comparable<Enum>
Enum Constants
CookingBookCategory is an enum with 3 constants. They are accessible like so:
// CookingBookCategory.BLOCKS<constant:minecraft:recipe/category/cooking:blocks>// CookingBookCategory.FOOD<constant:minecraft:recipe/category/cooking:food>// CookingBookCategory.MISC<constant:minecraft:recipe/category/cooking:misc>
Members
Getter
Gets the serialized name.script.zs
// CookingBookCategory.serializedName as string<constant:minecraft:recipe/category/cooking:blocks>.serializedName
Return Type:
string
serializedName() as string
Gets the serialized name.script.zs
Returns: the serialized name.
// CookingBookCategory.serializedName() as string;<constant:minecraft:recipe/category/cooking:blocks>.serializedName();
Return Type:
string