Merge pull request #959 from ludovic111/feat/carry-yung-modifiers

🤖 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:10:05 +02:00
committed by GitHub
2 changed files with 82 additions and 15 deletions
+10 -3
View File
@@ -504,7 +504,11 @@ Two cases the oracle fills in:
- **YUNG's API** (#839, #846 in the game; #840, #847 in carry). `yungsapi:yung_jigsaw` and its
elements become vanilla's jigsaw and single element, with their rules under
`horizon:yungsapi`. The game assembles them as YUNG's `JigsawManager` does: priority
pieces, caps by name, depth ranges, `ignore_bounds` and the conditions tree. YUNG's
pieces, caps by name, depth ranges, `ignore_bounds` and the conditions tree, with
`piece_in_range`. Dead-end pools swap a piece that got no child for one of its dead-end
pool, and once the layout is done each piece's modifiers can turn it into another template
(`transform`) or place it last (`delay_generation`). Better Fortresses' bridges need all
three: over seed 1234's Nether chunks -64..63 it goes from 3,765 to 4,106 pieces. YUNG's
placements become `horizon:` keys on a random spread: `horizon:exclusion_zone` for the
enhanced exclusion zone, `horizon:avoid_biomes` for the temples' ocean and river search,
`horizon:ring_sections` for Better Strongholds' rings. `horizon:disables` on a YUNG
@@ -539,13 +543,16 @@ Two cases the oracle fills in:
(unchanged), and no pool that fails to decode (65 before #816 in the 64×64 centre).
- 1,061 files were mapped (MVS 413, MNS 210, MSS 157, MES 110, Repurposed Structures 104,
ChoiceTheorem's Overhauled Village 66), and 103 convention biome tags written.
- When Dungeons Arise, Structory and Towns and Towers use vanilla's types already.
- When Dungeons Arise and Structory use vanilla's types already. Towns and Towers does too,
but its 1,198 worldgen files sit under the `kaisyn` and `towns_and_towers` namespaces, not
its mod id `t_and_t`, and a mod's content may only use its own namespace (docs/mods.md), so
carry leaves them out and its 60 structures are missing.
- Still lost, written in Java:
- Formations' structure and element types (179): their placements read block states in the
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 piece modifiers and dead-end pools, and the block processors written in Java
- 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).