Class FoxEntity.SitDownAndLookAroundGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.passive.FoxEntity.CalmDownGoal
net.minecraft.entity.passive.FoxEntity.SitDownAndLookAroundGoal
Enclosing class:
FoxEntity

class FoxEntity.SitDownAndLookAroundGoal
extends FoxEntity.CalmDownGoal
  • Field Details

    • lookX

      private double lookX
    • lookZ

      private double lookZ
    • timer

      private int timer
    • counter

      private int counter
  • Constructor Details

    • SitDownAndLookAroundGoal

      public SitDownAndLookAroundGoal()
  • 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
    • chooseNewAngle

      private void chooseNewAngle()