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 nullboolean
Try to find and set a path to EntityLiving.void
tick()
Methods inherited from class net.minecraft.world.entity.ai.navigation.GroundPathNavigation
canOpenDoors, canPassDoors, canUpdatePath, createPathFinder, getTempMobPos, hasValidPathType, setAvoidSun, setCanOpenDoors, setCanPassDoors, setCanWalkOverFences, trimPath
Methods 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:
createPath
in classGroundPathNavigation
-
createPath
Returns a path to the given entity or null- Overrides:
createPath
in classGroundPathNavigation
-
moveTo
Try to find and set a path to EntityLiving. Returnstrue
if successful.- Overrides:
moveTo
in classPathNavigation
-
tick
public void tick()- Overrides:
tick
in classPathNavigation
-