类 MovingSoundInstance
- java.lang.Object
-
- net.minecraft.client.sound.AbstractSoundInstance
-
- net.minecraft.client.sound.MovingSoundInstance
-
- 所有已实现的接口:
SoundInstance,TickableSoundInstance
- 直接已知子类:
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 eyeintermediary net/minecraft/class_1101named net/minecraft/client/sound/MovingSoundInstance
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType
-
-
字段概要
字段 修饰符和类型 字段 说明 private booleandone-
从类继承的字段 net.minecraft.client.sound.AbstractSoundInstance
attenuationType, category, id, looping, pitch, repeat, repeatDelay, sound, volume, x, y, z
-
-
构造器概要
构造器 限定符 构造器 说明 protectedMovingSoundInstance(SoundEvent sound, SoundCategory category)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanisDone()protected voidsetDone()-
从类继承的方法 net.minecraft.client.sound.AbstractSoundInstance
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable, toString
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.sound.SoundInstance
canPlay, getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable, shouldAlwaysPlay
-
从接口继承的方法 net.minecraft.client.sound.TickableSoundInstance
tick
-
-
-
-
构造器详细资料
-
MovingSoundInstance
protected MovingSoundInstance(SoundEvent sound, SoundCategory category)
- Mappings:
Namespace Name Mixin selector official <init>Leyd;<init>(Laev;Laex;)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
-
-
方法详细资料
-
isDone
public boolean isDone()
- 指定者:
isDone在接口中TickableSoundInstance- Mappings:
Namespace Name Mixin selector official mLeyv;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 nLeye;n()Vintermediary method_24876Lnet/minecraft/class_1101;method_24876()Vnamed setDoneLnet/minecraft/client/sound/MovingSoundInstance;setDone()V
-
-