Package net.minecraft.entity.ai.goal
Class FollowParentGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FollowParentGoal
- Direct Known Subclasses:
FoxEntity.FollowGoal
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final AnimalEntity
private AnimalEntity
private final double
private int
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Field Details
-
animal
-
parent
-
speedModifier
private final double speedModifier -
timeToRecalcPath
private int timeToRecalcPath
-
-
Constructor Details
-
FollowParentGoal
-
-
Method Details
-
canUse
public boolean canUse() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classGoal
-
start
public void start() -
stop
public void stop() -
tick
public void tick()
-