public class GroundPathNavigator extends PathNavigator
currentPath, entity, lastPosCheck, lastTimeoutCheck, lastTimeUpdated, maxDistanceToWaypoint, nodeProcessor, speed, ticksAtLastPos, timeoutCachedNode, timeoutLimit, timeoutTimer, totalTicks, tryUpdatePath, world| コンストラクタと説明 |
|---|
GroundPathNavigator(MobEntity entitylivingIn,
World worldIn) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected boolean |
canNavigate()
If on ground or swimming and can swim
|
boolean |
getEnterDoors() |
protected Vec3d |
getEntityPosition() |
protected PathFinder |
getPathFinder(int p_179679_1_) |
Path |
getPathToEntity(Entity entityIn,
int p_75494_2_)
Returns the path to the given EntityLiving.
|
Path |
getPathToPos(BlockPos pos,
int p_179680_2_)
Returns path to given BlockPos
|
protected boolean |
isDirectPathBetweenPoints(Vec3d posVec31,
Vec3d posVec32,
int sizeX,
int sizeY,
int sizeZ)
Checks if the specified entity can safely walk to the specified location.
|
void |
setAvoidSun(boolean avoidSun) |
void |
setBreakDoors(boolean canBreakDoors) |
protected void |
trimPath()
Trims path data from the end to the first sun covered block
|
canEntityStandOnPos, canUpdatePathOnTimeout, checkForStuck, clearPath, func_220970_c, func_225463_a, func_225464_a, func_226335_a_, func_226336_g_, func_226337_n_, getCanSwim, getNodeProcessor, getPath, getPathToPos, getTargetPos, isInLiquid, noPath, pathFollow, setCanSwim, setPath, setSpeed, tick, tryMoveToEntityLiving, tryMoveToXYZ, updatePathprotected PathFinder getPathFinder(int p_179679_1_)
getPathFinder クラス内 PathNavigatorprotected boolean canNavigate()
canNavigate クラス内 PathNavigatorprotected Vec3d getEntityPosition()
getEntityPosition クラス内 PathNavigatorpublic Path getPathToPos(BlockPos pos, int p_179680_2_)
getPathToPos クラス内 PathNavigatorpublic Path getPathToEntity(Entity entityIn, int p_75494_2_)
getPathToEntity クラス内 PathNavigatorprotected void trimPath()
trimPath クラス内 PathNavigatorprotected boolean isDirectPathBetweenPoints(Vec3d posVec31, Vec3d posVec32, int sizeX, int sizeY, int sizeZ)
isDirectPathBetweenPoints クラス内 PathNavigatorpublic void setBreakDoors(boolean canBreakDoors)
public boolean getEnterDoors()
public void setAvoidSun(boolean avoidSun)