@Environment(value=CLIENT) public class AmbientSoundPlayer extends Object implements ClientPlayerTickable
Modifier and Type | Field and Description |
---|---|
private ClientPlayerEntity |
player |
private SoundManager |
soundManager |
private int |
ticksUntilPlay |
Constructor and Description |
---|
AmbientSoundPlayer(ClientPlayerEntity player,
SoundManager soundManager) |
private final ClientPlayerEntity player
private final SoundManager soundManager
private int ticksUntilPlay
public AmbientSoundPlayer(ClientPlayerEntity player, SoundManager soundManager)
public void tick()
tick
in interface ClientPlayerTickable