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(IBlockAccess 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) |
private PathNodeType |
getPathNodeType(EntityLiving entitylivingIn,
BlockPos pos) |
private PathNodeType |
getPathNodeType(EntityLiving entitylivingIn,
int x,
int y,
int z) |
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) |
PathNodeType |
getPathNodeType(IBlockAccess 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(IBlockAccess p_189553_1_,
int p_189553_2_,
int p_189553_3_,
int p_189553_4_) |
PathPoint |
getPathPointToCoords(double x,
double y,
double z) |
private PathPoint |
getSafePoint(int x,
int y,
int z,
int p_186332_4_,
double p_186332_5_,
EnumFacing facing) |
PathPoint |
getStart() |
void |
init(IBlockAccess sourceIn,
EntityLiving mob) |
void |
postProcess() |
getCanEnterDoors, getCanOpenDoors, getCanSwim, openPoint, setCanEnterDoors, setCanOpenDoors, setCanSwimprotected float avoidsWater
protected EntityLiving currentEntity
public void init(IBlockAccess sourceIn, EntityLiving mob)
init in class NodeProcessorpublic void postProcess()
postProcess in class NodeProcessorpublic 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 NodeProcessor@Nullable private PathPoint getSafePoint(int x, int y, int z, int p_186332_4_, double p_186332_5_, EnumFacing facing)
public 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 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_)
private PathNodeType getPathNodeType(EntityLiving entitylivingIn, BlockPos pos)
private PathNodeType getPathNodeType(EntityLiving entitylivingIn, int x, int y, int z)
public PathNodeType getPathNodeType(IBlockAccess blockaccessIn, int x, int y, int z)
getPathNodeType in class NodeProcessorpublic PathNodeType checkNeighborBlocks(IBlockAccess p_193578_1_, int p_193578_2_, int p_193578_3_, int p_193578_4_, PathNodeType p_193578_5_)
protected PathNodeType getPathNodeTypeRaw(IBlockAccess p_189553_1_, int p_189553_2_, int p_189553_3_, int p_189553_4_)