@Environment(value=CLIENT) public class ElytraSoundInstance extends MovingSoundInstance
SoundInstance.AttenuationType
Modifier and Type | Field and Description |
---|---|
private ClientPlayerEntity |
player |
private int |
tickCount |
attenuationType, category, field_18935, id, looping, pitch, repeat, repeatDelay, sound, volume, x, y, z
Constructor and Description |
---|
ElytraSoundInstance(ClientPlayerEntity player) |
Modifier and Type | Method and Description |
---|---|
void |
tick() |
isDone, setDone
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canPlay, getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable, shouldAlwaysPlay
private final ClientPlayerEntity player
private int tickCount
public ElytraSoundInstance(ClientPlayerEntity player)