Package net.minecraft.client.sound
Class AmbientSoundPlayer
java.lang.Object
net.minecraft.client.sound.AmbientSoundPlayer
- All Implemented Interfaces:
ClientPlayerTickable
@Environment(CLIENT) public class AmbientSoundPlayer extends Object implements ClientPlayerTickable
- Mappings:
Namespace Name official eun
intermediary net/minecraft/class_1116
named net/minecraft/client/sound/AmbientSoundPlayer
-
Field Summary
Fields Modifier and Type Field Description private ClientPlayerEntity
player
private SoundManager
soundManager
private int
ticksUntilPlay
-
Constructor Summary
Constructors Constructor Description AmbientSoundPlayer(ClientPlayerEntity player, SoundManager soundManager)
-
Method Summary
Modifier and Type Method Description void
tick()
-
Field Details
-
player
- Mappings:
Namespace Name Mixin selector official a
Leun;a:Legw;
intermediary field_5481
Lnet/minecraft/class_1116;field_5481:Lnet/minecraft/class_746;
named player
Lnet/minecraft/client/sound/AmbientSoundPlayer;player:Lnet/minecraft/client/network/ClientPlayerEntity;
-
soundManager
- Mappings:
Namespace Name Mixin selector official b
Leun;b:Levm;
intermediary field_5479
Lnet/minecraft/class_1116;field_5479:Lnet/minecraft/class_1144;
named soundManager
Lnet/minecraft/client/sound/AmbientSoundPlayer;soundManager:Lnet/minecraft/client/sound/SoundManager;
-
ticksUntilPlay
private int ticksUntilPlay- Mappings:
Namespace Name Mixin selector official c
Leun;c:I
intermediary field_5480
Lnet/minecraft/class_1116;field_5480:I
named ticksUntilPlay
Lnet/minecraft/client/sound/AmbientSoundPlayer;ticksUntilPlay:I
-
-
Constructor Details
-
AmbientSoundPlayer
- Mappings:
Namespace Name Mixin selector official <init>
Leun;<init>(Legw;Levm;)V
intermediary <init>
Lnet/minecraft/class_1116;<init>(Lnet/minecraft/class_746;Lnet/minecraft/class_1144;)V
named <init>
Lnet/minecraft/client/sound/AmbientSoundPlayer;<init>(Lnet/minecraft/client/network/ClientPlayerEntity;Lnet/minecraft/client/sound/SoundManager;)V
-
-
Method Details
-
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
-