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, DirectionalSoundInstance, ElytraOnPlayerSoundInstance, EntityBoundSoundInstance, GuardianAttackSoundInstance, MinecartSoundInstance, RidingEntitySoundInstance, SnifferSoundInstance, UnderwaterAmbientSoundInstances.SubSound, UnderwaterAmbientSoundInstances.UnderwaterAmbientSoundInstance
public abstract class AbstractTickableSoundInstance
extends AbstractSoundInstance
implements 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
ConstructorsModifierConstructorDescriptionprotectedAbstractTickableSoundInstance(SoundEvent event, SoundSource source, RandomSource random) -
Method Summary
Methods 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
canPlaySound, canStartSilent, getAttenuation, getDelay, getIdentifier, getPitch, getSound, getSource, getStream, getVolume, getX, getY, getZ, isLooping, isRelative, resolveMethods inherited from interface TickableSoundInstance
tick
-
Field Details
-
stopped
private boolean stopped
-
-
Constructor Details
-
AbstractTickableSoundInstance
-
-
Method Details
-
isStopped
public boolean isStopped()- Specified by:
isStoppedin interfaceTickableSoundInstance
-
stop
protected final void stop()
-