public class WalkNodeProcessor extends NodeProcessor
Modifier and Type | Field and Description |
---|---|
protected float |
avoidsWater |
protected EntityLiving |
currentEntity |
blockaccess, canEnterDoors, canOpenDoors, canSwim, entity, entitySizeX, entitySizeY, entitySizeZ, pointMap
Constructor and Description |
---|
WalkNodeProcessor() |
Modifier and Type | Method and Description |
---|---|
PathNodeType |
checkNeighborBlocks(IBlockReader p_193578_1_,
int p_193578_2_,
int p_193578_3_,
int p_193578_4_,
PathNodeType p_193578_5_) |
int |
findPathOptions(PathPoint[] pathOptions,
PathPoint currentPoint,
PathPoint targetPoint,
float maxDistance) |
static double |
func_197682_a(IBlockReader p_197682_0_,
BlockPos p_197682_1_) |
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) |
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_) |
protected PathNodeType |
getPathNodeTypeRaw(IBlockReader p_189553_1_,
int p_189553_2_,
int p_189553_3_,
int p_189553_4_) |
PathPoint |
getPathPointToCoords(double x,
double y,
double z) |
PathPoint |
getStart() |
void |
init(IBlockReader sourceIn,
EntityLiving mob) |
void |
postProcess() |
getCanEnterDoors, getCanOpenDoors, getCanSwim, openPoint, setCanEnterDoors, setCanOpenDoors, setCanSwim
protected float avoidsWater
protected EntityLiving currentEntity
public void init(IBlockReader sourceIn, EntityLiving mob)
init
in class NodeProcessor
public void postProcess()
postProcess
in class NodeProcessor
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 static double func_197682_a(IBlockReader p_197682_0_, BlockPos p_197682_1_)
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 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_)
public PathNodeType getPathNodeType(IBlockReader blockaccessIn, int x, int y, int z)
getPathNodeType
in class NodeProcessor
public PathNodeType checkNeighborBlocks(IBlockReader p_193578_1_, int p_193578_2_, int p_193578_3_, int p_193578_4_, PathNodeType p_193578_5_)
protected PathNodeType getPathNodeTypeRaw(IBlockReader p_189553_1_, int p_189553_2_, int p_189553_3_, int p_189553_4_)