public class FlyingPathNavigator extends PathNavigator
currentPath, entity, lastPosCheck, lastTimeoutCheck, lastTimeUpdated, maxDistanceToWaypoint, nodeProcessor, speed, ticksAtLastPos, timeoutCachedNode, timeoutLimit, timeoutTimer, totalTicks, tryUpdatePath, world| コンストラクタと説明 |
|---|
FlyingPathNavigator(MobEntity entityIn,
World worldIn) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
canEntityStandOnPos(BlockPos pos) |
protected boolean |
canNavigate()
If on ground or swimming and can swim
|
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.
|
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 |
setCanEnterDoors(boolean canEnterDoorsIn) |
void |
setCanOpenDoors(boolean canOpenDoorsIn) |
void |
tick() |
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, getPathToPos, getTargetPos, isInLiquid, noPath, pathFollow, setCanSwim, setPath, setSpeed, trimPath, tryMoveToEntityLiving, tryMoveToXYZ, updatePathprotected PathFinder getPathFinder(int p_179679_1_)
getPathFinder クラス内 PathNavigatorprotected boolean canNavigate()
canNavigate クラス内 PathNavigatorprotected Vec3d getEntityPosition()
getEntityPosition クラス内 PathNavigatorpublic Path getPathToEntity(Entity entityIn, int p_75494_2_)
getPathToEntity クラス内 PathNavigatorpublic void tick()
tick クラス内 PathNavigatorprotected boolean isDirectPathBetweenPoints(Vec3d posVec31, Vec3d posVec32, int sizeX, int sizeY, int sizeZ)
isDirectPathBetweenPoints クラス内 PathNavigatorpublic void setCanOpenDoors(boolean canOpenDoorsIn)
public void setCanEnterDoors(boolean canEnterDoorsIn)
public boolean canEntityStandOnPos(BlockPos pos)
canEntityStandOnPos クラス内 PathNavigator