Package net.minecraft.pathfinding
Class PathFinder
java.lang.Object
net.minecraft.pathfinding.PathFinder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final PathPoint[]private final NodeProcessorprivate final PathHeap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate PathfindPath(PathPoint p_227479_1_, Map<FlaggedPathPoint, BlockPos> p_227479_2_, float p_227479_3_, int p_227479_4_, float p_227479_5_) findPath(Region p_227478_1_, MobEntity p_227478_2_, Set<BlockPos> p_227478_3_, float p_227478_4_, int p_227478_5_, float p_227478_6_) private floatgetBestH(PathPoint p_224776_1_, Set<FlaggedPathPoint> p_224776_2_) private PathreconstructPath(PathPoint p_224780_1_, BlockPos p_224780_2_, boolean p_224780_3_)
-
Field Details
-
neighbors
-
maxVisitedNodes
private final int maxVisitedNodes -
nodeEvaluator
-
openSet
-
-
Constructor Details
-
PathFinder
-
-
Method Details
-
findPath
-
findPath
@Nullable private Path findPath(PathPoint p_227479_1_, Map<FlaggedPathPoint, BlockPos> p_227479_2_, float p_227479_3_, int p_227479_4_, float p_227479_5_) -
getBestH
-
reconstructPath
-