Class LookRandomlyGoal

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

public class LookRandomlyGoal extends Goal
  • Field Details

    • mob

      private final MobEntity mob
    • relX

      private double relX
    • relZ

      private double relZ
    • lookTime

      private int lookTime
  • Constructor Details

    • LookRandomlyGoal

      public LookRandomlyGoal(MobEntity p_i1647_1_)
  • 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
    • tick

      public void tick()
      Overrides:
      tick in class Goal