public class FlyingNodeProcessor extends WalkNodeProcessor
avoidsWater, currentEntity
blockaccess, canEnterDoors, canOpenDoors, canSwim, entity, entitySizeX, entitySizeY, entitySizeZ, pointMap
Constructor and Description |
---|
FlyingNodeProcessor() |
Modifier and Type | Method and Description |
---|---|
int |
findPathOptions(PathPoint[] pathOptions,
PathPoint currentPoint,
PathPoint targetPoint,
float maxDistance) |
private PathNodeType |
getPathNodeType(EntityLiving p_192559_1_,
BlockPos p_192559_2_) |
private PathNodeType |
getPathNodeType(EntityLiving p_192558_1_,
int p_192558_2_,
int p_192558_3_,
int p_192558_4_) |
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() |
void |
init(IBlockAccess sourceIn,
EntityLiving mob) |
protected PathPoint |
openPoint(int x,
int y,
int z) |
void |
postProcess() |
checkNeighborBlocks, getPathNodeType, getPathNodeTypeRaw
getCanEnterDoors, getCanOpenDoors, getCanSwim, setCanEnterDoors, setCanOpenDoors, setCanSwim
public void init(IBlockAccess sourceIn, EntityLiving mob)
init
in class WalkNodeProcessor
public void postProcess()
postProcess
in class WalkNodeProcessor
public PathPoint getStart()
getStart
in class WalkNodeProcessor
public PathPoint getPathPointToCoords(double x, double y, double z)
getPathPointToCoords
in class WalkNodeProcessor
public int findPathOptions(PathPoint[] pathOptions, PathPoint currentPoint, PathPoint targetPoint, float maxDistance)
findPathOptions
in class WalkNodeProcessor
@Nullable protected PathPoint openPoint(int x, int y, int z)
openPoint
in class NodeProcessor
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 WalkNodeProcessor
public PathNodeType getPathNodeType(IBlockAccess blockaccessIn, int x, int y, int z)
getPathNodeType
in class WalkNodeProcessor
private PathNodeType getPathNodeType(EntityLiving p_192559_1_, BlockPos p_192559_2_)
private PathNodeType getPathNodeType(EntityLiving p_192558_1_, int p_192558_2_, int p_192558_3_, int p_192558_4_)