public class BirdPathNodeMaker extends LandPathNodeMaker
waterPathNodeTypeWeightcachedWorld, canEnterOpenDoors, canOpenDoors, canSwim, entity, entityBlockXSize, entityBlockYSize, entityBlockZSize, pathNodeCache| Constructor and Description |
|---|
BirdPathNodeMaker() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
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(MobEntity entity,
BlockPos pos) |
private PathNodeType |
getNodeType(MobEntity entity,
int x,
int y,
int z) |
PathNode |
getStart() |
int |
getSuccessors(PathNode[] successors,
PathNode node) |
void |
init(ChunkCache cachedWorld,
MobEntity entity) |
private boolean |
isPassable(PathNode node) |
private boolean |
unvisited(PathNode node) |
adjustNodeType, findNearbyNodeTypes, getCommonNodeType, getFeetY, getLandNodeType, getNodeTypeFromNeighborscanEnterOpenDoors, canOpenDoors, canSwim, method_27137, setCanEnterOpenDoors, setCanOpenDoors, setCanSwimpublic void init(ChunkCache cachedWorld, MobEntity entity)
init in class LandPathNodeMakerpublic void clear()
clear in class LandPathNodeMakerpublic PathNode getStart()
getStart in class LandPathNodeMakerpublic TargetPathNode getNode(double x, double y, double z)
getNode in class LandPathNodeMakerpublic int getSuccessors(PathNode[] successors, PathNode node)
getSuccessors in class LandPathNodeMaker@Nullable protected PathNode getNode(int x, int y, int z)
getNode 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 LandPathNodeMakerpublic PathNodeType getDefaultNodeType(BlockView world, int x, int y, int z)
getDefaultNodeType in class LandPathNodeMakerprivate PathNodeType getNodeType(MobEntity entity, BlockPos pos)
private PathNodeType getNodeType(MobEntity entity, int x, int y, int z)