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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class net.minecraft.world.entity.ai.goal.GoaladjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
- 
Field Details- 
HORIZONTAL_SCAN_RANGEpublic static final int HORIZONTAL_SCAN_RANGE- See Also:
 
- 
VERTICAL_SCAN_RANGEpublic static final int VERTICAL_SCAN_RANGE- See Also:
 
- 
DONT_FOLLOW_IF_CLOSER_THANpublic static final int DONT_FOLLOW_IF_CLOSER_THAN- See Also:
 
- 
animal
- 
parent
- 
speedModifierprivate final double speedModifier
- 
timeToRecalcPathprivate int timeToRecalcPath
 
- 
- 
Constructor Details- 
FollowParentGoal
 
- 
- 
Method Details- 
canUsepublic boolean canUse()
- 
canContinueToUsepublic boolean canContinueToUse()- Overrides:
- canContinueToUsein class- Goal
 
- 
startpublic void start()
- 
stoppublic void stop()
- 
tickpublic void tick()
 
-