Class AbstractBeeSoundInstance

All Implemented Interfaces:
SoundInstance, TickableSoundInstance
Direct Known Subclasses:
AggressiveBeeSoundInstance, PassiveBeeSoundInstance

@Environment(CLIENT) public abstract class AbstractBeeSoundInstance extends MovingSoundInstance
Mappings:
Namespace Name
official fxl
intermediary net/minecraft/class_4510
named net/minecraft/client/sound/AbstractBeeSoundInstance
  • Field Details

    • field_32991

      private static final float field_32991
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official o Lfxl;o:F
      intermediary field_32991 Lnet/minecraft/class_4510;field_32991:F
      named field_32991 Lnet/minecraft/client/sound/AbstractBeeSoundInstance;field_32991:F
    • field_32992

      private static final float field_32992
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official p Lfxl;p:F
      intermediary field_32992 Lnet/minecraft/class_4510;field_32992:F
      named field_32992 Lnet/minecraft/client/sound/AbstractBeeSoundInstance;field_32992:F
    • field_32993

      private static final float field_32993
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official q Lfxl;q:F
      intermediary field_32993 Lnet/minecraft/class_4510;field_32993:F
      named field_32993 Lnet/minecraft/client/sound/AbstractBeeSoundInstance;field_32993:F
    • bee

      protected final BeeEntity bee
      Mappings:
      Namespace Name Mixin selector
      official n Lfxl;n:Lbrm;
      intermediary field_20530 Lnet/minecraft/class_4510;field_20530:Lnet/minecraft/class_4466;
      named bee Lnet/minecraft/client/sound/AbstractBeeSoundInstance;bee:Lnet/minecraft/entity/passive/BeeEntity;
    • replaced

      private boolean replaced
      Mappings:
      Namespace Name Mixin selector
      official r Lfxl;r:Z
      intermediary field_20531 Lnet/minecraft/class_4510;field_20531:Z
      named replaced Lnet/minecraft/client/sound/AbstractBeeSoundInstance;replaced:Z
  • Constructor Details

    • AbstractBeeSoundInstance

      public AbstractBeeSoundInstance(BeeEntity entity, SoundEvent sound, SoundCategory soundCategory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfxl;<init>(Lbrm;Lamg;Lami;)V
      intermediary <init> Lnet/minecraft/class_4510;<init>(Lnet/minecraft/class_4466;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;)V
      named <init> Lnet/minecraft/client/sound/AbstractBeeSoundInstance;<init>(Lnet/minecraft/entity/passive/BeeEntity;Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;)V
  • Method Details

    • tick

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

      private float getMinPitch()
      Mappings:
      Namespace Name Mixin selector
      official u Lfxl;u()F
      intermediary method_22137 Lnet/minecraft/class_4510;method_22137()F
      named getMinPitch Lnet/minecraft/client/sound/AbstractBeeSoundInstance;getMinPitch()F
    • getMaxPitch

      private float getMaxPitch()
      Mappings:
      Namespace Name Mixin selector
      official v Lfxl;v()F
      intermediary method_22138 Lnet/minecraft/class_4510;method_22138()F
      named getMaxPitch Lnet/minecraft/client/sound/AbstractBeeSoundInstance;getMaxPitch()F
    • shouldAlwaysPlay

      public boolean shouldAlwaysPlay()
      Mappings:
      Namespace Name Mixin selector
      official r Lfxy;r()Z
      intermediary method_4785 Lnet/minecraft/class_1113;method_4785()Z
      named shouldAlwaysPlay Lnet/minecraft/client/sound/SoundInstance;shouldAlwaysPlay()Z
    • canPlay

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

      protected abstract MovingSoundInstance getReplacement()
      Mappings:
      Namespace Name Mixin selector
      official o Lfxl;o()Lfxh;
      intermediary method_22135 Lnet/minecraft/class_4510;method_22135()Lnet/minecraft/class_1101;
      named getReplacement Lnet/minecraft/client/sound/AbstractBeeSoundInstance;getReplacement()Lnet/minecraft/client/sound/MovingSoundInstance;
    • shouldReplace

      protected abstract boolean shouldReplace()
      Mappings:
      Namespace Name Mixin selector
      official p Lfxl;p()Z
      intermediary method_22136 Lnet/minecraft/class_4510;method_22136()Z
      named shouldReplace Lnet/minecraft/client/sound/AbstractBeeSoundInstance;shouldReplace()Z