Class EntityBoundSoundInstance
java.lang.Object
net.minecraft.client.resources.sounds.AbstractSoundInstance
net.minecraft.client.resources.sounds.AbstractTickableSoundInstance
net.minecraft.client.resources.sounds.EntityBoundSoundInstance
- All Implemented Interfaces:
SoundInstance, TickableSoundInstance
-
Nested Class Summary
Nested classes/interfaces inherited from interface SoundInstance
SoundInstance.Attenuation -
Field Summary
FieldsFields inherited from class AbstractSoundInstance
attenuation, delay, identifier, looping, pitch, random, relative, sound, source, volume, x, y, z -
Constructor Summary
ConstructorsConstructorDescriptionEntityBoundSoundInstance(SoundEvent event, SoundSource source, float volume, float pitch, Entity entity, long seed) -
Method Summary
Methods inherited from class AbstractTickableSoundInstance
isStopped, stopMethods inherited from class AbstractSoundInstance
getAttenuation, getDelay, getIdentifier, getPitch, getSound, getSource, getVolume, getX, getY, getZ, isLooping, isRelative, resolve, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface SoundInstance
canStartSilent, getAttenuation, getDelay, getIdentifier, getPitch, getSound, getSource, getStream, getVolume, getX, getY, getZ, isLooping, isRelative, resolve
-
Field Details
-
entity
-
-
Constructor Details
-
EntityBoundSoundInstance
public EntityBoundSoundInstance(SoundEvent event, SoundSource source, float volume, float pitch, Entity entity, long seed)
-
-
Method Details
-
canPlaySound
public boolean canPlaySound() -
tick
public void tick()
-