public class WalkNodeProcessor extends NodeProcessor
blockaccess, canBreakDoors, canEnterDoors, canSwim, entity, entitySizeX, entitySizeY, entitySizeZ, pointMap
Constructor and Description |
---|
WalkNodeProcessor() |
Modifier and Type | Method and Description |
---|---|
int |
findPathOptions(PathPoint[] pathOptions,
PathPoint currentPoint,
PathPoint targetPoint,
float maxDistance) |
PathNodeType |
getPathNodeType(IBlockAccess blockaccessIn,
int x,
int y,
int z) |
PathNodeType |
getPathNodeType(IBlockAccess blockaccessIn,
int x,
int y,
int z,
EntityLiving entitylivingIn,
int xSize,
int ySize,
int zSize,
boolean canBreakDoorsIn,
boolean canEnterDoorsIn) |
PathPoint |
getPathPointToCoords(double x,
double y,
double z) |
PathPoint |
getStart() |
void |
initProcessor(IBlockAccess sourceIn,
EntityLiving mob) |
void |
postProcess() |
getCanBreakDoors, getCanEnterDoors, getCanSwim, openPoint, setCanBreakDoors, setCanEnterDoors, setCanSwim
public void initProcessor(IBlockAccess sourceIn, EntityLiving mob)
initProcessor
in class NodeProcessor
public void postProcess()
postProcess
in class NodeProcessor
public PathPoint getStart()
getStart
in class NodeProcessor
public PathPoint getPathPointToCoords(double x, double y, double z)
getPathPointToCoords
in class NodeProcessor
public int findPathOptions(PathPoint[] pathOptions, PathPoint currentPoint, PathPoint targetPoint, float maxDistance)
findPathOptions
in class NodeProcessor
public PathNodeType getPathNodeType(IBlockAccess blockaccessIn, int x, int y, int z, EntityLiving entitylivingIn, int xSize, int ySize, int zSize, boolean canBreakDoorsIn, boolean canEnterDoorsIn)
getPathNodeType
in class NodeProcessor
public PathNodeType getPathNodeType(IBlockAccess blockaccessIn, int x, int y, int z)
getPathNodeType
in class NodeProcessor