public class WalkAndSwimNodeProcessor extends WalkNodeProcessor
avoidsWater, currentEntity
blockaccess, canEnterDoors, canOpenDoors, canSwim, entity, entitySizeX, entitySizeY, entitySizeZ, pointMap
Constructor and Description |
---|
WalkAndSwimNodeProcessor() |
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 p_193577_1_,
int x,
int y,
int z,
int xSize,
int ySize,
int zSize,
boolean canOpenDoorsIn,
boolean canEnterDoorsIn,
java.util.EnumSet<PathNodeType> p_193577_10_,
PathNodeType p_193577_11_,
BlockPos p_193577_12_) |
PathPoint |
getPathPointToCoords(double x,
double y,
double z) |
PathPoint |
getStart() |
void |
init(IBlockReader sourceIn,
EntityLiving mob) |
void |
postProcess() |
checkNeighborBlocks, func_197682_a, getPathNodeType, getPathNodeTypeRaw
getCanEnterDoors, getCanOpenDoors, getCanSwim, openPoint, setCanEnterDoors, setCanOpenDoors, setCanSwim
public void init(IBlockReader 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
public PathNodeType getPathNodeType(IBlockReader p_193577_1_, int x, int y, int z, int xSize, int ySize, int zSize, boolean canOpenDoorsIn, boolean canEnterDoorsIn, java.util.EnumSet<PathNodeType> p_193577_10_, PathNodeType p_193577_11_, BlockPos p_193577_12_)
getPathNodeType
in class WalkNodeProcessor
public PathNodeType getPathNodeType(IBlockReader blockaccessIn, int x, int y, int z)
getPathNodeType
in class WalkNodeProcessor