Package net.minecraft.pathfinding
Class FlyingPathNavigator
java.lang.Object
net.minecraft.pathfinding.PathNavigator
net.minecraft.pathfinding.FlyingPathNavigator
-
Field Summary
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanMoveDirectly(Vector3d p_75493_1_, Vector3d p_75493_2_, int p_75493_3_, int p_75493_4_, int p_75493_5_) protected booleancreatePath(Entity p_75494_1_, int p_75494_2_) protected PathFindercreatePathFinder(int p_179679_1_) protected Vector3dbooleanisStableDestination(BlockPos p_188555_1_) voidsetCanOpenDoors(boolean p_192879_1_) voidsetCanPassDoors(boolean p_192878_1_) voidtick()Methods inherited from class net.minecraft.pathfinding.PathNavigator
canFloat, createPath, createPath, createPath, createPath, createPath, doStuckDetection, followThePath, getNodeEvaluator, getPath, getTargetPos, hasDelayedRecomputation, isDone, isInLiquid, isInProgress, isStuck, moveTo, moveTo, moveTo, recomputePath, recomputePath, resetMaxVisitedNodesMultiplier, setCanFloat, setMaxVisitedNodesMultiplier, setSpeedModifier, stop, trimPath
-
Constructor Details
-
FlyingPathNavigator
-
-
Method Details
-
createPathFinder
- Specified by:
createPathFinderin classPathNavigator
-
canUpdatePath
protected boolean canUpdatePath()- Specified by:
canUpdatePathin classPathNavigator
-
getTempMobPos
- Specified by:
getTempMobPosin classPathNavigator
-
createPath
- Overrides:
createPathin classPathNavigator
-
tick
public void tick()- Overrides:
tickin classPathNavigator
-
canMoveDirectly
protected boolean canMoveDirectly(Vector3d p_75493_1_, Vector3d p_75493_2_, int p_75493_3_, int p_75493_4_, int p_75493_5_) - Specified by:
canMoveDirectlyin classPathNavigator
-
setCanOpenDoors
public void setCanOpenDoors(boolean p_192879_1_) -
setCanPassDoors
public void setCanPassDoors(boolean p_192878_1_) -
isStableDestination
- Overrides:
isStableDestinationin classPathNavigator
-