@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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittickcanPlay, getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable, shouldAlwaysPlayprotected MovingSoundInstance(SoundEvent sound, SoundCategory category)
public boolean isDone()
isDone in interface TickableSoundInstanceprotected final void setDone()