Class BeeSound

All Implemented Interfaces:
ISound, ITickableSound
Direct Known Subclasses:
BeeAngrySound, BeeFlightSound

public abstract class BeeSound extends TickableSound
  • Field Details

    • bee

      protected final BeeEntity bee
    • hasSwitched

      private boolean hasSwitched
  • Constructor Details

  • Method Details

    • tick

      public void tick()
    • getMinPitch

      private float getMinPitch()
    • getMaxPitch

      private float getMaxPitch()
    • canStartSilent

      public boolean canStartSilent()
    • canPlaySound

      public boolean canPlaySound()
    • getAlternativeSoundInstance

      protected abstract TickableSound getAlternativeSoundInstance()
    • shouldSwitchSounds

      protected abstract boolean shouldSwitchSounds()