public class WaterPathNodeMaker extends PathNodeMaker
| Modifier and Type | Field and Description |
|---|---|
private boolean |
canJumpOutOfWater |
cachedWorld, canEnterOpenDoors, canOpenDoors, canSwim, entity, entityBlockXSize, entityBlockYSize, entityBlockZSize, pathNodeCache| Constructor and Description |
|---|
WaterPathNodeMaker(boolean canJumpOutOfWater) |
| Modifier and Type | Method and Description |
|---|---|
PathNodeType |
getDefaultNodeType(BlockView world,
int x,
int y,
int z)
Gets the path node type at the given position without adjusting the node type according to whether the entity can enter or open doors
|
TargetPathNode |
getNode(double x,
double y,
double z) |
protected PathNode |
getNode(int x,
int y,
int z) |
PathNodeType |
getNodeType(BlockView world,
int x,
int y,
int z,
MobEntity mob,
int sizeX,
int sizeY,
int sizeZ,
boolean canOpenDoors,
boolean canEnterOpenDoors) |
private PathNodeType |
getNodeType(int x,
int y,
int z) |
private PathNode |
getPathNodeInWater(int x,
int y,
int z) |
PathNode |
getStart() |
int |
getSuccessors(PathNode[] successors,
PathNode node) |
canEnterOpenDoors, canOpenDoors, canSwim, clear, init, method_27137, setCanEnterOpenDoors, setCanOpenDoors, setCanSwimpublic PathNode getStart()
getStart in class PathNodeMakerpublic TargetPathNode getNode(double x, double y, double z)
getNode in class PathNodeMakerpublic int getSuccessors(PathNode[] successors, PathNode node)
getSuccessors in class PathNodeMakerpublic PathNodeType getNodeType(BlockView world, int x, int y, int z, MobEntity mob, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors)
getNodeType in class PathNodeMakerpublic PathNodeType getDefaultNodeType(BlockView world, int x, int y, int z)
getDefaultNodeType in class PathNodeMaker@Nullable protected PathNode getNode(int x, int y, int z)
getNode in class PathNodeMakerprivate PathNodeType getNodeType(int x, int y, int z)