1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-06 17:41:04 +00:00

Doc improvment.

This commit is contained in:
SFENCE 2025-04-10 04:55:29 +02:00
parent 18c740712a
commit 55a27fb5f8
2 changed files with 3 additions and 3 deletions

View file

@ -6640,8 +6640,8 @@ Environment access
* Call Lua function over all loaded or loadable blocks * Call Lua function over all loaded or loadable blocks
* Takes an table as an argument with the fields: * Takes an table as an argument with the fields:
* `mode` * `mode`
* mode = "full": Load and go through every mapblock, clearing objects (default). * mode = "full": Load and go through every mapblock.
* mode = "quick": Clear objects immediately in loaded mapblocks, clear objects in unloaded mapblocks only when the mapblocks are next activated. * mode = "quick": Go only through loaded mapblock.
* `callback`: Lua callback function function(name, staticdata, params. * `callback`: Lua callback function function(name, staticdata, params.
* `blockpos_hash`: block position hash compatible with `core.hash_node_position` and `core.get_position_from_hash` * `blockpos_hash`: block position hash compatible with `core.hash_node_position` and `core.get_position_from_hash`
* `params`: Some Lua value. * `params`: Some Lua value.