Class PathFinder
java.lang.Object
net.minecraft.world.level.pathfinder.PathFinder
-
Field Summary
Modifier and TypeFieldDescriptionprivate static boolean
private static float
private int
private Node[]
private NodeEvaluator
private 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:
- Constant Field Values
-
neighbors
-
maxVisitedNodes
private final int maxVisitedNodes -
nodeEvaluator
-
DEBUG
private static final boolean DEBUG- See Also:
- Constant Field Values
-
openSet
-
-
Constructor Details
-
PathFinder
-
-
Method Details
-
findPath
-
getBestH
-
reconstructPath