Package net.minecraft.world.level.biome
Class Biome
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<V>
net.minecraftforge.registries.ForgeRegistryEntry.UncheckedRegistryEntry<Biome>
net.minecraft.world.level.biome.Biome
- All Implemented Interfaces:
IForgeRegistryEntry<Biome>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic classstatic enumstatic enumNested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PerlinSimplexNoiseDeprecated, for removal: This API element is subject to removal in a future version.private final Biome.BiomeCategoryprivate final Biome.ClimateSettingsstatic final com.mojang.serialization.Codec<Biome>(package private) static final PerlinSimplexNoiseprivate final BiomeGenerationSettingsprivate final MobSpawnSettingsstatic final com.mojang.serialization.Codec<Biome>private final BiomeSpecialEffectsprivate static final intprivate static final PerlinSimplexNoiseprivate final ThreadLocal<it.unimi.dsi.fastutil.longs.Long2FloatLinkedOpenHashMap>Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate -
Constructor Summary
ConstructorsConstructorDescriptionBiome(Biome.ClimateSettings p_186620_, Biome.BiomeCategory p_186621_, BiomeSpecialEffects p_186622_, BiomeGenerationSettings p_186623_, MobSpawnSettings p_186624_) -
Method Summary
Modifier and TypeMethodDescriptionbooleancoldEnoughToSnow(BlockPos p_198905_) final float(package private) Biome.BiomeCategorystatic Biome.BiomeCategorygetBiomeCategory(Holder<Biome> p_204184_) Deprecated.final floatintintprivate intintgetGrassColor(double p_47465_, double p_47466_) private intprivate floatgetHeightAdjustedTemperature(BlockPos p_47529_) intprivate floatgetTemperature(BlockPos p_47506_) Deprecated.final intfinal intbooleanisHumid()booleanshouldFreeze(LevelReader p_47478_, BlockPos p_47479_) booleanshouldFreeze(LevelReader p_47481_, BlockPos p_47482_, boolean p_47483_) booleanshouldMeltFrozenOceanIcebergSlightly(BlockPos p_198909_) booleanshouldSnow(LevelReader p_47520_, BlockPos p_47521_) booleanshouldSnowGolemBurn(BlockPos p_198911_) booleanwarmEnoughToRain(BlockPos p_198907_) Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Field Details
-
DIRECT_CODEC
-
NETWORK_CODEC
-
CODEC
-
LIST_CODEC
-
TEMPERATURE_NOISE
-
FROZEN_TEMPERATURE_NOISE
-
BIOME_INFO_NOISE
Deprecated, for removal: This API element is subject to removal in a future version. -
TEMPERATURE_CACHE_SIZE
private static final int TEMPERATURE_CACHE_SIZE- See Also:
-
climateSettings
-
generationSettings
-
mobSettings
-
biomeCategory
-
specialEffects
-
temperatureCache
-
-
Constructor Details
-
Biome
Biome(Biome.ClimateSettings p_186620_, Biome.BiomeCategory p_186621_, BiomeSpecialEffects p_186622_, BiomeGenerationSettings p_186623_, MobSpawnSettings p_186624_)
-
-
Method Details
-
getSkyColor
public int getSkyColor() -
getMobSettings
-
getPrecipitation
-
isHumid
public boolean isHumid() -
getHeightAdjustedTemperature
-
getTemperature
Deprecated. -
shouldFreeze
-
shouldFreeze
-
coldEnoughToSnow
-
warmEnoughToRain
-
shouldMeltFrozenOceanIcebergSlightly
-
shouldSnowGolemBurn
-
shouldSnow
-
getGenerationSettings
-
getFogColor
public int getFogColor() -
getGrassColor
public int getGrassColor(double p_47465_, double p_47466_) -
getGrassColorFromTexture
private int getGrassColorFromTexture() -
getFoliageColor
public int getFoliageColor() -
getFoliageColorFromTexture
private int getFoliageColorFromTexture() -
getDownfall
public final float getDownfall() -
getBaseTemperature
public final float getBaseTemperature() -
getSpecialEffects
-
getWaterColor
public final int getWaterColor() -
getWaterFogColor
public final int getWaterFogColor() -
getAmbientParticle
-
getAmbientLoop
-
getAmbientMood
-
getAmbientAdditions
-
getBackgroundMusic
-
getBiomeCategory
Biome.BiomeCategory getBiomeCategory() -
getBiomeCategory
Deprecated.
-