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

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.

crafttweaker.api.world.MCBiome

Methods

getSpawns

Returns List<crafttweaker.api.world.MCBiomeSpawnEntry>

myMCBiome.getSpawns(classification as crafttweaker.api.entity.MCEntityClassification);
ParameterTypeDescription
classificationcrafttweaker.api.entity.MCEntityClassificationNo description provided

getTempCategory

Returns String

myMCBiome.getTempCategory();

getTemperature

Returns float

myMCBiome.getTemperature(pos as crafttweaker.api.util.BlockPos);
ParameterTypeDescription
poscrafttweaker.api.util.BlockPosNo description provided

Properties

名称TypeHas GetterHas Setter
categoryStringtruefalse
defaultTemperaturefloattruefalse
depthfloattruefalse
doesRainboolean型truefalse
doesSnowboolean型truefalse
downfallfloattruefalse
isHighHumidityboolean型truefalse
isMutationboolean型truefalse
isTempColdboolean型truefalse
isTempMediumboolean型truefalse
isTempOceanboolean型truefalse
isTempWarmboolean型truefalse
parentStringtruefalse
rainTypeStringtruefalse
scalefloattruefalse
spawningChangefloattruefalse
translationKeyStringtruefalse
waterColorinttruefalse
waterFogColorinttruefalse