Class RandomStandGoal

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.RandomStandGoal

public class RandomStandGoal extends Goal
  • Field Details

    • horse

      private final AbstractHorse horse
    • nextStand

      private int nextStand
  • Constructor Details

    • RandomStandGoal

      public RandomStandGoal(AbstractHorse p_251685_)
  • Method Details

    • start

      public void start()
      Overrides:
      start in class Goal
    • playStandSound

      private void playStandSound()
    • canContinueToUse

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

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

      private void resetStandInterval(AbstractHorse p_250439_)
    • requiresUpdateEveryTick

      public boolean requiresUpdateEveryTick()
      Overrides:
      requiresUpdateEveryTick in class Goal