Class FollowFlockLeaderGoal

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.FollowFlockLeaderGoal

public class FollowFlockLeaderGoal extends Goal
  • Field Details

    • INTERVAL_TICKS

      private static final int INTERVAL_TICKS
      See Also:
    • mob

      private final AbstractSchoolingFish mob
    • timeToRecalcPath

      private int timeToRecalcPath
    • nextStartTick

      private int nextStartTick
  • Constructor Details

  • Method Details

    • nextStartTick

      protected int nextStartTick(AbstractSchoolingFish p_25252_)
    • canUse

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

      public boolean canContinueToUse()
      Overrides:
      canContinueToUse in class Goal
    • start

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

      public void stop()
      Overrides:
      stop in class Goal
    • tick

      public void tick()
      Overrides:
      tick in class Goal