Class BiomeAmbientSoundsHandler
java.lang.Object
net.minecraft.client.resources.sounds.BiomeAmbientSoundsHandler
- All Implemented Interfaces:
- AmbientSoundHandler
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate Optional<AmbientAdditionsSettings>private final BiomeManagerprivate static final intprivate final it.unimi.dsi.fastutil.objects.Object2ObjectArrayMap<Biome,BiomeAmbientSoundsHandler.LoopSoundInstance> private floatprivate Optional<AmbientMoodSettings>private final LocalPlayerprivate Biomeprivate final RandomSourceprivate static final floatprivate final SoundManager
- 
Constructor SummaryConstructorsConstructorDescriptionBiomeAmbientSoundsHandler(LocalPlayer p_119639_, SoundManager p_119640_, BiomeManager p_119641_) 
- 
Method Summary
- 
Field Details- 
LOOP_SOUND_CROSS_FADE_TIMEprivate static final int LOOP_SOUND_CROSS_FADE_TIME- See Also:
 
- 
SKY_MOOD_RECOVERY_RATEprivate static final float SKY_MOOD_RECOVERY_RATE- See Also:
 
- 
player
- 
soundManager
- 
biomeManager
- 
random
- 
loopSoundsprivate final it.unimi.dsi.fastutil.objects.Object2ObjectArrayMap<Biome,BiomeAmbientSoundsHandler.LoopSoundInstance> loopSounds
- 
moodSettings
- 
additionsSettings
- 
moodinessprivate float moodiness
- 
previousBiome
 
- 
- 
Constructor Details- 
BiomeAmbientSoundsHandlerpublic BiomeAmbientSoundsHandler(LocalPlayer p_119639_, SoundManager p_119640_, BiomeManager p_119641_) 
 
- 
- 
Method Details- 
getMoodinesspublic float getMoodiness()
- 
tickpublic void tick()- Specified by:
- tickin interface- AmbientSoundHandler
 
 
-