Merge pull request #956 from ludovic111/feat/carry-terrain-adaptation

🤖 Agent: merged after verify and CI parity passed, and a combined check with rdbt's #796 on current main (fmt, clippy, 359 tests, 14 world-gen harnesses). YUNG/Moog terrain adaptation around structures (Better Fortresses netherrack inside bridges 39–41 % → 2.5–7 %), its carry, and YUNG modifiers.
This commit is contained in:
Ludovic Marie
2026-10-19 08:09:53 +02:00
committed by GitHub
2 changed files with 155 additions and 21 deletions
+11 -3
View File
@@ -518,6 +518,14 @@ Two cases the oracle fills in:
structure's piece caps and required pieces from the mod's `*_pieces_spawn_counts` files.
The game assembles them the mods' way and runs their post-layout steps (centring,
burying, the Nether land search).
- **Enhanced terrain adaptation.** YUNG's API and MoogsStructureLib add a kernel of their
own to the Beardifier: its own size and falloff, carving or burying above and below each
piece's floor. Carry writes it as `horizon:enhanced_terrain_adaptation` on the structure
and on pool elements with their own (docs/mods.md), and the game sums it after vanilla's
terrain density. In seed 1234's terrain before structures are placed, Better Fortresses'
pieces held 39 to 41 % netherrack and now 3 to 7 %, the mod's open bridges; Moog's mega
fortress band 45 % and now 30 %; Better Strongholds' pieces, buried, go from 92 to 97 %
solid to 99 %, closing the caves that cut through them.
Each mod's `carry-report.json` lists what was mapped, the rules and processors lost by name,
@@ -537,9 +545,9 @@ Two cases the oracle fills in:
noise column (solid, water, lava), which the structure context doesn't give yet;
- Repurposed's mineshafts, mansions and monuments, Better Mineshafts and two Better
Dungeons types: Java structure types;
- YUNG's and Moog's enhanced terrain adaptation, YUNG's piece modifiers and dead-end pools,
and the block processors written in Java (YUNG's banners, legs and decorations, Repurposed's
pillars and fluid fixes, Lithostitched's block swaps);
- YUNG's piece modifiers and dead-end pools, and the block processors written in Java
(YUNG's banners, legs and decorations, Repurposed's pillars and fluid fixes,
Lithostitched's block swaps);
- MO Structures (38; its library is only on CurseForge).
With every structure PR above, the same square (seed 1234, chunks -64..63) holds 362