Package net.minecraft.client.audio
Class MovingSound
- java.lang.Object
-
- net.minecraft.client.audio.PositionedSound
-
- net.minecraft.client.audio.MovingSound
-
- All Implemented Interfaces:
ISound
,ITickableSound
,ITickable
- Direct Known Subclasses:
GuardianSound
,MovingSoundMinecart
,MovingSoundMinecartRiding
public abstract class MovingSound extends PositionedSound implements ITickableSound
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.minecraft.client.audio.ISound
ISound.AttenuationType
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
donePlaying
-
Fields inherited from class net.minecraft.client.audio.PositionedSound
attenuationType, pitch, positionedSoundLocation, repeat, repeatDelay, volume, xPosF, yPosF, zPosF
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MovingSound(ResourceLocation location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isDonePlaying()
-
Methods inherited from class net.minecraft.client.audio.PositionedSound
canRepeat, getAttenuationType, getPitch, getRepeatDelay, getSoundLocation, getVolume, getXPosF, getYPosF, getZPosF
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.client.audio.ISound
canRepeat, getAttenuationType, getPitch, getRepeatDelay, getSoundLocation, getVolume, getXPosF, getYPosF, getZPosF
-
-
-
-
Constructor Detail
-
MovingSound
protected MovingSound(ResourceLocation location)
-
-
Method Detail
-
isDonePlaying
public boolean isDonePlaying()
- Specified by:
isDonePlaying
in interfaceITickableSound
-
-