mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Add core.get_mapgen_chunksize() (#16289)
This commit is contained in:
parent
fcbf05fc30
commit
fd0ca20ce9
4 changed files with 30 additions and 3 deletions
|
@ -6666,6 +6666,9 @@ Environment access
|
|||
of the *active* mapgen setting `"mapgen_limit"`.
|
||||
* `chunksize` is an optional number. 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.
|
||||
The size is specified in blocks.
|
||||
* `core.get_mapgen_setting(name)`
|
||||
* Gets the *active* mapgen setting (or nil if none exists) in string
|
||||
format with the following order of precedence:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue