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 eynintermediary net/minecraft/class_1106named net/minecraft/client/sound/EntityTrackingSoundInstance
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType -
Field Summary
FieldsFields inherited from class net.minecraft.client.sound.AbstractSoundInstance
attenuationType, category, id, looping, pitch, repeat, repeatDelay, sound, volume, x, y, z -
Constructor Summary
ConstructorsConstructorDescriptionEntityTrackingSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Entity entity)EntityTrackingSoundInstance(SoundEvent sound, SoundCategory category, Entity entity) -
Method Summary
Methods inherited from class net.minecraft.client.sound.MovingSoundInstance
isDone, setDoneMethods 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
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable, shouldAlwaysPlay
-
Field Details
-
entity
- Mappings:
Namespace Name Mixin selector official mLeyn;m:Laso;intermediary field_5455Lnet/minecraft/class_1106;field_5455:Lnet/minecraft/class_1297;named entityLnet/minecraft/client/sound/EntityTrackingSoundInstance;entity:Lnet/minecraft/entity/Entity;
-
-
Constructor Details
-
EntityTrackingSoundInstance
- Mappings:
Namespace Name Mixin selector official <init>Leyn;<init>(Laev;Laex;Laso;)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>Leyn;<init>(Laev;Laex;FFLaso;)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
-
-
Method Details
-
canPlay
public boolean canPlay()- Mappings:
Namespace Name Mixin selector official sLeyv;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 qLeyw;q()Vintermediary method_16896Lnet/minecraft/class_1117;method_16896()Vnamed tickLnet/minecraft/client/sound/TickableSoundInstance;tick()V
-