[PR #822] [MERGED] Carry: take processors written in Java out of their lists #2831

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

📋 Pull Request Information

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

Base: main ← Head: feat/carry-drop-java-processors


📝 Commits (3)

  • 7d27950 Carry: write worldgen block states in 26.3's shape
  • f72c867 Carry: the start and placement rules of mapped jigsaws
  • 6573240 Carry: take processors written in Java out of their lists

📊 Changes

2 files changed (+459 additions, -17 deletions)

View changed files

📝 crates/horizon-port-pack/src/carry.rs (+3 -1)
📝 crates/horizon-port-pack/src/worldgen.rs (+456 -16)

📄 Description

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

Stacked on #821 (→ #816).

What

Structure libraries register processor types in Java (repurposed_structures:bottom_pillar_processor, lithostitched:block_swap, moogs_structures:spawner_randomizing_processor, YUNG's and Formations' own...). The game, like vanilla, refuses a processor list holding a type it does not know, and Pools::get then drops every pool whose elements name that list. So those structures did not generate at all, or stopped at their first piece.

Carry now takes the processors whose type is outside minecraft: out of processor lists: the worldgen/processor_list/ files and inline lists in pool elements (list elements included; named lists and elements without processors are left alone). Each is counted by type in carry-report.json (worldgen_types.processors_dropped). The structures then generate undecorated: no pillars under them, spawners as the template has them, blocks not swapped or aged. Porting the common processors (they are small, pure functions of a block and a seeded random) is the next step for these mods; this is what makes the rest of their structures appear at all.

Measured (ATM10's 42 carried mods, seed 1234, chunks -64..63, with #820 and #821)

starts pieces pools that failed to decode
before 272 14,665 31
after 286 15,097 0

Repurposed Structures 1 → 13 starts (4 → 429 pieces), MSS 4 → 5, MVS 90 → 91. 1,427 processors of 146 types are taken out; the most common: lithostitched:block_swap 137, formations:biome_replacements 105, repurposed_structures:bottom_pillar_processor 101, close_off_fluid_sources_processor 85, lithostitched:reference 83. By mod: Repurposed Structures 626, CTOV 270, Formations 227, YUNG's 220, Moog's 61.

Self-check

  • cargo fmt --all --check, cargo clippy -p horizon-port-pack --all-targets -- -D warnings: clean
  • cargo test -p horizon-port-pack: 29 passed (new: drops_processors_written_in_java)
  • No game code here.

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/822 **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/carry-drop-java-processors` --- ### 📝 Commits (3) - [`7d27950`](https://github.com/horizon-rust/horizon/commit/7d27950e31983b0b1ac7f59f0b271a4f15028338) Carry: write worldgen block states in 26.3's shape - [`f72c867`](https://github.com/horizon-rust/horizon/commit/f72c8674ad2d2ab616b028f814c9fa07132e2dfe) Carry: the start and placement rules of mapped jigsaws - [`6573240`](https://github.com/horizon-rust/horizon/commit/65732406fc428926985929b1367d42b6d57abde5) Carry: take processors written in Java out of their lists ### 📊 Changes **2 files changed** (+459 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-port-pack/src/carry.rs` (+3 -1) 📝 `crates/horizon-port-pack/src/worldgen.rs` (+456 -16) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Stacked on #821 (→ #816). ## What Structure libraries register processor types in Java (`repurposed_structures:bottom_pillar_processor`, `lithostitched:block_swap`, `moogs_structures:spawner_randomizing_processor`, YUNG's and Formations' own...). The game, like vanilla, refuses a processor list holding a type it does not know, and `Pools::get` then drops every pool whose elements name that list. So those structures did not generate at all, or stopped at their first piece. Carry now takes the processors whose type is outside `minecraft:` out of processor lists: the `worldgen/processor_list/` files and inline lists in pool elements (list elements included; named lists and elements without processors are left alone). Each is counted by type in `carry-report.json` (`worldgen_types.processors_dropped`). The structures then generate undecorated: no pillars under them, spawners as the template has them, blocks not swapped or aged. Porting the common processors (they are small, pure functions of a block and a seeded random) is the next step for these mods; this is what makes the rest of their structures appear at all. ## Measured (ATM10's 42 carried mods, seed 1234, chunks -64..63, with #820 and #821) | | starts | pieces | pools that failed to decode | |---|---:|---:|---:| | before | 272 | 14,665 | 31 | | after | 286 | 15,097 | 0 | Repurposed Structures 1 → 13 starts (4 → 429 pieces), MSS 4 → 5, MVS 90 → 91. 1,427 processors of 146 types are taken out; the most common: `lithostitched:block_swap` 137, `formations:biome_replacements` 105, `repurposed_structures:bottom_pillar_processor` 101, `close_off_fluid_sources_processor` 85, `lithostitched:reference` 83. By mod: Repurposed Structures 626, CTOV 270, Formations 227, YUNG's 220, Moog's 61. ## Self-check - `cargo fmt --all --check`, `cargo clippy -p horizon-port-pack --all-targets -- -D warnings`: clean - `cargo test -p horizon-port-pack`: 29 passed (new: `drops_processors_written_in_java`) - No game code here. 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 15:59:25 +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#2831
No description provided.