Class GoToVillageGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.GoToVillageGoal
Direct Known Subclasses:
FoxEntity.GoToVillageGoal

public class GoToVillageGoal
extends Goal
  • Field Details

  • Constructor Details

    • GoToVillageGoal

      public GoToVillageGoal​(PathAwareEntity mob, int searchRange)
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
    • shouldContinue

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

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

      private void findOtherWaypoint()