Class PathFinder
java.lang.Object
net.minecraft.world.level.pathfinder.PathFinder
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final booleanprivate static final floatprivate final intprivate final Node[]private final NodeEvaluatorprivate final BinaryHeap
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected floatprivate PathfindPath(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 floatprivate PathreconstructPath(Node p_77435_, BlockPos p_77436_, boolean p_77437_) 
- 
Field Details- 
FUDGINGprivate static final float FUDGING- See Also:
 
- 
neighbors
- 
maxVisitedNodesprivate final int maxVisitedNodes
- 
nodeEvaluator
- 
DEBUGprivate static final boolean DEBUG- See Also:
 
- 
openSet
 
- 
- 
Constructor Details- 
PathFinder
 
- 
- 
Method Details
- 
findPath
- 
distance
- 
getBestH
- 
reconstructPath