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 official eua
intermediary net/minecraft/class_4897
named net/minecraft/client/sound/BiomeEffectSoundPlayer
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BiomeEffectSoundPlayer.MusicLoop
-
Field Summary
Fields Modifier and Type Field Description private Biome
activeBiome
private Optional<BiomeAdditionsSound>
additionsSound
private BiomeAccess
biomeAccess
private float
moodPercentage
private Optional<BiomeMoodSound>
moodSound
private ClientPlayerEntity
player
private Random
random
private Object2ObjectArrayMap<Biome,BiomeEffectSoundPlayer.MusicLoop>
soundLoops
private SoundManager
soundManager
-
Constructor Summary
Constructors Constructor Description BiomeEffectSoundPlayer(ClientPlayerEntity player, SoundManager soundManager, BiomeAccess biomeAccess)
-
Method Summary
Modifier and Type Method Description float
getMoodPercentage()
void
tick()
-
Field Details
-
player
- Mappings:
Namespace Name Mixin selector official a
Leua;a:Legw;
intermediary field_22796
Lnet/minecraft/class_4897;field_22796:Lnet/minecraft/class_746;
named player
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;player:Lnet/minecraft/client/network/ClientPlayerEntity;
-
soundManager
- Mappings:
Namespace Name Mixin selector official b
Leua;b:Levm;
intermediary field_22797
Lnet/minecraft/class_4897;field_22797:Lnet/minecraft/class_1144;
named soundManager
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;soundManager:Lnet/minecraft/client/sound/SoundManager;
-
biomeAccess
- Mappings:
Namespace Name Mixin selector official c
Leua;c:Lbuw;
intermediary field_22798
Lnet/minecraft/class_4897;field_22798:Lnet/minecraft/class_4543;
named biomeAccess
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;biomeAccess:Lnet/minecraft/world/biome/source/BiomeAccess;
-
random
- Mappings:
Namespace Name Mixin selector official d
Leua;d:Ljava/util/Random;
intermediary field_22799
Lnet/minecraft/class_4897;field_22799:Ljava/util/Random;
named random
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;random:Ljava/util/Random;
-
soundLoops
- Mappings:
Namespace Name Mixin selector official e
Leua;e:Lit/unimi/dsi/fastutil/objects/Object2ObjectArrayMap;
intermediary field_22800
Lnet/minecraft/class_4897;field_22800:Lit/unimi/dsi/fastutil/objects/Object2ObjectArrayMap;
named soundLoops
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;soundLoops:Lit/unimi/dsi/fastutil/objects/Object2ObjectArrayMap;
-
moodSound
- Mappings:
Namespace Name Mixin selector official f
Leua;f:Ljava/util/Optional;
intermediary field_22801
Lnet/minecraft/class_4897;field_22801:Ljava/util/Optional;
named moodSound
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;moodSound:Ljava/util/Optional;
-
additionsSound
- Mappings:
Namespace Name Mixin selector official g
Leua;g:Ljava/util/Optional;
intermediary field_22802
Lnet/minecraft/class_4897;field_22802:Ljava/util/Optional;
named additionsSound
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;additionsSound:Ljava/util/Optional;
-
moodPercentage
private float moodPercentage- Mappings:
Namespace Name Mixin selector official h
Leua;h:F
intermediary field_23189
Lnet/minecraft/class_4897;field_23189:F
named moodPercentage
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;moodPercentage:F
-
activeBiome
- Mappings:
Namespace Name Mixin selector official i
Leua;i:Lbuu;
intermediary field_22804
Lnet/minecraft/class_4897;field_22804:Lnet/minecraft/class_1959;
named activeBiome
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;activeBiome:Lnet/minecraft/world/biome/Biome;
-
-
Constructor Details
-
BiomeEffectSoundPlayer
public BiomeEffectSoundPlayer(ClientPlayerEntity player, SoundManager soundManager, BiomeAccess biomeAccess)- Mappings:
Namespace Name Mixin selector official <init>
Leua;<init>(Legw;Levm;Lbuw;)V
intermediary <init>
Lnet/minecraft/class_4897;<init>(Lnet/minecraft/class_746;Lnet/minecraft/class_1144;Lnet/minecraft/class_4543;)V
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
-
-
Method Details
-
getMoodPercentage
public float getMoodPercentage()- Mappings:
Namespace Name Mixin selector official b
Leua;b()F
intermediary method_26272
Lnet/minecraft/class_4897;method_26272()F
named getMoodPercentage
Lnet/minecraft/client/sound/BiomeEffectSoundPlayer;getMoodPercentage()F
-
tick
public void tick()- Specified by:
tick
in interfaceClientPlayerTickable
- Mappings:
Namespace Name Mixin selector official a
Letw;a()V
intermediary method_4756
Lnet/minecraft/class_1104;method_4756()V
named tick
Lnet/minecraft/client/util/ClientPlayerTickable;tick()V
-