[PR #1022] [MERGED] port-pack: Repurposed's structure voids keep the world's block #2995

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

📋 Pull Request Information

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

Base: main ← Head: fix/carry-rs-structure-void


📝 Commits (1)

  • 3991781 port-pack: Repurposed's structure voids keep the world's block

📊 Changes

2 files changed (+30 additions, -0 deletions)

View changed files

📝 crates/horizon-port-pack/src/processors.rs (+24 -0)
📝 docs/modpacks.md (+6 -0)

📄 Description

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

What

Carry writes Repurposed Structures' structure_void_processor as vanilla's
minecraft:block_ignore with blocks: [minecraft:structure_void].

Why

The mod's processor returns null for a template's structure_void blocks, which is exactly what
block_ignore does. Until now carry dropped it (82 lists: the mineshafts, the ocean and swamp
villages, the ocean and taiga temples, the jungle pyramid's hidden room), so the game placed the
structure voids like any other template block. Around the ocean mineshaft at chunk (-18, -54), seed
1234 (81 chunks, ATM10 content root), 974 structure voids took the place of 464 prismarine blocks of
its walls, 225 water blocks (dry holes in the sea), 279 air / cave air and 6 rails and walls. With this
change there are none left (structure_blocks, before/after).

Repurposed's dropped processors in the ATM10 work folder: 452 → 370 (carried 472 → 554).

Better Ocean Monuments' processor of the same name is different (it swaps placeholders for the
world's block) and keeps its own mapping from #983/#984; the two don't touch each other.

How tested

cargo fmt --all -- --check                                              ok
cargo clippy -p horizon-port-pack --all-targets -- -D warnings          ok
cargo test -p horizon-port-pack                                         49 passed (new: repurposed_structure_voids_keep_the_world)

The workspace-wide clippy, tools/parity.py --changed origin/main and the vanilla structure-start
oracle run once on an integration commit with #1019, #1020, #1021 and this PR; the results go in a
comment here. Nothing in the game changes (carry only), so no harness covers this directly.

Nothing needs Ludovic.

🤖 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/1022 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/19/2026 **Status:** ✅ Merged **Merged:** 10/19/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/carry-rs-structure-void` --- ### 📝 Commits (1) - [`3991781`](https://github.com/horizon-rust/horizon/commit/399178174d8a904409722aab1094843091d9561d) port-pack: Repurposed's structure voids keep the world's block ### 📊 Changes **2 files changed** (+30 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-port-pack/src/processors.rs` (+24 -0) 📝 `docs/modpacks.md` (+6 -0) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. ## What Carry writes Repurposed Structures' `structure_void_processor` as vanilla's `minecraft:block_ignore` with `blocks: [minecraft:structure_void]`. ## Why The mod's processor returns `null` for a template's `structure_void` blocks, which is exactly what `block_ignore` does. Until now carry dropped it (82 lists: the mineshafts, the ocean and swamp villages, the ocean and taiga temples, the jungle pyramid's hidden room), so the game placed the structure voids like any other template block. Around the ocean mineshaft at chunk (-18, -54), seed 1234 (81 chunks, ATM10 content root), 974 structure voids took the place of 464 prismarine blocks of its walls, 225 water blocks (dry holes in the sea), 279 air / cave air and 6 rails and walls. With this change there are none left (`structure_blocks`, before/after). Repurposed's dropped processors in the ATM10 work folder: 452 → 370 (carried 472 → 554). Better Ocean Monuments' processor of the same name is different (it swaps placeholders for the world's block) and keeps its own mapping from #983/#984; the two don't touch each other. ## How tested ``` cargo fmt --all -- --check ok cargo clippy -p horizon-port-pack --all-targets -- -D warnings ok cargo test -p horizon-port-pack 49 passed (new: repurposed_structure_voids_keep_the_world) ``` The workspace-wide clippy, `tools/parity.py --changed origin/main` and the vanilla structure-start oracle run once on an integration commit with #1019, #1020, #1021 and this PR; the results go in a comment here. Nothing in the game changes (carry only), so no harness covers this directly. Nothing needs Ludovic. 🤖 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:41 +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#2995
No description provided.