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 pPos, int pAccuracy) Returns path to given BlockPoscreatePath(Entity pEntity, int pAccuracy) Returns a path to the given entity or nullbooleanTry to find and set a path to EntityLiving.voidtick()Methods inherited from class net.minecraft.world.entity.ai.navigation.GroundPathNavigation
canOpenDoors, canPassDoors, canUpdatePath, createPathFinder, getTempMobPos, hasValidPathType, setAvoidSun, setCanOpenDoors, setCanPassDoors, 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, setMaxVisitedNodesMultiplier, setSpeedModifier, shouldRecomputePath, stop
-
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 or null- Overrides:
createPathin classGroundPathNavigation
-
moveTo
Try to find and set a path to EntityLiving. Returnstrueif successful.- Overrides:
moveToin classPathNavigation
-
tick
public void tick()- Overrides:
tickin classPathNavigation
-