类 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
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
boolean
protected boolean
createPath
(BlockPos pPos, int pAccuracy) createPath
(Entity pEntity, int pAccuracy) protected PathFinder
createPathFinder
(int pMaxVisitedNodes) private int
protected Vec3
protected boolean
hasValidPathType
(BlockPathTypes pPathType) void
setAvoidSun
(boolean pAvoidSun) void
setCanOpenDoors
(boolean pCanOpenDoors) void
setCanPassDoors
(boolean pCanPassDoors) void
setCanWalkOverFences
(boolean pCanWalkOverFences) 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, isInLiquid, isInProgress, isStableDestination, isStuck, moveTo, moveTo, moveTo, recomputePath, resetMaxVisitedNodesMultiplier, setCanFloat, setMaxVisitedNodesMultiplier, setSpeedModifier, shouldRecomputePath, stop, tick
-
字段详细资料
-
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 pCanOpenDoors) -
canPassDoors
public boolean canPassDoors() -
setCanPassDoors
public void setCanPassDoors(boolean pCanPassDoors) -
canOpenDoors
public boolean canOpenDoors() -
setAvoidSun
public void setAvoidSun(boolean pAvoidSun) -
setCanWalkOverFences
public void setCanWalkOverFences(boolean pCanWalkOverFences)
-