mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-28 22:25:20 +01:00
Allow mapgen chunk size to be non-cubic (#16429)
This commit is contained in:
@@ -5849,6 +5849,8 @@ Utilities
|
||||
particlespawner_exclude_player = true,
|
||||
-- core.generate_decorations() supports `use_mapgen_biomes` parameter (5.14.0)
|
||||
generate_decorations_biomes = true,
|
||||
-- 'chunksize' mapgen setting can be a vector, instead of a single number (5.15.0)
|
||||
chunksize_vector = true,
|
||||
}
|
||||
```
|
||||
|
||||
@@ -6704,7 +6706,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.
|
||||
|
||||
Reference in New Issue
Block a user