Package net.minecraft.client.sound
Class EntityTrackingSoundInstance
java.lang.Object
net.minecraft.client.sound.AbstractSoundInstance
net.minecraft.client.sound.MovingSoundInstance
net.minecraft.client.sound.EntityTrackingSoundInstance
- All Implemented Interfaces:
SoundInstance
,TickableSoundInstance
- Mappings:
Namespace Name official fmn
intermediary net/minecraft/class_1106
named net/minecraft/client/sound/EntityTrackingSoundInstance
-
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, field_38800, id, pitch, relative, repeat, repeatDelay, sound, volume, x, y, z
-
Constructor Summary
ConstructorDescriptionEntityTrackingSoundInstance
(SoundEvent sound, SoundCategory category, float volume, float pitch, Entity entity, long seed) -
Method Summary
Methods inherited from class net.minecraft.client.sound.MovingSoundInstance
isDone, setDone
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
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isRelative, isRepeatable, shouldAlwaysPlay
-
Field Details
-
entity
- Mappings:
Namespace Name Mixin selector official n
Lfmn;n:Lbbn;
intermediary field_5455
Lnet/minecraft/class_1106;field_5455:Lnet/minecraft/class_1297;
named entity
Lnet/minecraft/client/sound/EntityTrackingSoundInstance;entity:Lnet/minecraft/entity/Entity;
-
-
Constructor Details
-
EntityTrackingSoundInstance
public EntityTrackingSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Entity entity, long seed) - Mappings:
Namespace Name Mixin selector official <init>
Lfmn;<init>(Lajv;Lajx;FFLbbn;J)V
intermediary <init>
Lnet/minecraft/class_1106;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFLnet/minecraft/class_1297;J)V
named <init>
Lnet/minecraft/client/sound/EntityTrackingSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFLnet/minecraft/entity/Entity;J)V
-
-
Method Details
-
canPlay
public boolean canPlay()- Mappings:
Namespace Name Mixin selector official s
Lfmv;s()Z
intermediary method_26273
Lnet/minecraft/class_1113;method_26273()Z
named canPlay
Lnet/minecraft/client/sound/SoundInstance;canPlay()Z
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official q
Lfmw;q()V
intermediary method_16896
Lnet/minecraft/class_1117;method_16896()V
named tick
Lnet/minecraft/client/sound/TickableSoundInstance;tick()V
-