net.minecraft.client.resources.sounds

public class BiomeAmbientSoundsHandler

implements AmbientSoundHandler

gsd
net.minecraft.client.resources.sounds.BiomeAmbientSoundsHandler
net.minecraft.class_4897
net.minecraft.client.sound.BiomeEffectSoundPlayer
net.minecraft.src.C_4553_

Field summary

Modifier and TypeField
private static final int
a
LOOP_SOUND_CROSS_FADE_TIME
field_32994
MAX_STRENGTH
f_174920_
private static final float
b
SKY_MOOD_RECOVERY_RATE
field_32995
field_32995
f_174921_
private final LocalPlayer
c
player
field_22796
player
f_119629_
private final SoundManager
d
soundManager
field_22797
soundManager
f_119630_
private final BiomeManager
e
biomeManager
field_22798
biomeAccess
f_119631_
private final RandomSource
f
random
field_22799
random
f_119632_
private final it.unimi.dsi.fastutil.objects.Object2ObjectArrayMap<Biome, BiomeAmbientSoundsHandler$LoopSoundInstance>
g
loopSounds
field_22800
soundLoops
f_119633_
private Optional<AmbientMoodSettings>
h
moodSettings
field_22801
moodSound
f_119634_
private Optional<AmbientAdditionsSettings>
i
additionsSettings
field_22802
additionsSound
f_119635_
private float
j
moodiness
field_23189
moodPercentage
f_119636_
private Biome
k
previousBiome
field_22804
activeBiome
f_119637_

Constructor summary

ModifierConstructor
public (LocalPlayer player, SoundManager soundManager, BiomeManager biomeAccess)

Method summary

Modifier and TypeMethod
public float
b()
getMoodiness()
method_26272()
getMoodPercentage()
m_119654_()
public void
a()
tick()
method_4756()
tick()
m_7551_()