Class MoveToRaidCenterGoal<T extends RaiderEntity>

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

public class MoveToRaidCenterGoal<T extends RaiderEntity>
extends Goal
  • Field Details

  • Constructor Details

    • MoveToRaidCenterGoal

      public MoveToRaidCenterGoal​(T actor)
  • 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
    • includeFreeRaiders

      private void includeFreeRaiders​(Raid raid)