类 EntityTrackingSoundInstance
- java.lang.Object
-
- net.minecraft.client.sound.AbstractSoundInstance
-
- net.minecraft.client.sound.MovingSoundInstance
-
- net.minecraft.client.sound.EntityTrackingSoundInstance
-
- 所有已实现的接口:
SoundInstance,TickableSoundInstance
@Environment(CLIENT) public class EntityTrackingSoundInstance extends MovingSoundInstance
- Mappings:
Namespace Name official eymintermediary net/minecraft/class_1106named net/minecraft/client/sound/EntityTrackingSoundInstance
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType
-
-
字段概要
字段 修饰符和类型 字段 说明 private Entityentity-
从类继承的字段 net.minecraft.client.sound.AbstractSoundInstance
attenuationType, category, id, looping, pitch, repeat, repeatDelay, sound, volume, x, y, z
-
-
构造器概要
构造器 构造器 说明 EntityTrackingSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Entity entity)EntityTrackingSoundInstance(SoundEvent sound, SoundCategory category, Entity entity)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanPlay()voidtick()-
从类继承的方法 net.minecraft.client.sound.MovingSoundInstance
isDone, setDone
-
从类继承的方法 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
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable, shouldAlwaysPlay
-
-
-
-
字段详细资料
-
entity
private final Entity entity
- Mappings:
Namespace Name Mixin selector official mLeym;m:Lasl;intermediary field_5455Lnet/minecraft/class_1106;field_5455:Lnet/minecraft/class_1297;named entityLnet/minecraft/client/sound/EntityTrackingSoundInstance;entity:Lnet/minecraft/entity/Entity;
-
-
构造器详细资料
-
EntityTrackingSoundInstance
public EntityTrackingSoundInstance(SoundEvent sound, SoundCategory category, Entity entity)
- Mappings:
Namespace Name Mixin selector official <init>Leym;<init>(Laev;Laex;Lasl;)Vintermediary <init>Lnet/minecraft/class_1106;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;Lnet/minecraft/class_1297;)Vnamed <init>Lnet/minecraft/client/sound/EntityTrackingSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;Lnet/minecraft/entity/Entity;)V
-
EntityTrackingSoundInstance
public EntityTrackingSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Entity entity)
- Mappings:
Namespace Name Mixin selector official <init>Leym;<init>(Laev;Laex;FFLasl;)Vintermediary <init>Lnet/minecraft/class_1106;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFLnet/minecraft/class_1297;)Vnamed <init>Lnet/minecraft/client/sound/EntityTrackingSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFLnet/minecraft/entity/Entity;)V
-
-
方法详细资料
-
canPlay
public boolean canPlay()
- Mappings:
Namespace Name Mixin selector official sLeyu;s()Zintermediary method_26273Lnet/minecraft/class_1113;method_26273()Znamed canPlayLnet/minecraft/client/sound/SoundInstance;canPlay()Z
-
tick
public void tick()
- Mappings:
Namespace Name Mixin selector official qLeyv;q()Vintermediary method_16896Lnet/minecraft/class_1117;method_16896()Vnamed tickLnet/minecraft/client/sound/TickableSoundInstance;tick()V
-
-