public class FlyingNodeProcessor extends WalkNodeProcessor
avoidsWater
blockaccess, canEnterDoors, canOpenDoors, canSwim, entity, entitySizeX, entitySizeY, entitySizeZ, pointMap
Constructor and Description |
---|
FlyingNodeProcessor() |
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 |
init(IBlockAccess sourceIn,
EntityLiving mob) |
protected PathPoint |
openPoint(int x,
int y,
int z) |
void |
postProcess() |
checkNeighborBlocks, getPathNodeType, getPathNodeTypeRaw
getCanEnterDoors, getCanOpenDoors, getCanSwim, setCanEnterDoors, setCanOpenDoors, setCanSwim
public void init(IBlockAccess sourceIn, EntityLiving mob)
init
in class WalkNodeProcessor
public void postProcess()
postProcess
in class WalkNodeProcessor
public PathPoint getStart()
getStart
in class WalkNodeProcessor
public PathPoint getPathPointToCoords(double x, double y, double z)
getPathPointToCoords
in class WalkNodeProcessor
public int findPathOptions(PathPoint[] pathOptions, PathPoint currentPoint, PathPoint targetPoint, float maxDistance)
findPathOptions
in class WalkNodeProcessor
@Nullable protected PathPoint openPoint(int x, int y, int z)
openPoint
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 WalkNodeProcessor
public PathNodeType getPathNodeType(IBlockAccess blockaccessIn, int x, int y, int z)
getPathNodeType
in class WalkNodeProcessor