Package net.minecraft.entity.passive
Class FoxEntity.DelayedCalmDownGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.passive.FoxEntity.CalmDownGoal
net.minecraft.entity.passive.FoxEntity.DelayedCalmDownGoal
- Enclosing class:
- FoxEntity
class FoxEntity.DelayedCalmDownGoal extends FoxEntity.CalmDownGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields Modifier and Type Field Description private int
timer
-
Constructor Summary
Constructors Constructor Description DelayedCalmDownGoal()
-
Method Summary
Modifier and Type Method Description private boolean
canNotCalmDown()
boolean
canStart()
boolean
shouldContinue()
void
start()
void
stop()
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, tick, toString
-
Field Details
-
timer
private int timer
-
-
Constructor Details
-
DelayedCalmDownGoal
public DelayedCalmDownGoal()
-
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
-
canNotCalmDown
private boolean canNotCalmDown() -
stop
public void stop() -
start
public void start()
-