@Environment(value=CLIENT) public class EntityTrackingSoundInstance extends MovingSoundInstance
SoundInstance.AttenuationType| Modifier and Type | Field and Description |
|---|---|
private Entity |
entity |
attenuationType, category, field_18935, id, looping, pitch, repeat, repeatDelay, sound, volume, x, y, z| Constructor and Description |
|---|
EntityTrackingSoundInstance(SoundEvent sound,
SoundCategory soundCategory,
Entity entity) |
EntityTrackingSoundInstance(SoundEvent sound,
SoundCategory soundCategory,
float volume,
float pitch,
Entity entity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPlay() |
void |
tick() |
isDone, setDonegetAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable, shouldAlwaysPlayprivate final Entity entity
public EntityTrackingSoundInstance(SoundEvent sound, SoundCategory soundCategory, Entity entity)
public EntityTrackingSoundInstance(SoundEvent sound, SoundCategory soundCategory, float volume, float pitch, Entity entity)