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
,SnifferDigSoundInstance
@Environment(CLIENT)
public abstract class MovingSoundInstance
extends AbstractSoundInstance
implements TickableSoundInstance
- Mappings:
Namespace Name named net/minecraft/client/sound/MovingSoundInstance
intermediary net/minecraft/class_1101
official gsn
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType
-
Field Summary
Fields inherited from class net.minecraft.client.sound.AbstractSoundInstance
attenuationType, category, id, pitch, random, relative, repeat, repeatDelay, sound, volume, x, y, z
-
Constructor Summary
ModifierConstructorDescriptionprotected
MovingSoundInstance
(SoundEvent sound, SoundCategory category, Random random) -
Method Summary
Methods inherited from class net.minecraft.client.sound.AbstractSoundInstance
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isRelative, isRepeatable, 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.sound.SoundInstance
canPlay, getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isRelative, isRepeatable, shouldAlwaysPlay
Methods inherited from interface net.minecraft.client.sound.TickableSoundInstance
tick
-
Field Details
-
done
private boolean done- Mappings:
Namespace Name Mixin selector named done
Lnet/minecraft/client/sound/MovingSoundInstance;done:Z
intermediary field_5438
Lnet/minecraft/class_1101;field_5438:Z
official n
Lgsn;n:Z
-
-
Constructor Details
-
MovingSoundInstance
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/sound/AbstractSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;Lnet/minecraft/util/math/random/Random;)V
intermediary <init>
Lnet/minecraft/class_1102;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;Lnet/minecraft/class_5819;)V
official <init>
Lgsm;<init>(Lavg;Lavi;Layo;)V
-
-
Method Details
-
isDone
public boolean isDone()- Specified by:
isDone
in interfaceTickableSoundInstance
- Mappings:
Namespace Name Mixin selector named isDone
Lnet/minecraft/client/sound/TickableSoundInstance;isDone()Z
intermediary method_4793
Lnet/minecraft/class_1117;method_4793()Z
official m
Lgtf;m()Z
-
setDone
protected final void setDone()- Mappings:
Namespace Name Mixin selector named setDone
Lnet/minecraft/client/sound/MovingSoundInstance;setDone()V
intermediary method_24876
Lnet/minecraft/class_1101;method_24876()V
official n
Lgsn;n()V
-