Usually just FlxPathfinderData.new, but can be any function that takes a map and 2 indices and returns whatever FlxPathfinderData you're looking for.
5.0.0
(map:Tilemap, startIndex:Int, endIndex:Int) ‑> Data