public class WalkAndSwimNodeProcessor extends WalkNodeProcessor
avoidsWater, currentEntityblockaccess, 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, getPathNodeTypeRawgetCanEnterDoors, getCanOpenDoors, getCanSwim, openPoint, setCanEnterDoors, setCanOpenDoors, setCanSwimpublic void init(IBlockReader sourceIn, EntityLiving mob)
init in class WalkNodeProcessorpublic void postProcess()
postProcess in class WalkNodeProcessorpublic PathPoint getStart()
getStart in class WalkNodeProcessorpublic PathPoint getPathPointToCoords(double x, double y, double z)
getPathPointToCoords in class WalkNodeProcessorpublic int findPathOptions(PathPoint[] pathOptions, PathPoint currentPoint, PathPoint targetPoint, float maxDistance)
findPathOptions in class WalkNodeProcessorpublic 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 WalkNodeProcessorpublic PathNodeType getPathNodeType(IBlockReader blockaccessIn, int x, int y, int z)
getPathNodeType in class WalkNodeProcessor