Class RaiderEntity.PatrolApproachGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.raid.RaiderEntity.PatrolApproachGoal
Enclosing class:
RaiderEntity

public class RaiderEntity.PatrolApproachGoal
extends Goal
  • Field Details

    • raider

      private final RaiderEntity raider
    • squaredDistance

      private final float squaredDistance
    • closeRaiderPredicate

      public final TargetPredicate closeRaiderPredicate
  • Constructor Details

    • PatrolApproachGoal

      public PatrolApproachGoal​(IllagerEntity illager, float distance)
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart 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