From c6f784f43bca3328c6810c26c8bda2ea507c70e8 Mon Sep 17 00:00:00 2001 From: HybridDog Date: Mon, 31 Dec 2018 01:32:54 +0100 Subject: Add minetest.load_area (#8023) --- doc/lua_api.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') 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, -- cgit v1.2.3