@Environment(value=CLIENT) public abstract class MovingSoundInstance extends AbstractSoundInstance implements TickableSoundInstance
SoundInstance.AttenuationType
Modifier and Type | Field and Description |
---|---|
private boolean |
done |
attenuationType, category, field_18935, id, looping, pitch, repeat, repeatDelay, sound, volume, x, y, z
Modifier | Constructor and Description |
---|---|
protected |
MovingSoundInstance(SoundEvent sound,
SoundCategory category) |
Modifier and Type | Method and Description |
---|---|
boolean |
isDone() |
protected void |
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
tick
canPlay, getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable, shouldAlwaysPlay
protected MovingSoundInstance(SoundEvent sound, SoundCategory category)
public boolean isDone()
isDone
in interface TickableSoundInstance
protected final void setDone()