MCBiome
Link to mcbiome
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 Copycrafttweaker.api.world.MCBiome
Methods
Link to methods
getSpawns
Link to getspawns
Returns List<crafttweaker.api.world.MCBiomeSpawnEntry>
ZenScript CopymyMCBiome.getSpawns(classification as crafttweaker.api.entity.MCEntityClassification);
Parameter | Type | Description |
---|---|---|
Parameter classification | Type crafttweaker.api.entity.MCEntityClassification | Description No description provided |
getTempCategory
Link to gettempcategory
Returns String
ZenScript CopymyMCBiome.getTempCategory();
getTemperature
Link to gettemperature
Returns float
ZenScript CopymyMCBiome.getTemperature(pos as crafttweaker.api.util.BlockPos);
Parameter | Type | Description |
---|---|---|
Parameter pos | Type crafttweaker.api.util.BlockPos | Description No description provided |
Properties
Link to properties
名称 | Type | Has Getter | Has Setter |
---|---|---|---|
名称 category | Type 文字列型 | Has Getter true | Has Setter false |
名称 defaultTemperature | Type float | Has Getter true | Has Setter false |
名称 depth | Type float | Has Getter true | Has Setter false |
名称 doesRain | Type boolean型 | Has Getter true | Has Setter false |
名称 doesSnow | Type boolean型 | Has Getter true | Has Setter false |
名称 downfall | Type float | Has Getter true | Has Setter false |
名称 isHighHumidity | Type boolean型 | Has Getter true | Has Setter false |
名称 isMutation | Type boolean型 | Has Getter true | Has Setter false |
名称 isTempCold | Type boolean型 | Has Getter true | Has Setter false |
名称 isTempMedium | Type boolean型 | Has Getter true | Has Setter false |
名称 isTempOcean | Type boolean型 | Has Getter true | Has Setter false |
名称 isTempWarm | Type boolean型 | Has Getter true | Has Setter false |
名称 parent | Type 文字列型 | Has Getter true | Has Setter false |
名称 rainType | Type 文字列型 | Has Getter true | Has Setter false |
名称 scale | Type float | Has Getter true | Has Setter false |
名称 spawningChange | Type float | Has Getter true | Has Setter false |
名称 translationKey | Type 文字列型 | Has Getter true | Has Setter false |
名称 waterColor | Type int | Has Getter true | Has Setter false |
名称 waterFogColor | Type int | Has Getter true | Has Setter false |