Class AbstractBeeSoundInstance

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

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

    • field_32991

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

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

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

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

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

    • AbstractBeeSoundInstance

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

    • 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 Lgub;q()V
    • getMinPitch

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

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

      public boolean shouldAlwaysPlay()
      Mappings:
      Namespace Name Mixin selector
      named shouldAlwaysPlay Lnet/minecraft/client/sound/SoundInstance;shouldAlwaysPlay()Z
      intermediary method_4785 Lnet/minecraft/class_1113;method_4785()Z
      official r Lgua;r()Z
    • 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 Lgua;s()Z
    • getReplacement

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

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