类 GroundPathNavigation
java.lang.Object
net.minecraft.world.entity.ai.navigation.PathNavigation
net.minecraft.world.entity.ai.navigation.GroundPathNavigation
-
字段概要
字段从类继承的字段 net.minecraft.world.entity.ai.navigation.PathNavigation
hasDelayedRecomputation, lastStuckCheck, lastStuckCheckPos, lastTimeoutCheck, level, maxDistanceToWaypoint, mob, nodeEvaluator, path, speedModifier, tick, timeLastRecompute, timeoutCachedNode, timeoutLimit, timeoutTimer
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected boolean
createPath
(BlockPos p_26475_, int p_26476_) createPath
(Entity p_26465_, int p_26466_) protected PathFinder
createPathFinder
(int p_26453_) private int
protected Vec3
protected boolean
hasValidPathType
(PathType p_329492_) void
setAvoidSun
(boolean p_26491_) void
setCanOpenDoors
(boolean p_26478_) void
setCanWalkOverFences
(boolean p_255877_) protected void
trimPath()
从类继承的方法 net.minecraft.world.entity.ai.navigation.PathNavigation
canCutCorner, canFloat, canMoveDirectly, createPath, createPath, createPath, createPath, createPath, createPath, doStuckDetection, followThePath, getGroundY, getMaxDistanceToWaypoint, getNodeEvaluator, getPath, getTargetPos, isClearForMovementBetween, isDone, isInProgress, isStableDestination, isStuck, moveTo, moveTo, moveTo, moveTo, recomputePath, resetMaxVisitedNodesMultiplier, setCanFloat, setMaxVisitedNodesMultiplier, setRequiredPathLength, setSpeedModifier, shouldRecomputePath, stop, tick, updatePathfinderMaxVisitedNodes
-
字段详细资料
-
avoidSun
private boolean avoidSun
-
-
构造器详细资料
-
GroundPathNavigation
-
-
方法详细资料
-
createPathFinder
- 指定者:
createPathFinder
在类中PathNavigation
-
canUpdatePath
protected boolean canUpdatePath()- 指定者:
canUpdatePath
在类中PathNavigation
-
getTempMobPos
- 指定者:
getTempMobPos
在类中PathNavigation
-
createPath
- 覆盖:
createPath
在类中PathNavigation
-
createPath
- 覆盖:
createPath
在类中PathNavigation
-
getSurfaceY
private int getSurfaceY() -
trimPath
protected void trimPath()- 覆盖:
trimPath
在类中PathNavigation
-
hasValidPathType
-
setCanOpenDoors
public void setCanOpenDoors(boolean p_26478_) -
setAvoidSun
public void setAvoidSun(boolean p_26491_) -
setCanWalkOverFences
public void setCanWalkOverFences(boolean p_255877_)
-