mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +00:00
Allow chunksize to be non-cubic
This commit is contained in:
parent
0deeb57d44
commit
630ca5daa0
5 changed files with 35 additions and 6 deletions
|
@ -6704,7 +6704,7 @@ Environment access
|
|||
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
|
||||
* `chunksize` is an optional number or vector. If it is absent, its value is that
|
||||
of the *active* mapgen setting `"chunksize"`.
|
||||
* `core.get_mapgen_chunksize()`
|
||||
* Returns the currently active chunksize of the mapgen, as a vector.
|
||||
|
|
|
@ -249,7 +249,7 @@ Example content:
|
|||
|
||||
# Map File Format
|
||||
|
||||
Luanti maps consist of `MapBlock`s, chunks of 16x16x16 nodes.
|
||||
Luanti maps consist of `MapBlock`s, each holds 16x16x16 nodes.
|
||||
|
||||
In addition to the bulk node data, `MapBlock`s stored on disk also contain
|
||||
other things.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue