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
getFlags, isInterruptable, setFlags, toString
-
Field Details
-
HORIZONTAL_SCAN_RANGE
public static final int HORIZONTAL_SCAN_RANGE- See Also:
- Constant Field Values
-
VERTICAL_SCAN_RANGE
public static final int VERTICAL_SCAN_RANGE- See Also:
- Constant Field Values
-
DONT_FOLLOW_IF_CLOSER_THAN
public static final int DONT_FOLLOW_IF_CLOSER_THAN- See Also:
- Constant Field Values
-
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()
-