diff options
author | HybridDog <ovvv@web.de> | 2018-12-31 01:32:54 +0100 |
---|---|---|
committer | Paramat <paramat@users.noreply.github.com> | 2018-12-31 00:32:54 +0000 |
commit | c6f784f43bca3328c6810c26c8bda2ea507c70e8 (patch) | |
tree | bfd61739a0a71b03a9f8f19770df25b579144b17 /doc | |
parent | aa5ec2ec02f331542dfe40e781c7c93ee4c0c131 (diff) | |
download | minetest-c6f784f43bca3328c6810c26c8bda2ea507c70e8.tar.gz minetest-c6f784f43bca3328c6810c26c8bda2ea507c70e8.tar.bz2 minetest-c6f784f43bca3328c6810c26c8bda2ea507c70e8.zip |
Add minetest.load_area (#8023)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index e9605ee49..ded7b580f 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -3989,6 +3989,10 @@ Environment access * mode = `"quick"`: Clear objects immediately in loaded mapblocks, clear objects in unloaded mapblocks only when the mapblocks are next activated. +* `minetest.load_area(pos1[, pos2])` + * Load the mapblocks containing the area from `pos1` to `pos2`. + `pos2` defaults to `pos1` if not specified. + * This function does not trigger map generation. * `minetest.emerge_area(pos1, pos2, [callback], [param])` * Queue all blocks in the area from `pos1` to `pos2`, inclusive, to be asynchronously fetched from memory, loaded from disk, or if inexistent, |