Package net.minecraft.client.sound
Class AmbientSoundLoops.Underwater
java.lang.Object
net.minecraft.client.sound.AbstractSoundInstance
net.minecraft.client.sound.MovingSoundInstance
net.minecraft.client.sound.AmbientSoundLoops.Underwater
- All Implemented Interfaces:
SoundInstance,TickableSoundInstance
- Enclosing class:
- AmbientSoundLoops
@Environment(CLIENT) public static class AmbientSoundLoops.Underwater extends MovingSoundInstance
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType -
Field Summary
Fields Modifier and Type Field Description private ClientPlayerEntityplayerprivate inttransitionTimerFields inherited from class net.minecraft.client.sound.AbstractSoundInstance
attenuationType, category, field_18935, id, looping, pitch, repeat, repeatDelay, sound, volume, x, y, z -
Constructor Summary
Constructors Constructor Description Underwater(ClientPlayerEntity clientPlayerEntity) -
Method Summary
Modifier and Type Method Description voidtick()Methods inherited from class net.minecraft.client.sound.MovingSoundInstance
isDone, setDoneMethods inherited from class net.minecraft.client.sound.AbstractSoundInstance
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.client.sound.SoundInstance
canPlay, getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable, shouldAlwaysPlay
-
Field Details
-
player
-
transitionTimer
private int transitionTimer
-
-
Constructor Details
-
Underwater
-
-
Method Details
-
tick
public void tick()
-