Class PathFinder


  • public class PathFinder
    extends java.lang.Object
    • Field Detail

      • neighbors

        private final PathPoint[] neighbors
      • maxVisitedNodes

        private final int maxVisitedNodes
      • openSet

        private final PathHeap openSet
    • Constructor Detail

      • PathFinder

        public PathFinder​(NodeProcessor p_i51280_1_,
                          int p_i51280_2_)
    • Method Detail

      • findPath

        @Nullable
        public Path findPath​(Region p_227478_1_,
                             MobEntity p_227478_2_,
                             java.util.Set<BlockPos> p_227478_3_,
                             float p_227478_4_,
                             int p_227478_5_,
                             float p_227478_6_)
      • findPath

        @Nullable
        private Path findPath​(PathPoint p_227479_1_,
                              java.util.Map<FlaggedPathPoint,​BlockPos> p_227479_2_,
                              float p_227479_3_,
                              int p_227479_4_,
                              float p_227479_5_)
      • reconstructPath

        private Path reconstructPath​(PathPoint p_224780_1_,
                                     BlockPos p_224780_2_,
                                     boolean p_224780_3_)