Class WallClimberNavigation
java.lang.Object
net.minecraft.world.entity.ai.navigation.PathNavigation
net.minecraft.world.entity.ai.navigation.GroundPathNavigation
net.minecraft.world.entity.ai.navigation.WallClimberNavigation
-
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 TypeMethodDescriptioncreatePath(BlockPos pos, int reachRange) Returns path to given BlockPoscreatePath(Entity entity, int p_26587_) Returns a path to the given entity ornullbooleanTry to find and set a path to the entity.voidtick()Methods inherited from class net.minecraft.world.entity.ai.navigation.GroundPathNavigation
canNavigateGround, canUpdatePath, createPathFinder, findSurfacePosition, getTempMobPos, hasValidPathType, setAvoidSun, setCanPathToTargetsBelowSurface, setCanWalkOverFences, trimPathMethods inherited from class net.minecraft.world.entity.ai.navigation.PathNavigation
canCutCorner, canFloat, canMoveDirectly, createPath, createPath, createPath, createPath, createPath, createPath, doStuckDetection, followThePath, getGroundY, getMaxDistanceToWaypoint, getNodeEvaluator, getPath, getTargetPos, isClearForMovementBetween, isDone, isInProgress, isStableDestination, isStuck, moveTo, moveTo, moveTo, recomputePath, resetMaxVisitedNodesMultiplier, setCanFloat, setCanOpenDoors, setMaxVisitedNodesMultiplier, setRequiredPathLength, setSpeedModifier, shouldRecomputePath, stop, updatePathfinderMaxVisitedNodes
-
Field Details
-
pathToPosition
Current path navigation target
-
-
Constructor Details
-
WallClimberNavigation
-
-
Method Details
-
createPath
Returns path to given BlockPos- Overrides:
createPathin classGroundPathNavigation
-
createPath
Returns a path to the given entity ornull- Overrides:
createPathin classGroundPathNavigation
-
moveTo
Try to find and set a path to the entity. Returnstrueif successful.- Overrides:
moveToin classPathNavigation
-
tick
public void tick()- Overrides:
tickin classPathNavigation
-