summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorElias Fleckenstein <54945686+EliasFleckenstein03@users.noreply.github.com>2020-12-29 16:50:09 +0100
committerGitHub <noreply@github.com>2020-12-29 16:50:09 +0100
commit9250b5205a6c627dfa18b7870b454d74f8d9dae6 (patch)
tree029b10d67356eb052fe2594f3d58967dc9d2a88e /doc/lua_api.txt
parent09d7fbd645888aac32d089ff528ac1d1eb87e72d (diff)
downloadminetest-9250b5205a6c627dfa18b7870b454d74f8d9dae6.tar.gz
minetest-9250b5205a6c627dfa18b7870b454d74f8d9dae6.tar.bz2
minetest-9250b5205a6c627dfa18b7870b454d74f8d9dae6.zip
Add minetest.get_objects_in_area (#10668)
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 708d6b0bc..800fc0c24 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -4891,6 +4891,9 @@ Environment access
* `minetest.get_objects_inside_radius(pos, radius)`: returns a list of
ObjectRefs.
* `radius`: using an euclidean metric
+* `minetest.get_objects_in_area(pos1, pos2)`: returns a list of
+ ObjectRefs.
+ * `pos1` and `pos2` are the min and max positions of the area to search.
* `minetest.set_timeofday(val)`
* `val` is between `0` and `1`; `0` for midnight, `0.5` for midday
* `minetest.get_timeofday()`