[PR #1028] [MERGED] port-pack: enter_block criteria name their block as blocks (mod advancements no longer granted on any block) #3003

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

📋 Pull Request Information

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

Base: main ← Head: fix/carry-enter-block-advancements


📝 Commits (1)

  • 8011d27 port-pack: enter_block criteria name their block as blocks

📊 Changes

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

View changed files

📝 crates/horizon-port-pack/src/carry.rs (+62 -0)
📝 docs/modpacks.md (+5 -0)

📄 Description

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

What

26.3's EnterBlockTrigger reads the blocks to match from blocks (a block list) and ignores
1.21.1's block. A carried criterion therefore had no block filter and matched any block the
player entered. In the ATM10 play test (modpacks-11), Regions Unexplored's "Downer" (dorcel),
"From the Tree Tops" (kapok vines) and "Light as a Frog" (giant lily pad) were all granted on the
first dive into the sea.

Carry now renames the field (upgrade_advancement), and the report counts the advancements it
changed.

How tested

cargo fmt --all -- --check                                              ok
cargo clippy -p horizon-port-pack --all-targets -- -D warnings          ok
cargo test -p horizon-port-pack                                         51 passed (new: enter_block_criteria_name_their_blocks)
  • Re-carried Regions Unexplored from the ATM10 jar: 20 advancements upgraded (the 3 above and
    17 boat recipes' "in water" criteria), and no "block" field is left.
  • In the game (all 42 carried mods, seed 1234), teleporting into the sea and then out of it no
    longer grants any advancement. Before the change the same dive granted all three.

The workspace clippy, tools/parity.py --changed origin/main and the structure-start oracle run once on
the integration commit with my other open PRs; the results go in a comment.

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/1028 **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-enter-block-advancements` --- ### 📝 Commits (1) - [`8011d27`](https://github.com/horizon-rust/horizon/commit/8011d274ebccbdc0374d34c17caa1df46e0aea25) port-pack: enter_block criteria name their block as blocks ### 📊 Changes **2 files changed** (+67 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-port-pack/src/carry.rs` (+62 -0) 📝 `docs/modpacks.md` (+5 -0) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. ## What 26.3's `EnterBlockTrigger` reads the blocks to match from `blocks` (a block list) and ignores 1.21.1's `block`. A carried criterion therefore had no block filter and matched any block the player entered. In the ATM10 play test (modpacks-11), Regions Unexplored's "Downer" (dorcel), "From the Tree Tops" (kapok vines) and "Light as a Frog" (giant lily pad) were all granted on the first dive into the sea. Carry now renames the field (`upgrade_advancement`), and the report counts the advancements it changed. ## How tested ``` cargo fmt --all -- --check ok cargo clippy -p horizon-port-pack --all-targets -- -D warnings ok cargo test -p horizon-port-pack 51 passed (new: enter_block_criteria_name_their_blocks) ``` - Re-carried Regions Unexplored from the ATM10 jar: 20 advancements upgraded (the 3 above and 17 boat recipes' "in water" criteria), and no `"block"` field is left. - In the game (all 42 carried mods, seed 1234), teleporting into the sea and then out of it no longer grants any advancement. Before the change the same dive granted all three. The workspace clippy, `tools/parity.py --changed origin/main` and the structure-start oracle run once on the integration commit with my other open PRs; the results go in a comment. 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:45 +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#3003
No description provided.