public class SwimNodeProcessor extends NodeProcessor
blockaccess, canEnterDoors, canOpenDoors, canSwim, entity, entitySizeX, entitySizeY, entitySizeZ, pointMap
Constructor and Description |
---|
SwimNodeProcessor(boolean p_i48927_1_) |
Modifier and Type | Method and Description |
---|---|
int |
findPathOptions(PathPoint[] pathOptions,
PathPoint currentPoint,
PathPoint targetPoint,
float maxDistance) |
PathNodeType |
getPathNodeType(IBlockReader blockaccessIn,
int x,
int y,
int z) |
PathNodeType |
getPathNodeType(IBlockReader 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() |
protected PathPoint |
openPoint(int x,
int y,
int z) |
getCanEnterDoors, getCanOpenDoors, getCanSwim, init, postProcess, setCanEnterDoors, setCanOpenDoors, setCanSwim
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(IBlockReader 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(IBlockReader blockaccessIn, int x, int y, int z)
getPathNodeType
in class NodeProcessor
@Nullable protected PathPoint openPoint(int x, int y, int z)
openPoint
in class NodeProcessor