public class SwimNodeProcessor extends NodeProcessor
blockaccess, canEnterDoors, canOpenDoors, canSwim, entity, entitySizeX, entitySizeY, entitySizeZ, pointMap| Constructor and Description |
|---|
SwimNodeProcessor() |
| 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() |
private PathPoint |
getWaterNode(int p_186328_1_,
int p_186328_2_,
int p_186328_3_) |
private PathNodeType |
isFree(int p_186327_1_,
int p_186327_2_,
int p_186327_3_) |
getCanEnterDoors, getCanOpenDoors, getCanSwim, init, openPoint, postProcess, setCanEnterDoors, setCanOpenDoors, setCanSwimpublic PathPoint getStart()
getStart in class NodeProcessorpublic PathPoint getPathPointToCoords(double x, double y, double z)
getPathPointToCoords in class NodeProcessorpublic int findPathOptions(PathPoint[] pathOptions, PathPoint currentPoint, PathPoint targetPoint, float maxDistance)
findPathOptions in class NodeProcessorpublic 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 NodeProcessorpublic PathNodeType getPathNodeType(IBlockAccess blockaccessIn, int x, int y, int z)
getPathNodeType in class NodeProcessor@Nullable private PathPoint getWaterNode(int p_186328_1_, int p_186328_2_, int p_186328_3_)
private PathNodeType isFree(int p_186327_1_, int p_186327_2_, int p_186327_3_)