net.minecraft.entity.ai.pathing

public class BirdPathNodeMaker

extends LandPathNodeMaker

net.minecraft.world.level.pathfinder.FlyNodeEvaluator
net.minecraft.class_6
net.minecraft.entity.ai.pathing.BirdPathNodeMaker

Field summary

Modifier and TypeField
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<PathNodeType>
pathTypeByPosCache
field_27341
pathNodes
private static final float
SMALL_MOB_SIZE
field_49843
field_49843
private static final float
SMALL_MOB_INFLATED_START_NODE_BOUNDING_BOX
field_41681
field_41681
private static final int
MAX_START_NODE_CANDIDATES
field_41682
field_41682

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
prepare(PathNavigationRegion level, Mob entity)
method_12(class_1950 arg0, class_1308 arg1)
init(ChunkCache arg0, MobEntity arg1)
public void
done()
method_19()
clear()
public PathNode
getStart()
method_21()
getStart()
protected boolean
canStartAt(BlockPos pos)
method_47893(class_2338 arg0)
canPathThrough(BlockPos arg0)
public TargetPathNode
getTarget(double x, double y, double z)
method_16(double arg0, double arg1, double arg2)
getNode(double arg0, double arg1, double arg2)
public int
getNeighbors(Node[] neighbors, Node pos)
method_18(class_9[] arg0, class_9 arg1)
getSuccessors(PathNode[] arg0, PathNode arg1)
private boolean
hasMalus(Node node)
method_22877(class_9 arg0)
isPassable(PathNode node)
private boolean
isOpen(Node node)
method_22878(class_9 arg0)
unvisited(PathNode node)
protected PathNode
findAcceptedNode(int x, int y, int z)
method_47933(int arg0, int arg1, int arg2)
getPassableNode(int x, int y, int z)
protected PathNodeType
getCachedPathType(int x, int y, int z)
method_31932(int arg0, int arg1, int arg2)
getNodeType(int arg0, int arg1, int arg2)
public PathNodeType
getPathType(PathfindingContext context, int x, int y, int z)
method_17(class_9316 arg0, int arg1, int arg2, int arg3)
getDefaultNodeType(PathContext arg0, int arg1, int arg2, int arg3)
private Iterable<BlockPos>
iteratePathfindingStartNodeCandidatePositions(Mob mob)
method_47934(class_1308 arg0)
getPotentialEscapePositions(MobEntity entity)
private PathNodeType
lambda$getCachedPathType$0(int arg0, int arg1, int arg2, long arg3)
method_9(int arg0, int arg1, int arg2, long arg3)
getNodeType(int arg0, int arg1, int arg2, long pos)