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 Summary
Fields inherited from class net.minecraft.world.entity.ai.navigation.PathNavigation
hasDelayedRecomputation, lastStuckCheck, lastStuckCheckPos, lastTimeoutCheck, level, maxDistanceToWaypoint, mob, nodeEvaluator, path, speedModifier, tick, timeLastRecompute, timeoutCachedNode, timeoutLimit, timeoutTimer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canMoveDirectly
(Vec3 p_217796_, Vec3 p_217797_) protected boolean
protected PathFinder
createPathFinder
(int p_217792_) protected double
getGroundY
(Vec3 p_217794_) protected Vec3
boolean
isStableDestination
(BlockPos p_217799_) void
setCanFloat
(boolean p_217801_) Methods inherited from class net.minecraft.world.entity.ai.navigation.PathNavigation
canCutCorner, canFloat, createPath, createPath, createPath, createPath, createPath, createPath, createPath, createPath, doStuckDetection, followThePath, getMaxDistanceToWaypoint, getNodeEvaluator, getPath, getTargetPos, isClearForMovementBetween, isDone, isInProgress, isStuck, moveTo, moveTo, moveTo, moveTo, recomputePath, resetMaxVisitedNodesMultiplier, setMaxVisitedNodesMultiplier, setSpeedModifier, shouldRecomputePath, stop, tick, trimPath
-
Constructor Details
-
AmphibiousPathNavigation
-
-
Method Details
-
createPathFinder
- Specified by:
createPathFinder
in classPathNavigation
-
canUpdatePath
protected boolean canUpdatePath()- Specified by:
canUpdatePath
in classPathNavigation
-
getTempMobPos
- Specified by:
getTempMobPos
in classPathNavigation
-
getGroundY
- Overrides:
getGroundY
in classPathNavigation
-
canMoveDirectly
- Overrides:
canMoveDirectly
in classPathNavigation
-
isStableDestination
- Overrides:
isStableDestination
in classPathNavigation
-
setCanFloat
public void setCanFloat(boolean p_217801_) - Overrides:
setCanFloat
in classPathNavigation
-