public class FlyingPathNavigator extends PathNavigator
currentPath, entity, lastPosCheck, lastTimeoutCheck, lastTimeUpdated, maxDistanceToWaypoint, nodeProcessor, speed, ticksAtLastPos, timeoutCachedNode, timeoutLimit, timeoutTimer, totalTicks, tryUpdatePath, world| Constructor and Description |
|---|
FlyingPathNavigator(MobEntity entityIn,
World worldIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEntityStandOnPos(BlockPos pos) |
protected boolean |
canNavigate() |
protected Vec3d |
getEntityPosition() |
protected PathFinder |
getPathFinder(int p_179679_1_) |
Path |
getPathToEntity(Entity entityIn,
int p_75494_2_) |
protected boolean |
isDirectPathBetweenPoints(Vec3d posVec31,
Vec3d posVec32,
int sizeX,
int sizeY,
int sizeZ) |
void |
setCanEnterDoors(boolean canEnterDoorsIn) |
void |
setCanOpenDoors(boolean canOpenDoorsIn) |
void |
tick() |
canUpdatePathOnTimeout, checkForStuck, clearPath, func_220970_c, func_225463_a, func_225464_a, func_226337_n_, getCanSwim, getNodeProcessor, getPath, getPathToPos, getPathToPos, getTargetPos, isInLiquid, noPath, pathFollow, resetRangeMultiplier, setCanSwim, setPath, setRangeMultiplier, setSpeed, trimPath, tryMoveToEntityLiving, tryMoveToXYZ, updatePathprotected PathFinder getPathFinder(int p_179679_1_)
getPathFinder in class PathNavigatorprotected boolean canNavigate()
canNavigate in class PathNavigatorprotected Vec3d getEntityPosition()
getEntityPosition in class PathNavigatorpublic Path getPathToEntity(Entity entityIn, int p_75494_2_)
getPathToEntity in class PathNavigatorpublic void tick()
tick in class PathNavigatorprotected boolean isDirectPathBetweenPoints(Vec3d posVec31, Vec3d posVec32, int sizeX, int sizeY, int sizeZ)
isDirectPathBetweenPoints in class PathNavigatorpublic void setCanOpenDoors(boolean canOpenDoorsIn)
public void setCanEnterDoors(boolean canEnterDoorsIn)
public boolean canEntityStandOnPos(BlockPos pos)
canEntityStandOnPos in class PathNavigator