public class WalkNodeProcessor extends NodeProcessor
Modifier and Type | Field and Description |
---|---|
protected float |
avoidsWater |
protected MobEntity |
currentEntity |
blockaccess, canEnterDoors, canOpenDoors, canSwim, entity, entitySizeX, entitySizeY, entitySizeZ, pointMap
Constructor and Description |
---|
WalkNodeProcessor() |
Modifier and Type | Method and Description |
---|---|
PathNodeType |
checkNeighborBlocks(IBlockReader blockaccessIn,
int x,
int y,
int z,
PathNodeType nodeType) |
protected PathNodeType |
func_215744_a(IBlockReader p_215744_1_,
boolean p_215744_2_,
boolean p_215744_3_,
BlockPos p_215744_4_,
PathNodeType p_215744_5_) |
int |
func_222859_a(PathPoint[] p_222859_1_,
PathPoint p_222859_2_) |
FlaggedPathPoint |
func_224768_a(double p_224768_1_,
double p_224768_3_,
double p_224768_5_) |
static double |
getGroundY(IBlockReader p_197682_0_,
BlockPos pos) |
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> nodeTypeEnum,
PathNodeType nodeType,
BlockPos pos) |
PathNodeType |
getPathNodeType(IBlockReader blockaccessIn,
int x,
int y,
int z,
MobEntity entitylivingIn,
int xSize,
int ySize,
int zSize,
boolean canBreakDoorsIn,
boolean canEnterDoorsIn) |
protected PathNodeType |
getPathNodeTypeRaw(IBlockReader blockaccessIn,
int x,
int y,
int z) |
PathPoint |
getStart() |
void |
init(IWorldReader sourceIn,
MobEntity mob) |
void |
postProcess() |
getCanEnterDoors, getCanOpenDoors, getCanSwim, openPoint, setCanEnterDoors, setCanOpenDoors, setCanSwim
protected float avoidsWater
protected MobEntity currentEntity
public void init(IWorldReader sourceIn, MobEntity mob)
init
in class NodeProcessor
public void postProcess()
postProcess
in class NodeProcessor
public PathPoint getStart()
getStart
in class NodeProcessor
public FlaggedPathPoint func_224768_a(double p_224768_1_, double p_224768_3_, double p_224768_5_)
func_224768_a
in class NodeProcessor
public int func_222859_a(PathPoint[] p_222859_1_, PathPoint p_222859_2_)
func_222859_a
in class NodeProcessor
public static double getGroundY(IBlockReader p_197682_0_, BlockPos pos)
public PathNodeType getPathNodeType(IBlockReader blockaccessIn, int x, int y, int z, MobEntity 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> nodeTypeEnum, PathNodeType nodeType, BlockPos pos)
protected PathNodeType func_215744_a(IBlockReader p_215744_1_, boolean p_215744_2_, boolean p_215744_3_, BlockPos p_215744_4_, PathNodeType p_215744_5_)
public PathNodeType getPathNodeType(IBlockReader blockaccessIn, int x, int y, int z)
getPathNodeType
in class NodeProcessor
public PathNodeType checkNeighborBlocks(IBlockReader blockaccessIn, int x, int y, int z, PathNodeType nodeType)
protected PathNodeType getPathNodeTypeRaw(IBlockReader blockaccessIn, int x, int y, int z)