[PR #929] [MERGED] Structures: Better Desert Temples' placeholder blocks (suspicious sand, sherds, traps) #2922

Closed
opened 2026-11-02 16:00:08 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: feat/yung-placeholder-blocks


📝 Commits (4)

  • 96822cd Moog's trial spawners and vaults: the saved state out, the configs in
  • c798597 Better Desert Temples' placeholder blocks: suspicious sand, sherds, swaps
  • 03c423d Merge origin/main into feat/carry-trial-spawners-vaults
  • c3595f1 Merge feat/carry-trial-spawners-vaults (with main) into feat/yung-placeholder-blocks

📊 Changes

4 files changed (+733 additions, -7 deletions)

View changed files

📝 crates/horizon-port-pack/src/carry.rs (+10 -0)
📝 crates/horizon-port-pack/src/processors.rs (+371 -0)
📝 crates/horizon-world/src/worldgen/structure/processor.rs (+339 -4)
📝 docs/modpacks.md (+13 -3)

📄 Description

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

Stacked on #926 (base feat/carry-trial-spawners-vaults). Merge #926 first; this PR then retargets to main.

What

Better Desert Temples builds its temples from placeholder blocks: orange, red and white glass, blue and yellow concrete, red wool, polished diorite and blank pots. The mod's Java processors turn them into suspicious sand, sand and sandstone, upside-down sandstone stairs, cobwebs, terracotta, TNT traps and pots with sherds. The carry dropped those processors, so the placeholders stayed in the world.

  • Game: a horizon:pick processor. A block of block takes the first pick whose below is past one settings.getRandom(pos).nextFloat(), else default. When there are no picks, no float is drawn. An outcome is one state, or one of several picked by nextInt (Util.getRandom, for Plane.HORIZONTAL.getRandomDirection). It can set a new block entity or keep the block's own, and it can write NBT lists of picked strings, one float each (the four sherds). Test: picks_follow_yungs_cascade.
  • Carry: the fixed swaps (blue and yellow concrete, red wool) become vanilla's rule. The random ones become horizon:pick with the mod's bounds; YUNG's BlockStateRandomizer sums its chances as floats, and the carry does the same. The processors that read or change the world around them (pillars, Diorite's waterlogging, the yellow glass fill) stay dropped. Test: desert_temple_placeholders_become_rules_and_picks.

Measured (All the Mods 10)

  • Processors carried 125 -> 133 of 1,427, dropped 1,302 -> 1,294. Better Desert Temples now carries 12 of its 26 processors, up from 4.
  • Not seen in a world yet. No Better Desert Temple, vanilla desert pyramid or desert village starts in seed 1234's 640×640 chunks around the origin, or in seeds 1 to 3 (200×200 chunks each). Whether deserts are missing there is listed as a follow-up on card#29. The processor is covered by the tests above, on the mod's own draws.

Self-check

  • cargo fmt --check: clean
  • cargo clippy -p horizon-world -p horizon-port-pack --all-targets -- -D warnings: clean
  • cargo test -p horizon-port-pack (39), cargo test -p horizon-world --lib structure::processor: pass
  • Vanilla data never names horizon:pick. The full parity set runs on the integration of this agent's PRs; the result goes in a comment on #919.

Nothing here needs Ludovic. Mod jars, decompiled code and carried data stay local.

🤖 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/929 **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:** `feat/yung-placeholder-blocks` --- ### 📝 Commits (4) - [`96822cd`](https://github.com/horizon-rust/horizon/commit/96822cd5f86063afe759f80c22e0cc66df74150c) Moog's trial spawners and vaults: the saved state out, the configs in - [`c798597`](https://github.com/horizon-rust/horizon/commit/c7985974e79af41a9f827f44c99d5d463c0d9b09) Better Desert Temples' placeholder blocks: suspicious sand, sherds, swaps - [`03c423d`](https://github.com/horizon-rust/horizon/commit/03c423daacc4494d5b24a4bb8689637e820a28e9) Merge origin/main into feat/carry-trial-spawners-vaults - [`c3595f1`](https://github.com/horizon-rust/horizon/commit/c3595f1a9c38dc1d1dadf91c1c94fc22360f4735) Merge feat/carry-trial-spawners-vaults (with main) into feat/yung-placeholder-blocks ### 📊 Changes **4 files changed** (+733 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-port-pack/src/carry.rs` (+10 -0) 📝 `crates/horizon-port-pack/src/processors.rs` (+371 -0) 📝 `crates/horizon-world/src/worldgen/structure/processor.rs` (+339 -4) 📝 `docs/modpacks.md` (+13 -3) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. **Stacked on #926** (base `feat/carry-trial-spawners-vaults`). Merge #926 first; this PR then retargets to `main`. ## What Better Desert Temples builds its temples from placeholder blocks: orange, red and white glass, blue and yellow concrete, red wool, polished diorite and blank pots. The mod's Java processors turn them into suspicious sand, sand and sandstone, upside-down sandstone stairs, cobwebs, terracotta, TNT traps and pots with sherds. The carry dropped those processors, so the placeholders stayed in the world. - **Game:** a `horizon:pick` processor. A block of `block` takes the first pick whose `below` is past one `settings.getRandom(pos).nextFloat()`, else `default`. When there are no picks, no float is drawn. An outcome is one state, or one of several picked by `nextInt` (Util.getRandom, for `Plane.HORIZONTAL.getRandomDirection`). It can set a new block entity or keep the block's own, and it can write NBT lists of picked strings, one float each (the four sherds). Test: `picks_follow_yungs_cascade`. - **Carry:** the fixed swaps (blue and yellow concrete, red wool) become vanilla's `rule`. The random ones become `horizon:pick` with the mod's bounds; YUNG's BlockStateRandomizer sums its chances as floats, and the carry does the same. The processors that read or change the world around them (pillars, Diorite's waterlogging, the yellow glass fill) stay dropped. Test: `desert_temple_placeholders_become_rules_and_picks`. ## Measured (All the Mods 10) - Processors carried 125 -> 133 of 1,427, dropped 1,302 -> 1,294. Better Desert Temples now carries 12 of its 26 processors, up from 4. - Not seen in a world yet. No Better Desert Temple, vanilla desert pyramid or desert village starts in seed 1234's 640×640 chunks around the origin, or in seeds 1 to 3 (200×200 chunks each). Whether deserts are missing there is listed as a follow-up on card#29. The processor is covered by the tests above, on the mod's own draws. ## Self-check - `cargo fmt --check`: clean - `cargo clippy -p horizon-world -p horizon-port-pack --all-targets -- -D warnings`: clean - `cargo test -p horizon-port-pack` (39), `cargo test -p horizon-world --lib structure::processor`: pass - Vanilla data never names `horizon:pick`. The full parity set runs on the integration of this agent's PRs; the result goes in a comment on #919. Nothing here needs Ludovic. Mod jars, decompiled code and carried data stay local. 🤖 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 16:00:08 +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#2922
No description provided.