Package net.minecraft.pathfinding
Class FlyingPathNavigator
- java.lang.Object
-
- net.minecraft.pathfinding.PathNavigator
-
- net.minecraft.pathfinding.FlyingPathNavigator
-
public class FlyingPathNavigator extends PathNavigator
-
-
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 Constructor Description FlyingPathNavigator(MobEntity p_i47412_1_, World p_i47412_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canMoveDirectly(Vector3d p_75493_1_, Vector3d p_75493_2_, int p_75493_3_, int p_75493_4_, int p_75493_5_)
protected boolean
canUpdatePath()
Path
createPath(Entity p_75494_1_, int p_75494_2_)
protected PathFinder
createPathFinder(int p_179679_1_)
protected Vector3d
getTempMobPos()
boolean
isStableDestination(BlockPos p_188555_1_)
void
setCanOpenDoors(boolean p_192879_1_)
void
setCanPassDoors(boolean p_192878_1_)
void
tick()
-
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
-
-
-
-
Method Detail
-
createPathFinder
protected PathFinder createPathFinder(int p_179679_1_)
- Specified by:
createPathFinder
in classPathNavigator
-
canUpdatePath
protected boolean canUpdatePath()
- Specified by:
canUpdatePath
in classPathNavigator
-
getTempMobPos
protected Vector3d getTempMobPos()
- Specified by:
getTempMobPos
in classPathNavigator
-
createPath
public Path createPath(Entity p_75494_1_, int p_75494_2_)
- Overrides:
createPath
in classPathNavigator
-
tick
public void tick()
- Overrides:
tick
in 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:
canMoveDirectly
in classPathNavigator
-
setCanOpenDoors
public void setCanOpenDoors(boolean p_192879_1_)
-
setCanPassDoors
public void setCanPassDoors(boolean p_192878_1_)
-
isStableDestination
public boolean isStableDestination(BlockPos p_188555_1_)
- Overrides:
isStableDestination
in classPathNavigator
-
-