Class AbstractBeeSoundInstance

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

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

    • bee

      protected final BeeEntity bee
      Mappings:
      Namespace Name Mixin selector
      official m Letz;m:Lbbk;
      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 n Letz;n: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> Letz;<init>(Lbbk;Laef;Laeh;)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 Leum;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 t Letz;t()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 u Letz;u()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 Leul;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 Leul;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 Letz;o()Letv;
      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 Letz;p()Z
      intermediary method_22136 Lnet/minecraft/class_4510;method_22136()Z
      named shouldReplace Lnet/minecraft/client/sound/AbstractBeeSoundInstance;shouldReplace()Z