[PR #870] [MERGED] Modpacks: mod structures in vanilla sets, YUNG's jigsaws and placements, Moog/Repurposed layouts (combined #832–#852) #2873

Closed
opened 2026-11-02 15:59:45 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/870
Author: @ludovic111
Created: 10/18/2026
Status: ✅ Merged
Merged: 10/18/2026
Merged by: @ludovic111

Base: main ← Head: integ/mp6


📝 Commits (10+)

  • 1ccc41c Content mods: add to other structure sets and pools (horizon:add_to)
  • d8f81f7 Carry: lithostitched set and pool additions, and CTOV's villages
  • 5710661 Structure templates read without a node cap, as vanilla does
  • 3c08f74 Structures: YUNG's API's jigsaw assembler for carried structures
  • 4676ea2 Carry: YUNG's jigsaws and pieces with their rules
  • c7c9725 Structures: YUNG's placements and their vanilla counterparts turned off
  • f57c59a Structures: Repurposed Structures' and Moog's piece-limited jigsaw assembler
  • aab43c4 Carry: YUNG's placements, and the vanilla structures its mods turn off
  • 512962e Carry: Repurposed Structures' and Moog's jigsaws keep their layout rules
  • 1b6a3cf Docs: modpacks, the structure libraries Horizon now runs

📊 Changes

14 files changed (+3199 additions, -82 deletions)

View changed files

📝 crates/horizon-client/src/game/commands/place.rs (+1 -7)
📝 crates/horizon-client/src/mod_content.rs (+85 -2)
📝 crates/horizon-client/src/mod_content_tests.rs (+43 -0)
📝 crates/horizon-port-pack/src/carry.rs (+106 -5)
📝 crates/horizon-port-pack/src/pipeline.rs (+19 -4)
📝 crates/horizon-port-pack/src/worldgen.rs (+822 -20)
📝 crates/horizon-world/src/nbt.rs (+25 -0)
📝 crates/horizon-world/src/worldgen/structure.rs (+3 -5)
📝 crates/horizon-world/src/worldgen/structure/jigsaw.rs (+41 -16)
➕ crates/horizon-world/src/worldgen/structure/piece_limited.rs (+980 -0)
📝 crates/horizon-world/src/worldgen/structure/start.rs (+286 -10)
➕ crates/horizon-world/src/worldgen/structure/yung.rs (+727 -0)
📝 docs/modpacks.md (+45 -13)
📝 docs/mods.md (+16 -0)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

Combines modpacks-6's ten PRs, merged in order onto main with no conflicts. Merging this marks each of them merged:
#832 (horizon:add_to: data-driven additions to vanilla structure sets and pools) → #833 (carry writes it for CTOV) → #838 (big structure templates load: read limits as vanilla's) → #839 (YUNG's API jigsaw engine) → #840 (carry for it) → #846 (YUNG's placements: stronghold rings, biome-avoiding temple search, replaced vanilla structures turned off) → #847 (carry) → #850 (Moog's/Repurposed layout engine: centring, burying, piece caps, nether land search) → #851 (carry) → #852 (docs/modpacks.md).

Effect (ATM10's carried mods, seed 1234, chunks −64..63):

  • Overworld: 286 → 362 starts, 15,097 → 22,026 pieces.
  • Nether: 147 Moog's Nether Structures and 40 Repurposed nether structures, from 0.
  • YUNG's dungeons, monuments, strongholds, jungle temples, witch huts and fortresses replace their vanilla counterparts.
  • These are still bare buildings: the mods' Java processors (loot, spawners) are dropped. modpacks-7 is working on that.

Checks

  • modpacks-6's own integration of all ten: 298/298 harnesses (--changed), vanilla structure-start oracle 35/35.
  • On this branch (main e508a5ce + the ten): fmt, workspace clippy -D warnings clean; workspace tests pass. The one failure, streaming_meshes, was a main regression from #824, fixed by #862.
  • Harnesses on this branch: worldgen, structure_density, chunk_generation and world_spawn PASS. world_spawn and tooltip_display had failed in #832's CI: the first was a timeout on the busy runner (it passes here in 55 min), and the second was a stale base from before #837, since CI tests the PR head.
  • Main has since gained #859, #860 and #862 (palettes, the region writer, a test); none of them touches these files, and the branch merges cleanly.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/870 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/18/2026 **Status:** ✅ Merged **Merged:** 10/18/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `integ/mp6` --- ### 📝 Commits (10+) - [`1ccc41c`](https://github.com/horizon-rust/horizon/commit/1ccc41c8b29cb2034d6e1bed1662665f58fd093c) Content mods: add to other structure sets and pools (horizon:add_to) - [`d8f81f7`](https://github.com/horizon-rust/horizon/commit/d8f81f7a984874456b1b1f72a84703f9f6176c24) Carry: lithostitched set and pool additions, and CTOV's villages - [`5710661`](https://github.com/horizon-rust/horizon/commit/571066158ede74d0d73c729d8a3745f880cc741e) Structure templates read without a node cap, as vanilla does - [`3c08f74`](https://github.com/horizon-rust/horizon/commit/3c08f74d79ba37259b6c0e50873c35e3be831cff) Structures: YUNG's API's jigsaw assembler for carried structures - [`4676ea2`](https://github.com/horizon-rust/horizon/commit/4676ea2819b89f93c8f73ccd95bdf628f485519f) Carry: YUNG's jigsaws and pieces with their rules - [`c7c9725`](https://github.com/horizon-rust/horizon/commit/c7c97259420125dab174b8efb966628afb054f90) Structures: YUNG's placements and their vanilla counterparts turned off - [`f57c59a`](https://github.com/horizon-rust/horizon/commit/f57c59a971e2f04b77cc05123a0a7e016a4a3e84) Structures: Repurposed Structures' and Moog's piece-limited jigsaw assembler - [`aab43c4`](https://github.com/horizon-rust/horizon/commit/aab43c46ae63bed4554dcc8a83e084ff62106b6e) Carry: YUNG's placements, and the vanilla structures its mods turn off - [`512962e`](https://github.com/horizon-rust/horizon/commit/512962e3ca2d4c9d37db3232cdf6a3d28927981c) Carry: Repurposed Structures' and Moog's jigsaws keep their layout rules - [`1b6a3cf`](https://github.com/horizon-rust/horizon/commit/1b6a3cf53507f232a2a102ca06c2aca5ee36e7eb) Docs: modpacks, the structure libraries Horizon now runs ### 📊 Changes **14 files changed** (+3199 additions, -82 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/commands/place.rs` (+1 -7) 📝 `crates/horizon-client/src/mod_content.rs` (+85 -2) 📝 `crates/horizon-client/src/mod_content_tests.rs` (+43 -0) 📝 `crates/horizon-port-pack/src/carry.rs` (+106 -5) 📝 `crates/horizon-port-pack/src/pipeline.rs` (+19 -4) 📝 `crates/horizon-port-pack/src/worldgen.rs` (+822 -20) 📝 `crates/horizon-world/src/nbt.rs` (+25 -0) 📝 `crates/horizon-world/src/worldgen/structure.rs` (+3 -5) 📝 `crates/horizon-world/src/worldgen/structure/jigsaw.rs` (+41 -16) ➕ `crates/horizon-world/src/worldgen/structure/piece_limited.rs` (+980 -0) 📝 `crates/horizon-world/src/worldgen/structure/start.rs` (+286 -10) ➕ `crates/horizon-world/src/worldgen/structure/yung.rs` (+727 -0) 📝 `docs/modpacks.md` (+45 -13) 📝 `docs/mods.md` (+16 -0) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Combines modpacks-6's ten PRs, merged in order onto main with no conflicts. Merging this marks each of them merged: #832 (`horizon:add_to`: data-driven additions to vanilla structure sets and pools) → #833 (carry writes it for CTOV) → #838 (big structure templates load: read limits as vanilla's) → #839 (YUNG's API jigsaw engine) → #840 (carry for it) → #846 (YUNG's placements: stronghold rings, biome-avoiding temple search, replaced vanilla structures turned off) → #847 (carry) → #850 (Moog's/Repurposed layout engine: centring, burying, piece caps, nether land search) → #851 (carry) → #852 (docs/modpacks.md). **Effect** (ATM10's carried mods, seed 1234, chunks −64..63): - Overworld: 286 → 362 starts, 15,097 → 22,026 pieces. - Nether: 147 Moog's Nether Structures and 40 Repurposed nether structures, from 0. - YUNG's dungeons, monuments, strongholds, jungle temples, witch huts and fortresses replace their vanilla counterparts. - These are still bare buildings: the mods' Java processors (loot, spawners) are dropped. modpacks-7 is working on that. **Checks** - modpacks-6's own integration of all ten: 298/298 harnesses (`--changed`), vanilla structure-start oracle 35/35. - On this branch (main e508a5ce + the ten): fmt, workspace clippy `-D warnings` clean; workspace tests pass. The one failure, `streaming_meshes`, was a main regression from #824, fixed by #862. - Harnesses on this branch: `worldgen`, `structure_density`, `chunk_generation` and `world_spawn` PASS. `world_spawn` and `tooltip_display` had failed in #832's CI: the first was a timeout on the busy runner (it passes here in 55 min), and the second was a stale base from before #837, since CI tests the PR head. - Main has since gained #859, #860 and #862 (palettes, the region writer, a test); none of them touches these files, and the branch merges cleanly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:59:45 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#2873
No description provided.