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 net.minecraft.client.resources.sounds.SoundInstance
SoundInstance.Attenuation
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEntityBoundSoundInstance
(SoundEvent pSoundEvent, SoundSource pSource, float pVolume, float pPitch, Entity pEntity, long pSeed) -
Method Summary
Methods inherited from class net.minecraft.client.resources.sounds.AbstractTickableSoundInstance
isStopped, stop
Methods inherited from class net.minecraft.client.resources.sounds.AbstractSoundInstance
getAttenuation, getDelay, getLocation, getPitch, getSound, getSource, getVolume, getX, getY, getZ, isLooping, isRelative, resolve, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.client.resources.sounds.SoundInstance
canStartSilent, getAttenuation, getDelay, getLocation, getPitch, getSound, getSource, getStream, getVolume, getX, getY, getZ, isLooping, isRelative, resolve
-
Field Details
-
entity
-
-
Constructor Details
-
EntityBoundSoundInstance
public EntityBoundSoundInstance(SoundEvent pSoundEvent, SoundSource pSource, float pVolume, float pPitch, Entity pEntity, long pSeed)
-
-
Method Details
-
canPlaySound
public boolean canPlaySound() -
tick
public void tick()
-