Class PathfindToRaidGoal<T extends Raider>

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.PathfindToRaidGoal<T>

public class PathfindToRaidGoal<T extends Raider> extends Goal
  • Field Details

    • RECRUITMENT_SEARCH_TICK_DELAY

      private static final int RECRUITMENT_SEARCH_TICK_DELAY
      See Also:
    • SPEED_MODIFIER

      private static final float SPEED_MODIFIER
      See Also:
    • mob

      private final T extends Raider mob
    • recruitmentTick

      private int recruitmentTick
  • Constructor Details

    • PathfindToRaidGoal

      public PathfindToRaidGoal(T p_25706_)
  • Method Details

    • canUse

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

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

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

      private void recruitNearby(Raid p_25709_)