public static class UnderwaterAmbientSounds.UnderWaterSound extends TickableSound
ISound.AttenuationType
Modifier and Type | Field and Description |
---|---|
private ClientPlayerEntity |
player |
private int |
ticksInWater |
donePlaying
attenuationType, category, global, pitch, positionedSoundLocation, priority, repeat, repeatDelay, sound, volume, x, y, z
Constructor and Description |
---|
UnderWaterSound(ClientPlayerEntity playerIn) |
Modifier and Type | Method and Description |
---|---|
void |
tick() |
isDonePlaying
canRepeat, createAccessor, getAttenuationType, getCategory, getPitch, getRepeatDelay, getSound, getSoundLocation, getVolume, getX, getY, getZ, isGlobal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canBeSilent, canRepeat, createAccessor, getAttenuationType, getCategory, getPitch, getRepeatDelay, getSound, getSoundLocation, getVolume, getX, getY, getZ, isGlobal
private final ClientPlayerEntity player
private int ticksInWater
public UnderWaterSound(ClientPlayerEntity playerIn)