mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add return list of individual counts to find_node_in_area
This commit is contained in:
parent
502e40a649
commit
e50aa4ed06
2 changed files with 20 additions and 10 deletions
|
@ -1917,6 +1917,7 @@ and `minetest.auth_reload` call the authetification handler.
|
|||
* `minetest.find_node_near(pos, radius, nodenames)`: returns pos or `nil`
|
||||
* `nodenames`: e.g. `{"ignore", "group:tree"}` or `"default:dirt"`
|
||||
* `minetest.find_nodes_in_area(minp, maxp, nodenames)`: returns a list of positions
|
||||
* returns as second value a table with the count of the individual nodes found
|
||||
* `nodenames`: e.g. `{"ignore", "group:tree"}` or `"default:dirt"`
|
||||
* `minetest.find_nodes_in_area_under_air(minp, maxp, nodenames)`: returns a list of positions
|
||||
* returned positions are nodes with a node air above
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue