public class GroundPathNavigator extends PathNavigator
currentPath, entity, lastPosCheck, lastTimeoutCheck, lastTimeUpdated, maxDistanceToWaypoint, nodeProcessor, speed, ticksAtLastPos, timeoutCachedNode, timeoutLimit, timeoutTimer, totalTicks, tryUpdatePath, world| Constructor and Description |
|---|
GroundPathNavigator(MobEntity entitylivingIn,
World worldIn) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canNavigate() |
boolean |
getEnterDoors() |
protected Vec3d |
getEntityPosition() |
protected PathFinder |
getPathFinder(int p_179679_1_) |
Path |
getPathToEntityLiving(Entity entityIn,
int p_75494_2_) |
Path |
getPathToPos(BlockPos pos,
int p_179680_2_) |
protected boolean |
isDirectPathBetweenPoints(Vec3d posVec31,
Vec3d posVec32,
int sizeX,
int sizeY,
int sizeZ) |
void |
setAvoidSun(boolean avoidSun) |
void |
setBreakDoors(boolean canBreakDoors) |
protected void |
trimPath() |
canEntityStandOnPos, canUpdatePathOnTimeout, checkForStuck, clearPath, func_220970_c, func_225463_a, func_225464_a, func_225466_a, getCanSwim, getNodeProcessor, getPath, getPathSearchRange, getTargetPos, isInLiquid, noPath, pathFollow, setCanSwim, setPath, setSpeed, tick, 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 getPathToPos(BlockPos pos, int p_179680_2_)
getPathToPos in class PathNavigatorpublic Path getPathToEntityLiving(Entity entityIn, int p_75494_2_)
getPathToEntityLiving in class PathNavigatorprotected void trimPath()
trimPath in class PathNavigatorprotected boolean isDirectPathBetweenPoints(Vec3d posVec31, Vec3d posVec32, int sizeX, int sizeY, int sizeZ)
isDirectPathBetweenPoints in class PathNavigatorpublic void setBreakDoors(boolean canBreakDoors)
public boolean getEnterDoors()
public void setAvoidSun(boolean avoidSun)