Package net.minecraft.client.sound
Class MovingSoundInstance
java.lang.Object
net.minecraft.client.sound.AbstractSoundInstance
net.minecraft.client.sound.MovingSoundInstance
- All Implemented Interfaces:
SoundInstance,TickableSoundInstance
- Direct Known Subclasses:
AbstractBeeSoundInstance,AmbientSoundLoops.MusicLoop,AmbientSoundLoops.Underwater,BiomeEffectSoundPlayer.MusicLoop,ElytraSoundInstance,EntityTrackingSoundInstance,GuardianAttackSoundInstance,MinecartInsideSoundInstance,MovingMinecartSoundInstance
@Environment(CLIENT) public abstract class MovingSoundInstance extends AbstractSoundInstance implements TickableSoundInstance
- Mappings:
Namespace Name official etvintermediary net/minecraft/class_1101named net/minecraft/client/sound/MovingSoundInstance
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType -
Field Summary
Fields Modifier and Type Field Description private booleandoneFields inherited from class net.minecraft.client.sound.AbstractSoundInstance
attenuationType, category, id, looping, pitch, repeat, repeatDelay, sound, volume, x, y, z -
Constructor Summary
Constructors Modifier Constructor Description protectedMovingSoundInstance(SoundEvent sound, SoundCategory category) -
Method Summary
Methods inherited from class net.minecraft.client.sound.AbstractSoundInstance
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.client.sound.SoundInstance
canPlay, getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable, shouldAlwaysPlayMethods inherited from interface net.minecraft.client.sound.TickableSoundInstance
tick
-
Field Details
-
done
private boolean done- Mappings:
Namespace Name Mixin selector official mLetv;m:Zintermediary field_5438Lnet/minecraft/class_1101;field_5438:Znamed doneLnet/minecraft/client/sound/MovingSoundInstance;done:Z
-
-
Constructor Details
-
MovingSoundInstance
- Mappings:
Namespace Name Mixin selector official <init>Letu;<init>(Laef;Laeh;)Vintermediary <init>Lnet/minecraft/class_1102;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;)Vnamed <init>Lnet/minecraft/client/sound/AbstractSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;)V
-
-
Method Details
-
isDone
public boolean isDone()- Specified by:
isDonein interfaceTickableSoundInstance- Mappings:
Namespace Name Mixin selector official mLeum;m()Zintermediary method_4793Lnet/minecraft/class_1117;method_4793()Znamed isDoneLnet/minecraft/client/sound/TickableSoundInstance;isDone()Z
-
setDone
protected final void setDone()- Mappings:
Namespace Name Mixin selector official nLetv;n()Vintermediary method_24876Lnet/minecraft/class_1101;method_24876()Vnamed setDoneLnet/minecraft/client/sound/MovingSoundInstance;setDone()V
-