Class AbstractRaiderEntity.InvadeHomeGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.monster.AbstractRaiderEntity.InvadeHomeGoal
Enclosing class:
AbstractRaiderEntity

static class AbstractRaiderEntity.InvadeHomeGoal extends Goal
  • Field Details

    • raider

      private final AbstractRaiderEntity 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

    • InvadeHomeGoal

      public InvadeHomeGoal(AbstractRaiderEntity p_i50570_1_, double p_i50570_2_, int p_i50570_4_)
  • 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_220860_1_)
    • updateVisited

      private void updateVisited()