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, updatePath
public PathNavigateGround(EntityLiving entitylivingIn, World worldIn)
protected PathFinder getPathFinder()
getPathFinder
in class PathNavigate
protected boolean canNavigate()
canNavigate
in class PathNavigate
protected Vec3d getEntityPosition()
getEntityPosition
in class PathNavigate
public Path getPathToPos(BlockPos pos)
getPathToPos
in class PathNavigate
public Path getPathToEntityLiving(Entity entityIn)
getPathToEntityLiving
in class PathNavigate
protected void removeSunnyPath()
removeSunnyPath
in class PathNavigate
protected boolean isDirectPathBetweenPoints(Vec3d posVec31, Vec3d posVec32, int sizeX, int sizeY, int sizeZ)
isDirectPathBetweenPoints
in class PathNavigate
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)