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

Link to g-

Name: doesSnowFreeze

Return Type: boolean

ZenScript
Copy
MCBiome.doesSnowFreeze(world as MCWorld, pos as BlockPos) as boolean
ParameterTypeDescription
Parameter
world
Type
MCWorld
Description
No Description Provided
Parameter
pos
Type
BlockPos
Description
No Description Provided

Link to g--1

Name: doesWaterFreeze

Return Type: boolean

ZenScript
Copy
MCBiome.doesWaterFreeze(world as MCWorld, pos as BlockPos) as boolean
ParameterTypeDescription
Parameter
world
Type
MCWorld
Description
No Description Provided
Parameter
pos
Type
BlockPos
Description
No Description Provided

Link to g--2

Name: doesWaterFreeze

Return Type: boolean

ZenScript
Copy
MCBiome.doesWaterFreeze(world as MCWorld, pos as BlockPos, mustBeAtEdge as boolean) as boolean
ParameterTypeDescription
Parameter
world
Type
MCWorld
Description
No Description Provided
Parameter
pos
Type
BlockPos
Description
No Description Provided
Parameter
mustBeAtEdge
Type
boolean
Description
No Description Provided

Link to g--3

Name: getTemperature

Return Type: float

ZenScript
Copy
MCBiome.getTemperature(pos as BlockPos) as float
ParameterTypeDescription
Parameter
pos
Type
BlockPos
Description
No Description Provided
NameTypeHas GetterHas SetterDescription
Name
category
Type
string
Has Getter
true
Has Setter
false
Description
No Description Provided
Name
commandString
Type
string
Has Getter
true
Has Setter
false
Description
No Description Provided
Name
depth
Type
float
Has Getter
true
Has Setter
false
Description
No Description Provided
Name
doesRain
Type
boolean
Has Getter
true
Has Setter
false
Description
No Description Provided
Name
doesSnow
Type
boolean
Has Getter
true
Has Setter
false
Description
No Description Provided
Name
downfall
Type
float
Has Getter
true
Has Setter
false
Description
No Description Provided
Name
isHighHumidity
Type
boolean
Has Getter
true
Has Setter
false
Description
No Description Provided
Name
rainType
Type
string
Has Getter
true
Has Setter
false
Description
No Description Provided
Name
registryName
Type
format@@0 MCRessourceLocation
Has Getter
true
Has Setter
false
Description
No Description Provided
Name
scale
Type
float
Has Getter
true
Has Setter
false
Description
No Description Provided
Name
waterColor
Type
int
Has Getter
true
Has Setter
false
Description
No Description Provided
Name
waterFogColor
Type
int
Has Getter
true
Has Setter
false
Description
No Description Provided