net.minecraft.entity.ai.pathing

public class PathNodeNavigator

net.minecraft.world.level.pathfinder.PathFinder
net.minecraft.class_13
net.minecraft.entity.ai.pathing.PathNodeNavigator

Field summary

Modifier and TypeField
private static final float
FUDGING
field_31807
TARGET_DISTANCE_MULTIPLIER
private final PathNode[]
neighbors
field_60
successors
private int
maxVisitedNodes
field_18708
range
private final PathNodeMaker
nodeEvaluator
field_61
pathNodeMaker
private final PathMinHeap
openSet
field_62
minHeap
private BooleanSupplier
captureDebug
field_62923
shouldSendDebugData

Constructor summary

ModifierConstructor
public (PathNodeMaker pathNodeMaker, int range)

Method summary

Modifier and TypeMethod
public void
setCaptureDebug(BooleanSupplier captureDebug)
method_74692(BooleanSupplier arg0)
setShouldSendDebugData(BooleanSupplier shouldSendDebugData)
public void
setMaxVisitedNodes(int maxVisitedNodes)
method_61822(int arg0)
setRange(int range)
public Path
findPath(PathNavigationRegion level, Mob entity, Set<BlockPos> targets, float maxPathLength, int reachRange, float maxVisitedNodesMultiplier)
method_52(class_1950 arg0, class_1308 arg1, Set<class_2338> arg2, float arg3, int arg4, float arg5)
findPathToAny(ChunkCache world, MobEntity mob, Set<BlockPos> positions, float followRange, int distance, float rangeMultiplier)
private Path
findPath(Node from, Map<Target, BlockPos> targetMap, float maxPathLength, int reachRange, float maxVisitedNodesMultiplier)
method_54(class_9 arg0, Map<class_4459, class_2338> arg1, float arg2, int arg3, float arg4)
findPathToAny(PathNode startNode, Map<TargetPathNode, BlockPos> positions, float followRange, int distance, float rangeMultiplier)
protected float
distance(Node from, Node to)
method_44000(class_9 arg0, class_9 arg1)
getDistance(PathNode a, PathNode b)
private float
getBestH(Node from, Set<Target> targets)
method_21658(class_9 arg0, Set<class_4459> arg1)
calculateDistances(PathNode node, Set<TargetPathNode> targets)
private Path
reconstructPath(Node closest, BlockPos target, boolean reached)
method_55(class_9 arg0, class_2338 arg1, boolean arg2)
createPath(PathNode endNode, BlockPos target, boolean reachesTarget)
private static PathNode[]
lambda$findPath$3(int arg0)
method_74693(int arg0)
method_74693(int arg0)
private Path
lambda$findPath$2(Map arg0, Target arg1)
method_21660(Map arg0, class_4459 arg1)
method_21660(Map arg0, TargetPathNode node)
private Path
lambda$findPath$1(Map arg0, Target arg1)
method_21661(Map arg0, class_4459 arg1)
method_21661(Map arg0, TargetPathNode node)
private TargetPathNode
lambda$findPath$0(BlockPos arg0)
method_21659(class_2338 arg0)
method_21659(BlockPos pos)
private static boolean
lambda$new$0()
method_74691()
method_74691()