Package net.minecraft.entity.passive
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
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SitDownAndLookAroundGoal()
-
Method Summary
Modifier and Type Method Description boolean
canStart()
private void
chooseNewAngle()
boolean
shouldContinue()
void
start()
void
stop()
void
tick()
Methods inherited from class net.minecraft.entity.passive.FoxEntity.CalmDownGoal
canCalmDown, isAtFavoredLocation
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
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() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
-
start
public void start() -
stop
public void stop() -
tick
public void tick() -
chooseNewAngle
private void chooseNewAngle()
-