Class BiomeAmbientSoundsHandler
java.lang.Object
net.minecraft.client.resources.sounds.BiomeAmbientSoundsHandler
- All Implemented Interfaces:
AmbientSoundHandler
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate Optional
<AmbientAdditionsSettings> private final BiomeManager
private static final int
private final it.unimi.dsi.fastutil.objects.Object2ObjectArrayMap
<Biome, BiomeAmbientSoundsHandler.LoopSoundInstance> private float
private Optional
<AmbientMoodSettings> private final LocalPlayer
private Biome
private final RandomSource
private static final float
private final SoundManager
-
Constructor Summary
ConstructorDescriptionBiomeAmbientSoundsHandler
(LocalPlayer p_119639_, SoundManager p_119640_, BiomeManager p_119641_) -
Method Summary
-
Field Details
-
LOOP_SOUND_CROSS_FADE_TIME
private static final int LOOP_SOUND_CROSS_FADE_TIME- See Also:
-
SKY_MOOD_RECOVERY_RATE
private static final float SKY_MOOD_RECOVERY_RATE- See Also:
-
player
-
soundManager
-
biomeManager
-
random
-
loopSounds
private final it.unimi.dsi.fastutil.objects.Object2ObjectArrayMap<Biome,BiomeAmbientSoundsHandler.LoopSoundInstance> loopSounds -
moodSettings
-
additionsSettings
-
moodiness
private float moodiness -
previousBiome
-
-
Constructor Details
-
BiomeAmbientSoundsHandler
public BiomeAmbientSoundsHandler(LocalPlayer p_119639_, SoundManager p_119640_, BiomeManager p_119641_)
-
-
Method Details
-
getMoodiness
public float getMoodiness() -
tick
public void tick()- Specified by:
tick
in interfaceAmbientSoundHandler
-