Class Guardian.GuardianAttackGoal

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.monster.Guardian.GuardianAttackGoal
Enclosing class:
Guardian

static class Guardian.GuardianAttackGoal extends Goal
  • Field Details

    • guardian

      private final Guardian guardian
    • attackTime

      private int attackTime
    • elder

      private final boolean elder
  • Constructor Details

    • GuardianAttackGoal

      public GuardianAttackGoal(Guardian p_32871_)
  • Method Details

    • canUse

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

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