summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorparamat <paramat@users.noreply.github.com>2018-02-21 14:34:06 +0000
committerparamat <mat.gregory@virginmedia.com>2018-02-21 15:54:06 +0000
commit673f7196a2200a8f77d04a0470f642f729a4f94b (patch)
tree011134c2ad60ff04575887be82bfd0a2d97ab9f3 /doc
parent5652edea3be82e4f43f59722b766cff6a229f0f0 (diff)
downloadminetest-673f7196a2200a8f77d04a0470f642f729a4f94b.tar.gz
minetest-673f7196a2200a8f77d04a0470f642f729a4f94b.tar.bz2
minetest-673f7196a2200a8f77d04a0470f642f729a4f94b.zip
Find nodes in area (under air): Raise volume limit and document it
Diffstat (limited to 'doc')
-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 eb3060825..5f06a4ccc 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2819,9 +2819,11 @@ and `minetest.auth_reload` call the authentication 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`)