Package net.minecraft.pathfinding
Class ClimberPathNavigator
- java.lang.Object
-
- net.minecraft.pathfinding.PathNavigator
-
- net.minecraft.pathfinding.GroundPathNavigator
-
- net.minecraft.pathfinding.ClimberPathNavigator
-
public class ClimberPathNavigator extends GroundPathNavigator
-
-
Field Summary
Fields Modifier and Type Field Description private BlockPos
pathToPosition
-
Fields inherited from class net.minecraft.pathfinding.PathNavigator
hasDelayedRecomputation, lastStuckCheck, lastStuckCheckPos, lastTimeoutCheck, level, maxDistanceToWaypoint, mob, nodeEvaluator, path, speedModifier, tick, timeLastRecompute, timeoutCachedNode, timeoutLimit, timeoutTimer
-
-
Constructor Summary
Constructors Constructor Description ClimberPathNavigator(MobEntity p_i45874_1_, World p_i45874_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Path
createPath(Entity p_75494_1_, int p_75494_2_)
Path
createPath(BlockPos p_179680_1_, int p_179680_2_)
boolean
moveTo(Entity p_75497_1_, double p_75497_2_)
void
tick()
-
Methods inherited from class net.minecraft.pathfinding.GroundPathNavigator
canMoveDirectly, canOpenDoors, canUpdatePath, createPathFinder, getTempMobPos, hasValidPathType, setAvoidSun, setCanOpenDoors, trimPath
-
Methods inherited from class net.minecraft.pathfinding.PathNavigator
canFloat, createPath, createPath, createPath, createPath, doStuckDetection, followThePath, getNodeEvaluator, getPath, getTargetPos, hasDelayedRecomputation, isDone, isInLiquid, isInProgress, isStableDestination, isStuck, moveTo, moveTo, recomputePath, recomputePath, resetMaxVisitedNodesMultiplier, setCanFloat, setMaxVisitedNodesMultiplier, setSpeedModifier, stop
-
-
-
-
Field Detail
-
pathToPosition
private BlockPos pathToPosition
-
-
Method Detail
-
createPath
public Path createPath(BlockPos p_179680_1_, int p_179680_2_)
- Overrides:
createPath
in classGroundPathNavigator
-
createPath
public Path createPath(Entity p_75494_1_, int p_75494_2_)
- Overrides:
createPath
in classGroundPathNavigator
-
moveTo
public boolean moveTo(Entity p_75497_1_, double p_75497_2_)
- Overrides:
moveTo
in classPathNavigator
-
tick
public void tick()
- Overrides:
tick
in classPathNavigator
-
-