summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorparamat <paramat@users.noreply.github.com>2018-02-21 14:34:06 +0000
committerSmallJoker <mk939@ymail.com>2018-06-03 17:32:00 +0200
commitc683e050d45285f38f822f04eeb65ad6c604c119 (patch)
treee249218a0ad7404e361c820984c8929a55d1a532 /doc/lua_api.txt
parentc2e39b9363f6a7df81a63c20912c8c469a480a0c (diff)
downloadminetest-c683e050d45285f38f822f04eeb65ad6c604c119.tar.gz
minetest-c683e050d45285f38f822f04eeb65ad6c604c119.tar.bz2
minetest-c683e050d45285f38f822f04eeb65ad6c604c119.zip
Find nodes in area (under air): Raise volume limit and document it
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 73572ac78..04ae33654 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2578,9 +2578,11 @@ and `minetest.auth_reload` call the authetification handler.
* `nodenames`: e.g. `{"ignore", "group:tree"}` or `"default:dirt"`
* First return value: Table with all node positions
* Second return value: Table with the count of each node with the node name as index
+ * Area volume is limited to 4,096,000 nodes
* `minetest.find_nodes_in_area_under_air(pos1, pos2, nodenames)`: returns a list of positions
* `nodenames`: e.g. `{"ignore", "group:tree"}` or `"default:dirt"`
* Return value: Table with all node positions with a node air above
+ * Area volume is limited to 4,096,000 nodes
* `minetest.get_perlin(noiseparams)`
* `minetest.get_perlin(seeddiff, octaves, persistence, scale)`
* Return world-specific perlin noise (`int(worldseed)+seeddiff`)