diff options
author | Elias Fleckenstein <54945686+EliasFleckenstein03@users.noreply.github.com> | 2020-12-29 16:50:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-29 16:50:09 +0100 |
commit | 9250b5205a6c627dfa18b7870b454d74f8d9dae6 (patch) | |
tree | 029b10d67356eb052fe2594f3d58967dc9d2a88e /doc/lua_api.txt | |
parent | 09d7fbd645888aac32d089ff528ac1d1eb87e72d (diff) | |
download | minetest-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.txt | 3 |
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()` |