Class AmphibiousPathNavigation
java.lang.Object
net.minecraft.world.entity.ai.navigation.PathNavigation
net.minecraft.world.entity.ai.navigation.AmphibiousPathNavigation
- Direct Known Subclasses:
- Frog.FrogPathNavigation,- Turtle.TurtlePathNavigation
- 
Field SummaryFields inherited from class net.minecraft.world.entity.ai.navigation.PathNavigationhasDelayedRecomputation, lastStuckCheck, lastStuckCheckPos, lastTimeoutCheck, level, maxDistanceToWaypoint, mob, nodeEvaluator, path, speedModifier, tick, timeLastRecompute, timeoutCachedNode, timeoutLimit, timeoutTimer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleancanMoveDirectly(Vec3 p_217796_, Vec3 p_217797_) protected booleanprotected PathFindercreatePathFinder(int p_217792_) protected doublegetGroundY(Vec3 p_217794_) protected Vec3booleanisStableDestination(BlockPos p_217799_) voidsetCanFloat(boolean p_217801_) Methods inherited from class net.minecraft.world.entity.ai.navigation.PathNavigationcanCutCorner, canFloat, createPath, createPath, createPath, createPath, createPath, createPath, createPath, createPath, doStuckDetection, followThePath, getMaxDistanceToWaypoint, getNodeEvaluator, getPath, getTargetPos, isClearForMovementBetween, isDone, isInProgress, isStuck, moveTo, moveTo, moveTo, recomputePath, resetMaxVisitedNodesMultiplier, setMaxVisitedNodesMultiplier, setSpeedModifier, shouldRecomputePath, stop, tick, trimPath
- 
Constructor Details- 
AmphibiousPathNavigation
 
- 
- 
Method Details- 
createPathFinder- Specified by:
- createPathFinderin class- PathNavigation
 
- 
canUpdatePathprotected boolean canUpdatePath()- Specified by:
- canUpdatePathin class- PathNavigation
 
- 
getTempMobPos- Specified by:
- getTempMobPosin class- PathNavigation
 
- 
getGroundY- Overrides:
- getGroundYin class- PathNavigation
 
- 
canMoveDirectly- Overrides:
- canMoveDirectlyin class- PathNavigation
 
- 
isStableDestination- Overrides:
- isStableDestinationin class- PathNavigation
 
- 
setCanFloatpublic void setCanFloat(boolean p_217801_) - Overrides:
- setCanFloatin class- PathNavigation
 
 
-