Package net.minecraft.entity.passive
Class FoxEntity.CalmDownGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.passive.FoxEntity.CalmDownGoal
- Direct Known Subclasses:
FoxEntity.DelayedCalmDownGoal
,FoxEntity.SitDownAndLookAroundGoal
- Enclosing class:
- FoxEntity
abstract class FoxEntity.CalmDownGoal extends Goal
-
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 TargetPredicate
WORRIABLE_ENTITY_PREDICATE
-
Constructor Summary
Constructors Modifier Constructor Description private
CalmDownGoal()
-
Method Summary
Modifier and Type Method Description protected boolean
canCalmDown()
protected boolean
isAtFavoredLocation()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStart, canStop, getControls, setControls, shouldContinue, start, stop, tick, toString
-
Field Details
-
WORRIABLE_ENTITY_PREDICATE
-
-
Constructor Details
-
CalmDownGoal
private CalmDownGoal()
-
-
Method Details
-
isAtFavoredLocation
protected boolean isAtFavoredLocation() -
canCalmDown
protected boolean canCalmDown()
-