public class PathNavigateGround extends PathNavigate
currentPath, nodeProcessor, speed, theEntity, worldObj| Constructor and Description |
|---|
PathNavigateGround(EntityLiving entitylivingIn,
World worldIn) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canNavigate() |
boolean |
getCanSwim() |
boolean |
getEnterDoors() |
protected Vec3d |
getEntityPosition() |
protected PathFinder |
getPathFinder() |
Path |
getPathToEntityLiving(Entity entityIn) |
Path |
getPathToPos(BlockPos pos) |
protected boolean |
isDirectPathBetweenPoints(Vec3d posVec31,
Vec3d posVec32,
int sizeX,
int sizeY,
int sizeZ) |
protected void |
removeSunnyPath() |
void |
setAvoidSun(boolean avoidSun) |
void |
setBreakDoors(boolean canBreakDoors) |
void |
setCanSwim(boolean canSwim) |
void |
setEnterDoors(boolean enterDoors) |
canEntityStandOnPos, canUpdatePathOnTimeout, checkForStuck, clearPathEntity, 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 PathNavigateprotected void removeSunnyPath()
removeSunnyPath in class PathNavigateprotected boolean isDirectPathBetweenPoints(Vec3d posVec31, Vec3d posVec32, int sizeX, int sizeY, int sizeZ)
isDirectPathBetweenPoints in class PathNavigatepublic 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)