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.Biome;

Name: getTemperature

Return Type: float

ZenScript
Copy
Biome.getTemperature(pos as BlockPos) as float
ParameterTypeDescription
Parameter
pos
Type
BlockPos
Description
No Description Provided

Name: shouldFreeze

Return Type: boolean

ZenScript
Copy
Biome.shouldFreeze(world as Level, pos as BlockPos) as boolean
ParameterTypeDescription
Parameter
world
Type
Level
Description
No Description Provided
Parameter
pos
Type
BlockPos
Description
No Description Provided

Name: shouldFreeze

Return Type: boolean

ZenScript
Copy
Biome.shouldFreeze(world as Level, pos as BlockPos, mustBeAtEdge as boolean) as boolean
ParameterTypeDescription
Parameter
world
Type
Level
Description
No Description Provided
Parameter
pos
Type
BlockPos
Description
No Description Provided
Parameter
mustBeAtEdge
Type
boolean
Description
No Description Provided

Name: shouldSnow

Return Type: boolean

ZenScript
Copy
Biome.shouldSnow(world as Level, pos as BlockPos) as boolean
ParameterTypeDescription
Parameter
world
Type
Level
Description
No Description Provided
Parameter
pos
Type
BlockPos
Description
No Description Provided
이름TypeHas GetterHas SetterDescription
이름
biomeCategory
Type
string
Has Getter
true
Has Setter
false
Description
No Description Provided
이름
commandString
Type
string
Has Getter
true
Has Setter
false
Description
No Description Provided
이름
depth
Type
float
Has Getter
true
Has Setter
false
Description
No Description Provided
이름
doesRain
Type
boolean
Has Getter
true
Has Setter
false
Description
No Description Provided
이름
doesSnow
Type
boolean
Has Getter
true
Has Setter
false
Description
No Description Provided
이름
downfall
Type
float
Has Getter
true
Has Setter
false
Description
No Description Provided
이름
isHumid
Type
boolean
Has Getter
true
Has Setter
false
Description
No Description Provided
이름
rainType
Type
string
Has Getter
true
Has Setter
false
Description
No Description Provided
이름
registryName
Type
ResourceLocation
Has Getter
true
Has Setter
false
Description
No Description Provided
이름
scale
Type
float
Has Getter
true
Has Setter
false
Description
No Description Provided
이름
waterColor
Type
int
Has Getter
true
Has Setter
false
Description
No Description Provided
이름
waterFogColor
Type
int
Has Getter
true
Has Setter
false
Description
No Description Provided