Class WaterBoundPathNavigation
java.lang.Object
net.minecraft.world.entity.ai.navigation.PathNavigation
net.minecraft.world.entity.ai.navigation.WaterBoundPathNavigation
-
Field Summary
FieldsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanMoveDirectly(Vec3 p_186138_, Vec3 p_186139_) protected booleanprotected PathFindercreatePathFinder(int p_26598_) protected doublegetGroundY(Vec3 p_186136_) protected Vec3booleanisStableDestination(BlockPos p_26608_) voidsetCanFloat(boolean p_26612_) 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
-
Field Details
-
allowBreaching
private boolean allowBreaching
-
-
Constructor Details
-
WaterBoundPathNavigation
-
-
Method Details
-
createPathFinder
- Specified by:
createPathFinderin classPathNavigation
-
canUpdatePath
protected boolean canUpdatePath()- Specified by:
canUpdatePathin classPathNavigation
-
getTempMobPos
- Specified by:
getTempMobPosin classPathNavigation
-
getGroundY
- Overrides:
getGroundYin classPathNavigation
-
canMoveDirectly
- Overrides:
canMoveDirectlyin classPathNavigation
-
isStableDestination
- Overrides:
isStableDestinationin classPathNavigation
-
setCanFloat
public void setCanFloat(boolean p_26612_) - Overrides:
setCanFloatin classPathNavigation
-