Class FlyingPathNavigation
java.lang.Object
net.minecraft.world.entity.ai.navigation.PathNavigation
net.minecraft.world.entity.ai.navigation.FlyingPathNavigation
-
Field Summary
Fields 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 TypeMethodDescriptionprotected booleancanMoveDirectly(Vec3 p_262585_, Vec3 p_262682_) booleanbooleanprotected booleancreatePath(Entity p_26430_, int p_26431_) protected PathFindercreatePathFinder(int p_26428_) protected Vec3booleanisStableDestination(BlockPos p_26439_) voidsetCanOpenDoors(boolean p_26441_) voidsetCanPassDoors(boolean p_26444_) voidtick()Methods inherited from class net.minecraft.world.entity.ai.navigation.PathNavigation
canFloat, createPath, createPath, createPath, createPath, createPath, createPath, createPath, doStuckDetection, followThePath, getGroundY, getMaxDistanceToWaypoint, getNodeEvaluator, getPath, getTargetPos, isClearForMovementBetween, isDone, isInLiquid, isInProgress, isStuck, moveTo, moveTo, moveTo, recomputePath, resetMaxVisitedNodesMultiplier, setCanFloat, setMaxVisitedNodesMultiplier, setSpeedModifier, shouldRecomputePath, stop, trimPath
-
Constructor Details
-
FlyingPathNavigation
-
-
Method Details
-
createPathFinder
- Specified by:
createPathFinderin classPathNavigation
-
canMoveDirectly
- Overrides:
canMoveDirectlyin classPathNavigation
-
canUpdatePath
protected boolean canUpdatePath()- Specified by:
canUpdatePathin classPathNavigation
-
getTempMobPos
- Specified by:
getTempMobPosin classPathNavigation
-
createPath
- Overrides:
createPathin classPathNavigation
-
tick
public void tick()- Overrides:
tickin classPathNavigation
-
setCanOpenDoors
public void setCanOpenDoors(boolean p_26441_) -
canPassDoors
public boolean canPassDoors() -
setCanPassDoors
public void setCanPassDoors(boolean p_26444_) -
canOpenDoors
public boolean canOpenDoors() -
isStableDestination
- Overrides:
isStableDestinationin classPathNavigation
-