net.minecraft.world.level.biome

public final class Biome

cnk
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 boolean
c()
hasPrecipitation()
method_48163()
hasPrecipitation()
m_264473_()
public Biome$Precipitation
a(gu arg0)
getPrecipitationAt(BlockPos arg0)
method_48162(class_2338 arg0)
getPrecipitation(BlockPos pos)
m_264600_(C_4675_ arg0)
private float
e(gu arg0)
getHeightAdjustedTemperature(BlockPos arg0)
method_8707(class_2338 arg0)
computeTemperature(BlockPos pos)
m_47528_(C_4675_ arg0)
private float
f(gu arg0)
getTemperature(BlockPos arg0)
method_21740(class_2338 arg0)
getTemperature(BlockPos blockPos)
m_47505_(C_4675_ arg0)
public boolean
a(cmp arg0, gu 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(cmp arg0, gu 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
b(gu arg0)
coldEnoughToSnow(BlockPos arg0)
method_33599(class_2338 arg0)
isCold(BlockPos pos)
m_198904_(C_4675_ arg0)
public boolean
c(gu arg0)
warmEnoughToRain(BlockPos arg0)
method_39927(class_2338 arg0)
doesNotSnow(BlockPos pos)
m_198906_(C_4675_ arg0)
public boolean
d(gu arg0)
shouldMeltFrozenOceanIcebergSlightly(BlockPos arg0)
method_39928(class_2338 arg0)
shouldGenerateLowerFrozenOceanSurface(BlockPos pos)
m_198908_(C_4675_ arg0)
public boolean
b(cmp arg0, gu 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
d()
getGenerationSettings()
method_30970()
getGenerationSettings()
m_47536_()
public int
e()
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
p()
getGrassColorFromTexture()
method_30773()
getDefaultGrassColor()
m_47570_()
public int
f()
getFoliageColor()
method_8698()
getFoliageColor()
m_47542_()
private int
q()
getFoliageColorFromTexture()
method_30774()
getDefaultFoliageColor()
m_47571_()
public float
g()
getBaseTemperature()
method_8712()
getTemperature()
m_47554_()
public BiomeSpecialEffects
h()
getSpecialEffects()
method_24377()
getEffects()
m_47557_()
public int
i()
getWaterColor()
method_8687()
getWaterColor()
m_47560_()
public int
j()
getWaterFogColor()
method_8713()
getWaterFogColor()
m_47561_()
public Optional<AmbientParticleSettings>
k()
getAmbientParticle()
method_24378()
getParticleConfig()
m_47562_()
public Optional<Holder<SoundEvent>>
l()
getAmbientLoop()
method_24935()
getLoopSound()
m_47563_()
public Optional<AmbientMoodSettings>
m()
getAmbientMood()
method_24936()
getMoodSound()
m_47564_()
public Optional<AmbientAdditionsSettings>
n()
getAmbientAdditions()
method_24937()
getAdditionsSound()
m_47565_()
public Optional<Music>
o()
getBackgroundMusic()
method_27343()
getMusic()
m_47566_()