[PR #984] [MERGED] Carry Better Ocean Monuments' processors and YUNG's legs #2964

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

📋 Pull Request Information

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

Base: main ← Head: feat/carry-sea-level-processors


📝 Commits (1)

  • adb07c9 Carry Better Ocean Monuments' processors and YUNG's legs

📊 Changes

2 files changed (+200 additions, -1 deletions)

View changed files

📝 crates/horizon-port-pack/src/processors.rs (+189 -0)
📝 docs/modpacks.md (+11 -1)

📄 Description

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

Stacked on #982 (base feat/carry-pillar-processors); merge after #983 (the game types it writes).

What

horizon-port-pack carries Better Ocean Monuments' ten processors and Better Witch Huts' two legs instead of dropping them (crates/horizon-port-pack/src/processors.rs, ocean_monument and yung_leg). They have no fields, so their behaviour comes from their Java code:

mod processor carried as
random_prismarine_slab_decoration / random_dark_… horizon:pick with redraw: lime / blue concrete → top slab < 0.4, else bottom slab < 0.8 (waterlogged), else air / water
sand_gravel rule: yellow glass → gravel
random_oxidization 4 × horizon:pick with redraw and keep_properties: oxidized copper, cut copper, stairs, slab → exposed < 0.1, else weathered < 0.3, else oxidized
structure_void horizon:keep_world_block (purpur slab, brown wool)
air_processor horizon:flood_air
waterlog_processor horizon:waterlog
seagrass rule: red sandstone / end stone brick slab → tall seagrass lower / upper, brick slab → seagrass
random_sponge horizon:pick: orange glass → wet sponge < 0.75, else water
leg_processor horizon:yung_pillar: blue glass → prismarine bricks, column down
Better Witch Huts leg_processor / fence_leg_processor horizon:yung_pillar: brown glass → oak log (axis y); crimson fence → oak fence with its properties

Dropped processors: Better Ocean Monuments 10 → 0, Better Witch Huts 5 → 3. docs/modpacks.md updated.

How tested

cargo fmt --all -- --check                                          ok
cargo clippy -p horizon-port-pack --all-targets -- -D warnings       ok
cargo test -p horizon-port-pack                                      ok (48; new: ocean_monuments_become_the_games)

Carried the two mods with #982's branch and with this one, everything else the same; generated with #983's build (seed 1234):

  • starts identical (382 starts, 37,451 pieces, chunks -64..63);
  • the monument at chunk (2, 8): 318,512 air → water, 0 air left at y 30..60 (227,034 before), all 5,142 placeholders gone, legs of prismarine bricks to the sea floor (2,060 glass → bricks, 1,190 water → bricks).

Needs Ludovic

Nothing.

🤖 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/984 **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:** `feat/carry-sea-level-processors` --- ### 📝 Commits (1) - [`adb07c9`](https://github.com/horizon-rust/horizon/commit/adb07c96ffdcf6b4389eeb4b3970c3e79f93bcfd) Carry Better Ocean Monuments' processors and YUNG's legs ### 📊 Changes **2 files changed** (+200 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-port-pack/src/processors.rs` (+189 -0) 📝 `docs/modpacks.md` (+11 -1) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. **Stacked on #982** (base `feat/carry-pillar-processors`); **merge after #983** (the game types it writes). ## What `horizon-port-pack` carries Better Ocean Monuments' ten processors and Better Witch Huts' two legs instead of dropping them (`crates/horizon-port-pack/src/processors.rs`, `ocean_monument` and `yung_leg`). They have no fields, so their behaviour comes from their Java code: | mod processor | carried as | | --- | --- | | `random_prismarine_slab_decoration` / `random_dark_…` | `horizon:pick` with `redraw`: lime / blue concrete → top slab < 0.4, else bottom slab < 0.8 (waterlogged), else air / water | | `sand_gravel` | `rule`: yellow glass → gravel | | `random_oxidization` | 4 × `horizon:pick` with `redraw` and `keep_properties`: oxidized copper, cut copper, stairs, slab → exposed < 0.1, else weathered < 0.3, else oxidized | | `structure_void` | `horizon:keep_world_block` (purpur slab, brown wool) | | `air_processor` | `horizon:flood_air` | | `waterlog_processor` | `horizon:waterlog` | | `seagrass` | `rule`: red sandstone / end stone brick slab → tall seagrass lower / upper, brick slab → seagrass | | `random_sponge` | `horizon:pick`: orange glass → wet sponge < 0.75, else water | | `leg_processor` | `horizon:yung_pillar`: blue glass → prismarine bricks, column down | | Better Witch Huts `leg_processor` / `fence_leg_processor` | `horizon:yung_pillar`: brown glass → oak log (axis y); crimson fence → oak fence with its properties | Dropped processors: Better Ocean Monuments 10 → 0, Better Witch Huts 5 → 3. docs/modpacks.md updated. ## How tested ``` cargo fmt --all -- --check ok cargo clippy -p horizon-port-pack --all-targets -- -D warnings ok cargo test -p horizon-port-pack ok (48; new: ocean_monuments_become_the_games) ``` Carried the two mods with #982's branch and with this one, everything else the same; generated with #983's build (seed 1234): - starts identical (382 starts, 37,451 pieces, chunks -64..63); - the monument at chunk (2, 8): 318,512 air → water, 0 air left at y 30..60 (227,034 before), all 5,142 placeholders gone, legs of prismarine bricks to the sea floor (2,060 glass → bricks, 1,190 water → bricks). ## Needs Ludovic Nothing. 🤖 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:27 +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#2964
No description provided.