Class ShootTongue

java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Frog>
net.minecraft.world.entity.animal.frog.ShootTongue
All Implemented Interfaces:
BehaviorControl<Frog>

public class ShootTongue extends Behavior<Frog>
  • Field Details

    • TIME_OUT_DURATION

      public static final int TIME_OUT_DURATION
      See Also:
    • CATCH_ANIMATION_DURATION

      public static final int CATCH_ANIMATION_DURATION
      See Also:
    • TONGUE_ANIMATION_DURATION

      public static final int TONGUE_ANIMATION_DURATION
      See Also:
    • EATING_DISTANCE

      private static final float EATING_DISTANCE
      See Also:
    • EATING_MOVEMENT_FACTOR

      private static final float EATING_MOVEMENT_FACTOR
      See Also:
    • UNREACHABLE_TONGUE_TARGETS_COOLDOWN_DURATION

      public static final int UNREACHABLE_TONGUE_TARGETS_COOLDOWN_DURATION
      See Also:
    • MAX_UNREACHBLE_TONGUE_TARGETS_IN_MEMORY

      public static final int MAX_UNREACHBLE_TONGUE_TARGETS_IN_MEMORY
      See Also:
    • eatAnimationTimer

      private int eatAnimationTimer
    • calculatePathCounter

      private int calculatePathCounter
    • tongueSound

      private final SoundEvent tongueSound
    • eatSound

      private final SoundEvent eatSound
    • itemSpawnPos

      private Vec3 itemSpawnPos
    • state

      private ShootTongue.State state
  • Constructor Details

  • Method Details