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, updatePath
protected PathFinder getPathFinder(int p_179679_1_)
getPathFinder
in class PathNavigator
protected boolean canNavigate()
canNavigate
in class PathNavigator
protected Vec3d getEntityPosition()
getEntityPosition
in class PathNavigator
public Path getPathToPos(BlockPos pos, int p_179680_2_)
getPathToPos
in class PathNavigator
public Path getPathToEntityLiving(Entity entityIn, int p_75494_2_)
getPathToEntityLiving
in class PathNavigator
protected void trimPath()
trimPath
in class PathNavigator
protected boolean isDirectPathBetweenPoints(Vec3d posVec31, Vec3d posVec32, int sizeX, int sizeY, int sizeZ)
isDirectPathBetweenPoints
in class PathNavigator
public void setBreakDoors(boolean canBreakDoors)
public boolean getEnterDoors()
public void setAvoidSun(boolean avoidSun)