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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canMoveDirectly(Vec3 p_26433_, Vec3 p_26434_, int p_26435_, int p_26436_, int p_26437_)
boolean
boolean
protected boolean
createPath(Entity p_26430_, int p_26431_)
protected PathFinder
createPathFinder(int p_26428_)
protected Vec3
boolean
isStableDestination(BlockPos p_26439_)
void
setCanOpenDoors(boolean p_26441_)
void
setCanPassDoors(boolean p_26444_)
void
tick()
Methods inherited from class net.minecraft.world.entity.ai.navigation.PathNavigation
canFloat, createPath, createPath, createPath, createPath, createPath, createPath, createPath, doStuckDetection, followThePath, getMaxDistanceToWaypoint, getNodeEvaluator, getPath, getTargetPos, hasDelayedRecomputation, isDone, isInLiquid, isInProgress, isStuck, moveTo, moveTo, moveTo, recomputePath, recomputePath, resetMaxVisitedNodesMultiplier, setCanFloat, setMaxVisitedNodesMultiplier, setSpeedModifier, stop, trimPath
-
Constructor Details
-
FlyingPathNavigation
-
-
Method Details
-
createPathFinder
- Specified by:
createPathFinder
in classPathNavigation
-
canUpdatePath
protected boolean canUpdatePath()- Specified by:
canUpdatePath
in classPathNavigation
-
getTempMobPos
- Specified by:
getTempMobPos
in classPathNavigation
-
createPath
- Overrides:
createPath
in classPathNavigation
-
tick
public void tick()- Overrides:
tick
in classPathNavigation
-
canMoveDirectly
protected boolean canMoveDirectly(Vec3 p_26433_, Vec3 p_26434_, int p_26435_, int p_26436_, int p_26437_)- Specified by:
canMoveDirectly
in 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:
isStableDestination
in classPathNavigation
-