net.minecraft.world.level.biome

public final class Biome

dhl
net.minecraft.world.level.biome.Biome
net.minecraft.class_1959
net.minecraft.world.biome.Biome
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
public static final com.mojang.serialization.Codec<Biome>
b
NETWORK_CODEC
field_26633
NETWORK_CODEC
public static final com.mojang.serialization.Codec<Holder<Biome>>
c
CODEC
field_24677
REGISTRY_CODEC
public static final com.mojang.serialization.Codec<HolderSet<Biome>>
d
LIST_CODEC
field_26750
REGISTRY_ENTRY_LIST_CODEC
private static final PerlinSimplexNoise
f
TEMPERATURE_NOISE
field_9335
TEMPERATURE_NOISE
static final PerlinSimplexNoise
g
FROZEN_TEMPERATURE_NOISE
field_26392
FROZEN_OCEAN_NOISE
public static final PerlinSimplexNoise
e
BIOME_INFO_NOISE
field_9324
FOLIAGE_NOISE
private static final int
h
TEMPERATURE_CACHE_SIZE
field_30978
MAX_TEMPERATURE_CACHE_SIZE
private final Biome$ClimateSettings
i
climateSettings
field_26393
weather
private final BiomeGenerationSettings
j
generationSettings
field_26635
generationSettings
private final MobSpawnSettings
k
mobSettings
field_26395
spawnSettings
private final BiomeSpecialEffects
l
specialEffects
field_22039
effects
private final ThreadLocal<it.unimi.dsi.fastutil.longs.Long2FloatLinkedOpenHashMap>
m
temperatureCache
field_20335
temperatureCache

Constructor summary

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

Method summary

Modifier and TypeMethod
public int
a()
getSkyColor()
method_8697()
getSkyColor()
public MobSpawnSettings
b()
getMobSettings()
method_30966()
getSpawnSettings()
public boolean
c()
hasPrecipitation()
method_48163()
hasPrecipitation()
public Biome$Precipitation
a(ji arg0, int arg1)
getPrecipitationAt(BlockPos arg0, int arg1)
method_48162(class_2338 arg0, int arg1)
getPrecipitation(BlockPos pos, int seaLevel)
private float
e(ji arg0, int arg1)
getHeightAdjustedTemperature(BlockPos arg0, int arg1)
method_8707(class_2338 arg0, int arg1)
computeTemperature(BlockPos pos, int seaLevel)
private float
f(ji arg0, int arg1)
getTemperature(BlockPos arg0, int arg1)
method_21740(class_2338 arg0, int arg1)
getTemperature(BlockPos blockPos, int seaLevel)
public boolean
a(dgm arg0, ji arg1)
shouldFreeze(LevelReader arg0, BlockPos arg1)
method_8705(class_4538 arg0, class_2338 arg1)
canSetIce(WorldView world, BlockPos blockPos)
public boolean
a(dgm arg0, ji 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)
public boolean
b(ji arg0, int arg1)
coldEnoughToSnow(BlockPos arg0, int arg1)
method_33599(class_2338 arg0, int arg1)
isCold(BlockPos pos, int seaLevel)
public boolean
c(ji arg0, int arg1)
warmEnoughToRain(BlockPos arg0, int arg1)
method_39927(class_2338 arg0, int arg1)
doesNotSnow(BlockPos pos, int seaLevel)
public boolean
d(ji arg0, int arg1)
shouldMeltFrozenOceanIcebergSlightly(BlockPos arg0, int arg1)
method_39928(class_2338 arg0, int arg1)
shouldGenerateLowerFrozenOceanSurface(BlockPos pos, int seaLevel)
public boolean
b(dgm arg0, ji arg1)
shouldSnow(LevelReader arg0, BlockPos arg1)
method_8696(class_4538 arg0, class_2338 arg1)
canSetSnow(WorldView world, BlockPos pos)
public BiomeGenerationSettings
d()
getGenerationSettings()
method_30970()
getGenerationSettings()
public int
e()
getFogColor()
method_24376()
getFogColor()
public int
a(double arg0, double arg1)
getGrassColor(double arg0, double arg1)
method_8711(double arg0, double arg1)
getGrassColorAt(double x, double z)
private int
q()
getGrassColorFromTexture()
method_30773()
getDefaultGrassColor()
public int
f()
getFoliageColor()
method_8698()
getFoliageColor()
private int
r()
getFoliageColorFromTexture()
method_30774()
getDefaultFoliageColor()
public float
g()
getBaseTemperature()
method_8712()
getTemperature()
public BiomeSpecialEffects
h()
getSpecialEffects()
method_24377()
getEffects()
public int
i()
getWaterColor()
method_8687()
getWaterColor()
public int
j()
getWaterFogColor()
method_8713()
getWaterFogColor()
public Optional<AmbientParticleSettings>
k()
getAmbientParticle()
method_24378()
getParticleConfig()
public Optional<Holder<SoundEvent>>
l()
getAmbientLoop()
method_24935()
getLoopSound()
public Optional<AmbientMoodSettings>
m()
getAmbientMood()
method_24936()
getMoodSound()
public Optional<AmbientAdditionsSettings>
n()
getAmbientAdditions()
method_24937()
getAdditionsSound()
public Optional<SimpleWeightedRandomList<Music>>
o()
getBackgroundMusic()
method_27343()
getMusic()
public float
p()
getBackgroundMusicVolume()
method_65133()
getMusicVolume()