MCBiome
Link to mcbiome
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.MCBiome;
Methods
Link to methods
Name: doesWaterFreeze
Return Type: boolean
ZenScript CopyMCBiome.doesWaterFreeze(world as MCWorld, pos as BlockPos, mustBeAtEdge as boolean) as boolean
Parameter | Type | Description |
---|---|---|
Parameter world | Type MCWorld | Description No Description Provided |
Parameter pos | Type BlockPos | Description No Description Provided |
Parameter mustBeAtEdge | Type boolean型 | Description No Description Provided |
Name: getTemperature
Return Type: float
ZenScript CopyMCBiome.getTemperature(pos as BlockPos) as float
Parameter | Type | Description |
---|---|---|
Parameter pos | Type BlockPos | Description No Description Provided |
Properties
Link to properties
名称 | Type | Has Getter | Has Setter | Description |
---|---|---|---|---|
名称 category | 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 |
名称 isHighHumidity | 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 MCResourceLocation | 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 |