Class GroundPathNavigation
java.lang.Object
net.minecraft.world.entity.ai.navigation.PathNavigation
net.minecraft.world.entity.ai.navigation.GroundPathNavigation
- Direct Known Subclasses:
- Strider.StriderPathNavigation,- WallClimberNavigation
- 
Field SummaryFieldsFields inherited from class net.minecraft.world.entity.ai.navigation.PathNavigationhasDelayedRecomputation, lastStuckCheck, lastStuckCheckPos, lastTimeoutCheck, level, maxDistanceToWaypoint, mob, nodeEvaluator, path, speedModifier, tick, timeLastRecompute, timeoutCachedNode, timeoutLimit, timeoutTimer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbooleanprotected booleancreatePath(BlockPos p_26475_, int p_26476_) createPath(Entity p_26465_, int p_26466_) protected PathFindercreatePathFinder(int p_26453_) private intprotected Vec3protected booleanhasValidPathType(BlockPathTypes p_26467_) voidsetAvoidSun(boolean p_26491_) voidsetCanOpenDoors(boolean p_26478_) voidsetCanPassDoors(boolean p_148215_) voidsetCanWalkOverFences(boolean p_255877_) protected voidtrimPath()Methods inherited from class net.minecraft.world.entity.ai.navigation.PathNavigationcanCutCorner, canFloat, canMoveDirectly, createPath, createPath, createPath, createPath, createPath, createPath, doStuckDetection, followThePath, getGroundY, getMaxDistanceToWaypoint, getNodeEvaluator, getPath, getTargetPos, isClearForMovementBetween, isDone, isInProgress, isStableDestination, isStuck, moveTo, moveTo, moveTo, recomputePath, resetMaxVisitedNodesMultiplier, setCanFloat, setMaxVisitedNodesMultiplier, setSpeedModifier, shouldRecomputePath, stop, tick
- 
Field Details- 
avoidSunprivate boolean avoidSun
 
- 
- 
Constructor Details- 
GroundPathNavigation
 
- 
- 
Method Details- 
createPathFinder- Specified by:
- createPathFinderin class- PathNavigation
 
- 
canUpdatePathprotected boolean canUpdatePath()- Specified by:
- canUpdatePathin class- PathNavigation
 
- 
getTempMobPos- Specified by:
- getTempMobPosin class- PathNavigation
 
- 
createPath- Overrides:
- createPathin class- PathNavigation
 
- 
createPath- Overrides:
- createPathin class- PathNavigation
 
- 
getSurfaceYprivate int getSurfaceY()
- 
trimPathprotected void trimPath()- Overrides:
- trimPathin class- PathNavigation
 
- 
hasValidPathType
- 
setCanOpenDoorspublic void setCanOpenDoors(boolean p_26478_) 
- 
canPassDoorspublic boolean canPassDoors()
- 
setCanPassDoorspublic void setCanPassDoors(boolean p_148215_) 
- 
canOpenDoorspublic boolean canOpenDoors()
- 
setAvoidSunpublic void setAvoidSun(boolean p_26491_) 
- 
setCanWalkOverFencespublic void setCanWalkOverFences(boolean p_255877_) 
 
-