public class PathNavigateGround extends PathNavigate
| Modifier and Type | Field and Description |
|---|---|
private boolean |
shouldAvoidSun |
currentPath, entity, maxDistanceToWaypoint, nodeProcessor, speed, totalTicks, tryUpdatePath, world| Constructor and Description |
|---|
PathNavigateGround(EntityLiving entitylivingIn,
World worldIn) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canNavigate() |
boolean |
getCanSwim() |
boolean |
getEnterDoors() |
protected Vec3d |
getEntityPosition() |
private int |
getPathablePosY() |
protected PathFinder |
getPathFinder() |
Path |
getPathToEntityLiving(Entity entityIn) |
Path |
getPathToPos(BlockPos pos) |
protected boolean |
isDirectPathBetweenPoints(Vec3d posVec31,
Vec3d posVec32,
int sizeX,
int sizeY,
int sizeZ) |
private boolean |
isPositionClear(int x,
int y,
int z,
int sizeX,
int sizeY,
int sizeZ,
Vec3d p_179692_7_,
double p_179692_8_,
double p_179692_10_) |
private boolean |
isSafeToStandAt(int x,
int y,
int z,
int sizeX,
int sizeY,
int sizeZ,
Vec3d vec31,
double p_179683_8_,
double p_179683_10_) |
protected void |
removeSunnyPath() |
void |
setAvoidSun(boolean avoidSun) |
void |
setBreakDoors(boolean canBreakDoors) |
void |
setCanSwim(boolean canSwim) |
void |
setEnterDoors(boolean enterDoors) |
canEntityStandOnPos, canUpdatePathOnTimeout, checkForStuck, clearPath, debugPathFinding, getNodeProcessor, getPath, getPathSearchRange, getPathToXYZ, isInLiquid, noPath, onUpdateNavigation, pathFollow, setPath, setSpeed, tryMoveToEntityLiving, tryMoveToXYZ, updatePathpublic PathNavigateGround(EntityLiving entitylivingIn, World worldIn)
protected PathFinder getPathFinder()
getPathFinder in class PathNavigateprotected boolean canNavigate()
canNavigate in class PathNavigateprotected Vec3d getEntityPosition()
getEntityPosition in class PathNavigatepublic Path getPathToPos(BlockPos pos)
getPathToPos in class PathNavigatepublic Path getPathToEntityLiving(Entity entityIn)
getPathToEntityLiving in class PathNavigateprivate int getPathablePosY()
protected void removeSunnyPath()
removeSunnyPath in class PathNavigateprotected boolean isDirectPathBetweenPoints(Vec3d posVec31, Vec3d posVec32, int sizeX, int sizeY, int sizeZ)
isDirectPathBetweenPoints in class PathNavigateprivate boolean isSafeToStandAt(int x,
int y,
int z,
int sizeX,
int sizeY,
int sizeZ,
Vec3d vec31,
double p_179683_8_,
double p_179683_10_)
private boolean isPositionClear(int x,
int y,
int z,
int sizeX,
int sizeY,
int sizeZ,
Vec3d p_179692_7_,
double p_179692_8_,
double p_179692_10_)
public void setBreakDoors(boolean canBreakDoors)
public void setEnterDoors(boolean enterDoors)
public boolean getEnterDoors()
public void setCanSwim(boolean canSwim)
public boolean getCanSwim()
public void setAvoidSun(boolean avoidSun)