public class WalkNodeProcessor extends NodeProcessor
Modifier and Type | Field and Description |
---|---|
protected float |
avoidsWater |
blockaccess, canEnterDoors, canOpenDoors, canSwim, entity, entitySizeX, entitySizeY, entitySizeZ, pointMap
Constructor and Description |
---|
WalkNodeProcessor() |
Modifier and Type | Method and Description |
---|---|
static PathNodeType |
checkNeighborBlocks(IBlockReader p_193578_0_,
int blockaccessIn,
int x,
int y,
PathNodeType z) |
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_) |
private boolean |
func_222860_a(PathPoint p_222860_1_,
PathPoint p_222860_2_,
PathPoint p_222860_3_,
PathPoint p_222860_4_) |
FlaggedPathPoint |
func_224768_a(double p_224768_1_,
double p_224768_3_,
double p_224768_5_) |
void |
func_225578_a_(Region p_225578_1_,
MobEntity p_225578_2_) |
static PathNodeType |
func_227480_b_(IBlockReader p_227480_0_,
int p_227480_1_,
int p_227480_2_,
int p_227480_3_) |
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) |
private PathNodeType |
getPathNodeType(MobEntity entitylivingIn,
BlockPos pos) |
private PathNodeType |
getPathNodeType(MobEntity entitylivingIn,
int x,
int y,
int z) |
protected static PathNodeType |
getPathNodeTypeRaw(IBlockReader p_189553_0_,
int blockaccessIn,
int x,
int y) |
private PathPoint |
getSafePoint(int x,
int y,
int z,
int stepHeight,
double groundYIn,
Direction facing) |
PathPoint |
getStart() |
void |
postProcess() |
getCanEnterDoors, getCanOpenDoors, getCanSwim, openPoint, setCanEnterDoors, setCanOpenDoors, setCanSwim
public void func_225578_a_(Region p_225578_1_, MobEntity p_225578_2_)
func_225578_a_
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
private boolean func_222860_a(PathPoint p_222860_1_, @Nullable PathPoint p_222860_2_, @Nullable PathPoint p_222860_3_, @Nullable PathPoint p_222860_4_)
public static double getGroundY(IBlockReader p_197682_0_, BlockPos pos)
@Nullable private PathPoint getSafePoint(int x, int y, int z, int stepHeight, double groundYIn, Direction facing)
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_)
private PathNodeType getPathNodeType(MobEntity entitylivingIn, BlockPos pos)
private PathNodeType getPathNodeType(MobEntity entitylivingIn, int x, int y, int z)
public PathNodeType getPathNodeType(IBlockReader blockaccessIn, int x, int y, int z)
getPathNodeType
in class NodeProcessor
public static PathNodeType func_227480_b_(IBlockReader p_227480_0_, int p_227480_1_, int p_227480_2_, int p_227480_3_)
public static PathNodeType checkNeighborBlocks(IBlockReader p_193578_0_, int blockaccessIn, int x, int y, PathNodeType z)
protected static PathNodeType getPathNodeTypeRaw(IBlockReader p_189553_0_, int blockaccessIn, int x, int y)