net.minecraft.world.level.biome

public final class Biome

cgw
net.minecraft.world.level.biome.Biome
net.minecraft.class_1959
net.minecraft.world.biome.Biome
net.minecraft.src.C_1629_
net.minecraft.world.level.biome.BiomeBase

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<Biome>
a
DIRECT_CODEC
field_25819
CODEC
f_47429_
public static final com.mojang.serialization.Codec<Biome>
b
NETWORK_CODEC
field_26633
NETWORK_CODEC
f_47430_
public static final com.mojang.serialization.Codec<Holder<Biome>>
c
CODEC
field_24677
REGISTRY_CODEC
f_47431_
public static final com.mojang.serialization.Codec<HolderSet<Biome>>
d
LIST_CODEC
field_26750
REGISTRY_ENTRY_LIST_CODEC
f_47432_
private static final PerlinSimplexNoise
f
TEMPERATURE_NOISE
field_9335
TEMPERATURE_NOISE
f_47435_
static final PerlinSimplexNoise
g
FROZEN_TEMPERATURE_NOISE
field_26392
FROZEN_OCEAN_NOISE
f_47436_
public static final PerlinSimplexNoise
e
BIOME_INFO_NOISE
field_9324
FOLIAGE_NOISE
f_47433_
private static final int
h
TEMPERATURE_CACHE_SIZE
field_30978
MAX_TEMPERATURE_CACHE_SIZE
f_151655_
private final Biome$ClimateSettings
i
climateSettings
field_26393
weather
f_47437_
private final BiomeGenerationSettings
j
generationSettings
field_26635
generationSettings
f_47438_
private final MobSpawnSettings
k
mobSettings
field_26395
spawnSettings
f_47439_
private final BiomeSpecialEffects
l
specialEffects
field_22039
effects
f_47443_
private final ThreadLocal<it.unimi.dsi.fastutil.longs.Long2FloatLinkedOpenHashMap>
m
temperatureCache
field_20335
temperatureCache
f_47444_

Constructor summary

ModifierConstructor
(Biome$ClimateSettings weather, BiomeSpecialEffects effects, BiomeGenerationSettings generationSettings, MobSpawnSettings spawnSettings)

Method summary

Modifier and TypeMethod
public int
a()
getSkyColor()
method_8697()
getSkyColor()
m_47463_()
public MobSpawnSettings
b()
getMobSettings()
method_30966()
getSpawnSettings()
m_47518_()
public Biome$Precipitation
c()
getPrecipitation()
method_8694()
getPrecipitation()
m_47530_()
public boolean
d()
isHumid()
method_8724()
hasHighHumidity()
m_47533_()
private float
e(gt arg0)
getHeightAdjustedTemperature(BlockPos arg0)
method_8707(class_2338 arg0)
computeTemperature(BlockPos pos)
m_47528_(C_4675_ arg0)
private float
f(gt arg0)
getTemperature(BlockPos arg0)
method_21740(class_2338 arg0)
getTemperature(BlockPos blockPos)
m_47505_(C_4675_ arg0)
public boolean
a(cgd arg0, gt arg1)
shouldFreeze(LevelReader arg0, BlockPos arg1)
method_8705(class_4538 arg0, class_2338 arg1)
canSetIce(WorldView world, BlockPos blockPos)
m_47477_(C_1599_ p_47479_, C_4675_ arg1)
public boolean
a(cgd arg0, gt arg1, boolean arg2)
shouldFreeze(LevelReader arg0, BlockPos arg1, boolean arg2)
method_8685(class_4538 arg0, class_2338 arg1, boolean arg2)
canSetIce(WorldView world, BlockPos pos, boolean doWaterCheck)
m_47480_(C_1599_ p_47482_, C_4675_ p_47483_, boolean arg2)
public boolean
a(gt arg0)
coldEnoughToSnow(BlockPos arg0)
method_33599(class_2338 arg0)
isCold(BlockPos pos)
m_198904_(C_4675_ arg0)
public boolean
b(gt arg0)
warmEnoughToRain(BlockPos arg0)
method_39927(class_2338 arg0)
doesNotSnow(BlockPos pos)
m_198906_(C_4675_ arg0)
public boolean
c(gt arg0)
shouldMeltFrozenOceanIcebergSlightly(BlockPos arg0)
method_39928(class_2338 arg0)
shouldGenerateLowerFrozenOceanSurface(BlockPos pos)
m_198908_(C_4675_ arg0)
public boolean
d(gt arg0)
shouldSnowGolemBurn(BlockPos arg0)
method_39929(class_2338 arg0)
isHot(BlockPos pos)
m_198910_(C_4675_ arg0)
public boolean
b(cgd arg0, gt arg1)
shouldSnow(LevelReader arg0, BlockPos arg1)
method_8696(class_4538 arg0, class_2338 arg1)
canSetSnow(WorldView world, BlockPos pos)
m_47519_(C_1599_ p_47521_, C_4675_ arg1)
public BiomeGenerationSettings
e()
getGenerationSettings()
method_30970()
getGenerationSettings()
m_47536_()
public int
f()
getFogColor()
method_24376()
getFogColor()
m_47539_()
public int
a(double arg0, double arg1)
getGrassColor(double arg0, double arg1)
method_8711(double arg0, double arg1)
getGrassColorAt(double x, double z)
m_47464_(double p_47466_, double arg1)
private int
r()
getGrassColorFromTexture()
method_30773()
getDefaultGrassColor()
m_47570_()
public int
g()
getFoliageColor()
method_8698()
getFoliageColor()
m_47542_()
private int
s()
getFoliageColorFromTexture()
method_30774()
getDefaultFoliageColor()
m_47571_()
public float
h()
getDownfall()
method_8715()
getDownfall()
m_47548_()
public float
i()
getBaseTemperature()
method_8712()
getTemperature()
m_47554_()
public BiomeSpecialEffects
j()
getSpecialEffects()
method_24377()
getEffects()
m_47557_()
public int
k()
getWaterColor()
method_8687()
getWaterColor()
m_47560_()
public int
l()
getWaterFogColor()
method_8713()
getWaterFogColor()
m_47561_()
public Optional<AmbientParticleSettings>
m()
getAmbientParticle()
method_24378()
getParticleConfig()
m_47562_()
public Optional<SoundEvent>
n()
getAmbientLoop()
method_24935()
getLoopSound()
m_47563_()
public Optional<AmbientMoodSettings>
o()
getAmbientMood()
method_24936()
getMoodSound()
m_47564_()
public Optional<AmbientAdditionsSettings>
p()
getAmbientAdditions()
method_24937()
getAdditionsSound()
m_47565_()
public Optional<Music>
q()
getBackgroundMusic()
method_27343()
getMusic()
m_47566_()