Class FollowBoatGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FollowBoatGoal

public class FollowBoatGoal extends Goal
  • Field Details

    • timeToRecalcPath

      private int timeToRecalcPath
    • mob

      private final CreatureEntity mob
    • following

      private PlayerEntity following
    • currentGoal

      private BoatGoals currentGoal
  • Constructor Details

  • Method Details

    • canUse

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

      public boolean isInterruptable()
      Overrides:
      isInterruptable 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