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
Copy
import crafttweaker.api.world.biome.BiomeCategory;

Implemented Interfaces

Link to implemented-interfaces

BiomeCategory implements the following interfaces. That means all methods defined in these interfaces are also available in BiomeCategory

BiomeCategory is an enum. It has 19 enum constants. They are accessible using the code below.

ZenScript
Copy
<constant:minecraft:world/biome/category:none>
<constant:minecraft:world/biome/category:taiga>
<constant:minecraft:world/biome/category:extreme_hills>
<constant:minecraft:world/biome/category:jungle>
<constant:minecraft:world/biome/category:mesa>
<constant:minecraft:world/biome/category:plains>
<constant:minecraft:world/biome/category:savanna>
<constant:minecraft:world/biome/category:icy>
<constant:minecraft:world/biome/category:theend>
<constant:minecraft:world/biome/category:beach>
<constant:minecraft:world/biome/category:forest>
<constant:minecraft:world/biome/category:ocean>
<constant:minecraft:world/biome/category:desert>
<constant:minecraft:world/biome/category:river>
<constant:minecraft:world/biome/category:swamp>
<constant:minecraft:world/biome/category:mushroom>
<constant:minecraft:world/biome/category:nether>
<constant:minecraft:world/biome/category:underground>
<constant:minecraft:world/biome/category:mountain>

Name: getName

Return Type: string

ZenScript
Copy
// BiomeCategory.getName() as string

myBiomeCategory.getName();
NameTypeHas GetterHas Setter
Name
name
Type
string
Has Getter
true
Has Setter
false