diff options
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r-- | doc/lua_api.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index b58c75d11..e9a95c9e7 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -5628,6 +5628,13 @@ Environment access prefix `"no"` is attached, clears instead. * `flags` is in the same format and has the same options as `mg_flags` in `minetest.conf`. +* `minetest.get_mapgen_edges([mapgen_limit[, chunksize]])` + * Returns the minimum and maximum possible generated node positions + in that order. + * `mapgen_limit` is an optional number. If it is absent, its value is that + of the *active* mapgen setting `"mapgen_limit"`. + * `chunksize` is an optional number. If it is absent, its value is that + of the *active* mapgen setting `"chunksize"`. * `minetest.get_mapgen_setting(name)` * Gets the *active* mapgen setting (or nil if none exists) in string format with the following order of precedence: |