Save all generated chunks instead of only chunks that were changed

This commit is contained in:
2026-10-11 02:02:01 -03:00
parent 44a39bf8ec
commit 5a59a63862
17 changed files with 644 additions and 314 deletions
+2 -2
View File
@@ -247,8 +247,8 @@ filler down to its `filler_depth`. Everything else is stone.
## Changing the Base Game's Terrain
A mod can add biomes to it, but can't replace its files yet: an id defined by two mods is an error. Anything that
changes the terrain changes untouched land in existing worlds, the same as adding a [feature](index.md#features). The
worldgen fingerprint keeps chunks players changed as they were.
changes the terrain changes land not generated yet in existing worlds, the same as adding a
[feature](index.md#features). Every chunk generated is saved, so what's been generated stays as it was.
[Engine access](../misc/engine.md) mods can hook `engine.common.OverworldTerrain`, whose `density` and `cave` are called
for every cell corner.