Class IronGolemLookGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.IronGolemLookGoal

public class IronGolemLookGoal
extends Goal
  • Field Details

    • CLOSE_VILLAGER_PREDICATE

      private static final TargetPredicate CLOSE_VILLAGER_PREDICATE
    • golem

      private final IronGolemEntity golem
    • targetVillager

      private VillagerEntity targetVillager
    • lookCountdown

      private int lookCountdown
  • Constructor Details

  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue 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