Class RandomLookAroundGoal

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

public class RandomLookAroundGoal extends Goal
  • Field Details

    • mob

      private final Mob mob
    • relX

      private double relX
    • relZ

      private double relZ
    • lookTime

      private int lookTime
  • Constructor Details

    • RandomLookAroundGoal

      public RandomLookAroundGoal(Mob p_25720_)
  • 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
    • requiresUpdateEveryTick

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

      public void tick()
      Overrides:
      tick in class Goal