Package net.minecraft.client.audio
Class BiomeSoundHandler
java.lang.Object
net.minecraft.client.audio.BiomeSoundHandler
- All Implemented Interfaces:
IAmbientSoundHandler
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate Optional<SoundAdditionsAmbience>
private final BiomeManager
private it.unimi.dsi.fastutil.objects.Object2ObjectArrayMap<Biome,
BiomeSoundHandler.Sound> private float
private Optional<MoodSoundAmbience>
private final ClientPlayerEntity
private Biome
private final Random
private final SoundHandler
-
Constructor Summary
ConstructorDescriptionBiomeSoundHandler
(ClientPlayerEntity p_i232488_1_, SoundHandler p_i232488_2_, BiomeManager p_i232488_3_) -
Method Summary
-
Field Details
-
player
-
soundManager
-
biomeManager
-
random
-
loopSounds
private it.unimi.dsi.fastutil.objects.Object2ObjectArrayMap<Biome,BiomeSoundHandler.Sound> loopSounds -
moodSettings
-
additionsSettings
-
moodiness
private float moodiness -
previousBiome
-
-
Constructor Details
-
BiomeSoundHandler
public BiomeSoundHandler(ClientPlayerEntity p_i232488_1_, SoundHandler p_i232488_2_, BiomeManager p_i232488_3_)
-
-
Method Details
-
getMoodiness
public float getMoodiness() -
tick
public void tick()- Specified by:
tick
in interfaceIAmbientSoundHandler
-