mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add minetest.load_area (#8023)
This commit is contained in:
parent
aa5ec2ec02
commit
c6f784f43b
3 changed files with 32 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue