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 BiomeManager
private static int
private it.unimi.dsi.fastutil.objects.Object2ObjectArrayMap<Biome,BiomeAmbientSoundsHandler.LoopSoundInstance>
private float
private Optional<AmbientMoodSettings>
private LocalPlayer
private Biome
private Random
private static float
private 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:
- Constant Field Values
-
SKY_MOOD_RECOVERY_RATE
private static final float SKY_MOOD_RECOVERY_RATE- See Also:
- Constant Field Values
-
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
-