Class PathFinder
java.lang.Object
net.minecraft.world.level.pathfinder.PathFinder
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final boolean
private static final float
private final int
private final Node[]
private final NodeEvaluator
private final BinaryHeap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate Path
findPath
(ProfilerFiller p_164717_, Node p_164718_, Map<Target, BlockPos> p_164719_, float p_164720_, int p_164721_, float p_164722_) findPath
(PathNavigationRegion p_77428_, Mob p_77429_, Set<BlockPos> p_77430_, float p_77431_, int p_77432_, float p_77433_) private float
private Path
reconstructPath
(Node p_77435_, BlockPos p_77436_, boolean p_77437_)
-
Field Details
-
FUDGING
private static final float FUDGING- See Also:
-
neighbors
-
maxVisitedNodes
private final int maxVisitedNodes -
nodeEvaluator
-
DEBUG
private static final boolean DEBUG- See Also:
-
openSet
-
-
Constructor Details
-
PathFinder
-
-
Method Details
-
findPath
-
getBestH
-
reconstructPath