Class AbstractTickableSoundInstance
java.lang.Object
net.minecraft.client.resources.sounds.AbstractSoundInstance
net.minecraft.client.resources.sounds.AbstractTickableSoundInstance
- All Implemented Interfaces:
SoundInstance
,TickableSoundInstance
- Direct Known Subclasses:
BeeSoundInstance
,BiomeAmbientSoundsHandler.LoopSoundInstance
,ElytraOnPlayerSoundInstance
,EntityBoundSoundInstance
,GuardianAttackSoundInstance
,MinecartSoundInstance
,RidingMinecartSoundInstance
,SnifferSoundInstance
,UnderwaterAmbientSoundInstances.SubSound
,UnderwaterAmbientSoundInstances.UnderwaterAmbientSoundInstance
public abstract class AbstractTickableSoundInstance
extends AbstractSoundInstance
implements TickableSoundInstance
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.resources.sounds.SoundInstance
SoundInstance.Attenuation
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractTickableSoundInstance
(SoundEvent p_235076_, SoundSource p_235077_, RandomSource p_235078_) -
Method Summary
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
canPlaySound, canStartSilent, getAttenuation, getDelay, getLocation, getPitch, getSound, getSource, getStream, getVolume, getX, getY, getZ, isLooping, isRelative, resolve
Methods inherited from interface net.minecraft.client.resources.sounds.TickableSoundInstance
tick
-
Field Details
-
stopped
private boolean stopped
-
-
Constructor Details
-
AbstractTickableSoundInstance
protected AbstractTickableSoundInstance(SoundEvent p_235076_, SoundSource p_235077_, RandomSource p_235078_)
-
-
Method Details
-
isStopped
public boolean isStopped()- Specified by:
isStopped
in interfaceTickableSoundInstance
-
stop
protected final void stop()
-