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 BlockPospathToPosition-
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 PathcreatePath(Entity p_75494_1_, int p_75494_2_)PathcreatePath(BlockPos p_179680_1_, int p_179680_2_)booleanmoveTo(Entity p_75497_1_, double p_75497_2_)voidtick()-
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:
createPathin classGroundPathNavigator
-
createPath
public Path createPath(Entity p_75494_1_, int p_75494_2_)
- Overrides:
createPathin classGroundPathNavigator
-
moveTo
public boolean moveTo(Entity p_75497_1_, double p_75497_2_)
- Overrides:
moveToin classPathNavigator
-
tick
public void tick()
- Overrides:
tickin classPathNavigator
-
-