This class was added by a mod with mod-id crafttweaker. So you need to have this mod installed if you want to use this feature.

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.

ZenScript
Copy
crafttweaker.api.world.MCBiome

Returns List<crafttweaker.api.world.MCBiomeSpawnEntry>

ZenScript
Copy
myMCBiome.getSpawns(classification as crafttweaker.api.entity.MCEntityClassification);
ParameterTypeDescription
Parameter
classification
Type
crafttweaker.api.entity.MCEntityClassification
Description
No description provided

Returns String

ZenScript
Copy
myMCBiome.getTempCategory();

Returns float

ZenScript
Copy
myMCBiome.getTemperature(pos as crafttweaker.api.util.BlockPos);
ParameterTypeDescription
Parameter
pos
Type
crafttweaker.api.util.BlockPos
Description
No description provided
NombreTypeHas GetterHas Setter
Nombre
category
Type
String
Has Getter
true
Has Setter
false
Nombre
defaultTemperature
Type
float
Has Getter
true
Has Setter
false
Nombre
depth
Type
float
Has Getter
true
Has Setter
false
Nombre
doesRain
Type
boolean
Has Getter
true
Has Setter
false
Nombre
doesSnow
Type
boolean
Has Getter
true
Has Setter
false
Nombre
downfall
Type
float
Has Getter
true
Has Setter
false
Nombre
isHighHumidity
Type
boolean
Has Getter
true
Has Setter
false
Nombre
isMutation
Type
boolean
Has Getter
true
Has Setter
false
Nombre
isTempCold
Type
boolean
Has Getter
true
Has Setter
false
Nombre
isTempMedium
Type
boolean
Has Getter
true
Has Setter
false
Nombre
isTempOcean
Type
boolean
Has Getter
true
Has Setter
false
Nombre
isTempWarm
Type
boolean
Has Getter
true
Has Setter
false
Nombre
parent
Type
String
Has Getter
true
Has Setter
false
Nombre
rainType
Type
String
Has Getter
true
Has Setter
false
Nombre
scale
Type
float
Has Getter
true
Has Setter
false
Nombre
spawningChange
Type
float
Has Getter
true
Has Setter
false
Nombre
translationKey
Type
String
Has Getter
true
Has Setter
false
Nombre
waterColor
Type
int
Has Getter
true
Has Setter
false
Nombre
waterFogColor
Type
int
Has Getter
true
Has Setter
false