public class BirdPathNodeMaker extends LandPathNodeMaker
| Modifier and Type | Field and Description |
|---|---|
private it.unimi.dsi.fastutil.longs.Long2ObjectMap<PathNodeType> |
field_27341 |
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) |
PathNode |
getStart() |
int |
getSuccessors(PathNode[] successors,
PathNode node) |
void |
init(ChunkCache cachedWorld,
MobEntity entity) |
private boolean |
isPassable(PathNode node) |
private PathNodeType |
method_31932(int int2,
int int3,
int int4) |
private boolean |
unvisited(PathNode node) |
adjustNodeType, findNearbyNodeTypes, getCommonNodeType, getFeetY, getLandNodeType, getNodeTypeFromNeighborscanEnterOpenDoors, canOpenDoors, canSwim, method_27137, setCanEnterOpenDoors, setCanOpenDoors, setCanSwimprivate final it.unimi.dsi.fastutil.longs.Long2ObjectMap<PathNodeType> field_27341
public 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 PathNodeMakerprivate PathNodeType method_31932(int int2, int int3, int int4)
public 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 LandPathNodeMaker