Class Raider.RaiderMoveThroughVillageGoal

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.raid.Raider.RaiderMoveThroughVillageGoal
Enclosing class:
Raider

static class Raider.RaiderMoveThroughVillageGoal extends Goal
  • Field Details

    • raider

      private final Raider raider
    • speedModifier

      private final double speedModifier
    • poiPos

      private BlockPos poiPos
    • visited

      private final List<BlockPos> visited
    • distanceToPoi

      private final int distanceToPoi
    • stuck

      private boolean stuck
  • Constructor Details

    • RaiderMoveThroughVillageGoal

      public RaiderMoveThroughVillageGoal(Raider p_37936_, double p_37937_, int p_37938_)
  • Method Details

    • canUse

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

      private boolean isValidRaid()
    • hasSuitablePoi

      private boolean hasSuitablePoi()
    • canContinueToUse

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

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

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

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

      private boolean hasNotVisited(BlockPos p_37943_)
    • updateVisited

      private void updateVisited()