[PR #989] [MERGED] Carry Formations' structures #2966

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

📋 Pull Request Information

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

Base: main ← Head: feat/carry-formations


📝 Commits (1)

  • 8beeea5 Carry Formations' structures

📊 Changes

2 files changed (+62 additions, -5 deletions)

View changed files

📝 crates/horizon-port-pack/src/worldgen.rs (+51 -3)
📝 docs/modpacks.md (+11 -2)

📄 Description

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

Merge after #988 (the game type it writes).

What

horizon-port-pack carries Formations' structures (crates/horizon-port-pack/src/worldgen.rs):

  • formations:simple → the game's horizon:formations (its template pool and placement kept);
  • formations:single_pool_element → minecraft:single_pool_element, its ground_level (1 when missing, as its codec reads it) under horizon:ground_level;
  • formations:pieced (one structure) stays unsupported; its processors are still dropped.

docs/modpacks.md: a Formations paragraph with the counts; the "still lost" list now names only the pieced structure.

Unsupported types, before → after

mod before after
Formations Overworld simple 29, pieced 1, single_pool_element 92 pieced 1
Formations Nether simple 21, single_pool_element 36 none

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 (47; new: formations_become_the_games)

Carried both mods with origin/main's carry and with this branch, the other 40 mods the same, generated with #988's build (chunks -64..63): seed 1234 Overworld 371 → 410 starts (39 Formations), Nether 484 → 1,156 (672); seed 2 Overworld 438 → 489 (51), Nether 515 → 1,158 (643); no other start changes.

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/989 **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-formations` --- ### 📝 Commits (1) - [`8beeea5`](https://github.com/horizon-rust/horizon/commit/8beeea55ffee6757a4a63a4561dfd35e01f6ee3b) Carry Formations' structures ### 📊 Changes **2 files changed** (+62 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-port-pack/src/worldgen.rs` (+51 -3) 📝 `docs/modpacks.md` (+11 -2) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. **Merge after #988** (the game type it writes). ## What `horizon-port-pack` carries Formations' structures (`crates/horizon-port-pack/src/worldgen.rs`): - `formations:simple` → the game's `horizon:formations` (its `template` pool and `placement` kept); - `formations:single_pool_element` → `minecraft:single_pool_element`, its `ground_level` (1 when missing, as its codec reads it) under `horizon:ground_level`; - `formations:pieced` (one structure) stays unsupported; its processors are still dropped. docs/modpacks.md: a Formations paragraph with the counts; the "still lost" list now names only the pieced structure. ## Unsupported types, before → after | mod | before | after | | --- | --- | --- | | Formations Overworld | simple 29, pieced 1, single_pool_element 92 | pieced 1 | | Formations Nether | simple 21, single_pool_element 36 | none | ## 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 (47; new: formations_become_the_games) ``` Carried both mods with origin/main's carry and with this branch, the other 40 mods the same, generated with #988's build (chunks -64..63): seed 1234 Overworld 371 → 410 starts (39 Formations), Nether 484 → 1,156 (672); seed 2 Overworld 438 → 489 (51), Nether 515 → 1,158 (643); no other start changes. ## 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:29 +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#2966
No description provided.