Class EntityTrackingSoundInstance

All Implemented Interfaces:
SoundInstance, TickableSoundInstance

@Environment(CLIENT) public class EntityTrackingSoundInstance extends MovingSoundInstance
Mappings:
Namespace Name
named net/minecraft/client/sound/EntityTrackingSoundInstance
intermediary net/minecraft/class_1106
official hey
  • Field Details

    • entity

      private final Entity entity
      Mappings:
      Namespace Name Mixin selector
      named entity Lnet/minecraft/client/sound/EntityTrackingSoundInstance;entity:Lnet/minecraft/entity/Entity;
      intermediary field_5455 Lnet/minecraft/class_1106;field_5455:Lnet/minecraft/class_1297;
      official n Lhey;n:Lbvj;
  • Constructor Details

    • EntityTrackingSoundInstance

      public EntityTrackingSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Entity entity, long seed)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/sound/EntityTrackingSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFLnet/minecraft/entity/Entity;J)V
      intermediary <init> Lnet/minecraft/class_1106;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFLnet/minecraft/class_1297;J)V
      official <init> Lhey;<init>(Laxe;Laxg;FFLbvj;J)V
  • Method Details

    • canPlay

      public boolean canPlay()
      Mappings:
      Namespace Name Mixin selector
      named canPlay Lnet/minecraft/client/sound/SoundInstance;canPlay()Z
      intermediary method_26273 Lnet/minecraft/class_1113;method_26273()Z
      official s Lhfh;s()Z
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/client/sound/TickableSoundInstance;tick()V
      intermediary method_16896 Lnet/minecraft/class_1117;method_16896()V
      official q Lhfi;q()V