Package net.minecraft.client.sound
Class BiomeEffectSoundPlayer
java.lang.Object
net.minecraft.client.sound.BiomeEffectSoundPlayer
- All Implemented Interfaces:
ClientPlayerTickable
@Environment(CLIENT)
public class BiomeEffectSoundPlayer
extends Object
implements ClientPlayerTickable
- Mappings:
Namespace Name named net/minecraft/client/sound/BiomeEffectSoundPlayer
intermediary net/minecraft/class_4897
official gsc
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate Optional
<BiomeAdditionsSound> private final BiomeAccess
private static final float
private static final int
private float
private Optional
<BiomeMoodSound> private final ClientPlayerEntity
private final Random
private final Object2ObjectArrayMap
<Biome, BiomeEffectSoundPlayer.MusicLoop> private final SoundManager
-
Constructor Summary
ConstructorDescriptionBiomeEffectSoundPlayer
(ClientPlayerEntity player, SoundManager soundManager, BiomeAccess biomeAccess) -
Method Summary
-
Field Details
-
MAX_STRENGTH
private static final int MAX_STRENGTH- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_STRENGTH
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;MAX_STRENGTH:I
intermediary field_32994
Lnet/minecraft/class_4897;field_32994:I
official a
Lgsc;a:I
-
field_32995
private static final float field_32995- See Also:
- Mappings:
Namespace Name Mixin selector named field_32995
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;field_32995:F
intermediary field_32995
Lnet/minecraft/class_4897;field_32995:F
official b
Lgsc;b:F
-
player
- Mappings:
Namespace Name Mixin selector named player
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;player:Lnet/minecraft/client/network/ClientPlayerEntity;
intermediary field_22796
Lnet/minecraft/class_4897;field_22796:Lnet/minecraft/class_746;
official c
Lgsc;c:Lgcr;
-
soundManager
- Mappings:
Namespace Name Mixin selector named soundManager
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;soundManager:Lnet/minecraft/client/sound/SoundManager;
intermediary field_22797
Lnet/minecraft/class_4897;field_22797:Lnet/minecraft/class_1144;
official d
Lgsc;d:Lgtw;
-
biomeAccess
- Mappings:
Namespace Name Mixin selector named biomeAccess
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;biomeAccess:Lnet/minecraft/world/biome/source/BiomeAccess;
intermediary field_22798
Lnet/minecraft/class_4897;field_22798:Lnet/minecraft/class_4543;
official e
Lgsc;e:Ldda;
-
random
- Mappings:
Namespace Name Mixin selector named random
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;random:Lnet/minecraft/util/math/random/Random;
intermediary field_22799
Lnet/minecraft/class_4897;field_22799:Lnet/minecraft/class_5819;
official f
Lgsc;f:Lazh;
-
soundLoops
- Mappings:
Namespace Name Mixin selector named soundLoops
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;soundLoops:Lit/unimi/dsi/fastutil/objects/Object2ObjectArrayMap;
intermediary field_22800
Lnet/minecraft/class_4897;field_22800:Lit/unimi/dsi/fastutil/objects/Object2ObjectArrayMap;
official g
Lgsc;g:Lit/unimi/dsi/fastutil/objects/Object2ObjectArrayMap;
-
moodSound
- Mappings:
Namespace Name Mixin selector named moodSound
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;moodSound:Ljava/util/Optional;
intermediary field_22801
Lnet/minecraft/class_4897;field_22801:Ljava/util/Optional;
official h
Lgsc;h:Ljava/util/Optional;
-
additionsSound
- Mappings:
Namespace Name Mixin selector named additionsSound
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;additionsSound:Ljava/util/Optional;
intermediary field_22802
Lnet/minecraft/class_4897;field_22802:Ljava/util/Optional;
official i
Lgsc;i:Ljava/util/Optional;
-
moodPercentage
private float moodPercentage- Mappings:
Namespace Name Mixin selector named moodPercentage
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;moodPercentage:F
intermediary field_23189
Lnet/minecraft/class_4897;field_23189:F
official j
Lgsc;j:F
-
activeBiome
- Mappings:
Namespace Name Mixin selector named activeBiome
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;activeBiome:Lnet/minecraft/world/biome/Biome;
intermediary field_22804
Lnet/minecraft/class_4897;field_22804:Lnet/minecraft/class_1959;
official k
Lgsc;k:Ldcy;
-
-
Constructor Details
-
BiomeEffectSoundPlayer
public BiomeEffectSoundPlayer(ClientPlayerEntity player, SoundManager soundManager, BiomeAccess biomeAccess) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;<init>(Lnet/minecraft/client/network/ClientPlayerEntity;Lnet/minecraft/client/sound/SoundManager;Lnet/minecraft/world/biome/source/BiomeAccess;)V
intermediary <init>
Lnet/minecraft/class_4897;<init>(Lnet/minecraft/class_746;Lnet/minecraft/class_1144;Lnet/minecraft/class_4543;)V
official <init>
Lgsc;<init>(Lgcr;Lgtw;Ldda;)V
-
-
Method Details
-
getMoodPercentage
public float getMoodPercentage()- Mappings:
Namespace Name Mixin selector named getMoodPercentage
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;getMoodPercentage()F
intermediary method_26272
Lnet/minecraft/class_4897;method_26272()F
official b
Lgsc;b()F
-
tick
public void tick()- Specified by:
tick
in interfaceClientPlayerTickable
- Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/client/util/ClientPlayerTickable;tick()V
intermediary method_4756
Lnet/minecraft/class_1104;method_4756()V
official a
Lgry;a()V
-