BiomeCategory
Link to biomecategory
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 crafttweaker.api.world.biome.BiomeCategory;
Interfacce Implementate
Link to interfacce-implementate
BiomeCategory implements the following interfaces. That means all methods defined in these interfaces are also available in BiomeCategory
Enum Constants
Link to enum-constants
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>
Metodi
Link to metodi
Name: getName
Return Type: string
ZenScript Copy// BiomeCategory.getName() as string
myBiomeCategory.getName();
Proprietà
Link to proprietà
Nome | Tipo | Ha Getter | Ha Setter |
---|---|---|---|
Nome nome | Tipo string | Ha Getter sì | Ha Setter no |