MapGen: Attempt to speed up generation. Some MapGen.Peak fields can now be accessed directly. Layers are now defined for the entire chunk, rather than per node.

This commit is contained in:
Van
2026-03-15 22:08:13 +03:00
parent a34822ed54
commit 1531abc3e2
7 changed files with 63 additions and 107 deletions

View File

@@ -1,7 +1,7 @@
-- World generation occurs in a separate thread (MapGen Environment).
-- But for the main thread, the mapgenerator object is also initialized.
core.set_mapgen_setting('chunksize', '{x=2,y=10,z=2}', true)
--core.set_mapgen_setting('chunksize', '{x=2,y=10,z=2}', true)
local mapGeneneratorRequire = Mod.getInfo('smc__core__map_generator').require