minetest.find path

Description
Returns table containing path
 * returns a table of 3d points representing a path from pos1 to pos2 or nil
 * pos1: start position
 * pos2: end position
 * searchdistance: number of blocks to search in each direction
 * max_jump: maximum height difference to consider walkable
 * max_drop: maximum height difference to consider droppable
 * algorithm: A*_noprefetch(default), A*, Dijkstra