Class FollowParentGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.FollowParentGoal
- Direct Known Subclasses:
Fox.FoxFollowParentGoal
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Field Details
-
HORIZONTAL_SCAN_RANGE
public static final int HORIZONTAL_SCAN_RANGE- See Also:
-
VERTICAL_SCAN_RANGE
public static final int VERTICAL_SCAN_RANGE- See Also:
-
DONT_FOLLOW_IF_CLOSER_THAN
public static final int DONT_FOLLOW_IF_CLOSER_THAN- See Also:
-
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()
-