Biome
Link to biome
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 Copyimport crafttweaker.api.world.biome.Biome;
Methods
Link to methods
Name: getTemperature
Return Type: float
ZenScript CopyBiome.getTemperature(pos as BlockPos) as float
Parameter | Type | Description |
---|---|---|
Parameter pos | Type BlockPos | Description No Description Provided |
Name: shouldFreeze
Return Type: boolean
ZenScript CopyBiome.shouldFreeze(world as Level, pos as BlockPos, mustBeAtEdge as boolean) as boolean
Parameter | Type | Description |
---|---|---|
Parameter world | Type Level | Description No Description Provided |
Parameter pos | Type BlockPos | Description No Description Provided |
Parameter mustBeAtEdge | Type boolean | Description No Description Provided |
Properties
Link to properties
Nombre | Type | Has Getter | Has Setter | Description |
---|---|---|---|---|
Nombre biomeCategory | Type string | Has Getter true | Has Setter false | Description No Description Provided |
Nombre commandString | Type string | Has Getter true | Has Setter false | Description No Description Provided |
Nombre depth | Type float | Has Getter true | Has Setter false | Description No Description Provided |
Nombre doesRain | Type boolean | Has Getter true | Has Setter false | Description No Description Provided |
Nombre doesSnow | Type boolean | Has Getter true | Has Setter false | Description No Description Provided |
Nombre downfall | Type float | Has Getter true | Has Setter false | Description No Description Provided |
Nombre isHumid | Type boolean | Has Getter true | Has Setter false | Description No Description Provided |
Nombre rainType | Type string | Has Getter true | Has Setter false | Description No Description Provided |
Nombre registryName | Type ResourceLocation | Has Getter true | Has Setter false | Description No Description Provided |
Nombre scale | Type float | Has Getter true | Has Setter false | Description No Description Provided |
Nombre waterColor | Type int | Has Getter true | Has Setter false | Description No Description Provided |
Nombre waterFogColor | Type int | Has Getter true | Has Setter false | Description No Description Provided |