Class Squid.SquidFleeGoal

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.animal.Squid.SquidFleeGoal
Enclosing class:
Squid

class Squid.SquidFleeGoal extends Goal
  • Field Details

    • SQUID_FLEE_SPEED

      private static final float SQUID_FLEE_SPEED
      See Also:
    • SQUID_FLEE_MIN_DISTANCE

      private static final float SQUID_FLEE_MIN_DISTANCE
      See Also:
    • SQUID_FLEE_MAX_DISTANCE

      private static final float SQUID_FLEE_MAX_DISTANCE
      See Also:
    • fleeTicks

      private int fleeTicks
  • Constructor Details

    • SquidFleeGoal

      SquidFleeGoal()
  • Method Details

    • canUse

      public boolean canUse()
      Specified by:
      canUse in class Goal
    • start

      public void start()
      Overrides:
      start in class Goal
    • requiresUpdateEveryTick

      public boolean requiresUpdateEveryTick()
      Overrides:
      requiresUpdateEveryTick in class Goal
    • tick

      public void tick()
      Overrides:
      tick in class Goal