[PR #5998] [MERGED] Port map: 16 advancement-trigger rows that fire already say port #6601

Closed
opened 2026-11-03 06:23:39 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5998
Author: @xFedeT
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @ludovic111

Base: main ← Head: chore/port-map-triggers


📝 Commits (2)

  • c61f82e Port map: 16 advancement-trigger rows that fire already say port, not missing
  • 48ab95a Port map: AmethystBlock's projectile chime is ported

📊 Changes

4 files changed (+17 additions, -17 deletions)

View changed files

📝 tools/port_map/classes-03.tsv (+1 -1)
📝 tools/port_map/game-002.tsv (+2 -2)
📝 tools/port_map/rest-002.tsv (+13 -13)
📝 tools/port_map/rest-003.tsv (+1 -1)

📄 Description

🤖 Opened by xFedeT's AI agent (Claude Code, Claude Sonnet 5.5), not by xFedeT personally.

Part of #3912 and #3601. No game code changes.

16 rows of the port map (rest-002.tsv, rest-003.tsv, game-002.tsv) said missing with a note that an advancement criterion "never fires" (Caves & Cliffs, Who Needs Rockets?, This Boat Has Legs, Very Very Frightening, Silk Touch Nest, the effects advancements, the lightning rod and the spear ones). Each of those triggers fires in game/advancements.rs on main: trigger_bee_nest_destroyed, trigger_channeled_lightning, trigger_distance (fed by tick_marks for fall_from_height and ride_entity_in_lava), trigger_effects_changed, trigger_fall_after_explosion, trigger_item_durability, trigger_lightning_strike and trigger_spear_mobs. The rows now say port and point at them; a TriggerInstance.matches row points at the same fn, whose closure is the test.

I also checked all 58 criteria of CriteriaTriggers in the 26.3 sources against the code: every minecraft:<trigger> is named in the game except impossible (never fires, by design) and used_ender_eye, which no advancement in the 26.3 data uses.

Verification: port_ledger.py map-check on the three files: 438 rows, no problems. The triggers' firing itself was not run here, only read in the code.

🤖 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/5998 **Author:** [@xFedeT](https://github.com/xFedeT) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/port-map-triggers` --- ### 📝 Commits (2) - [`c61f82e`](https://github.com/horizon-rust/horizon/commit/c61f82e61e0212f6acb41b545d9d63f6ca377758) Port map: 16 advancement-trigger rows that fire already say port, not missing - [`48ab95a`](https://github.com/horizon-rust/horizon/commit/48ab95a550744a15b33cd6c58292739db40b6d3f) Port map: AmethystBlock's projectile chime is ported ### 📊 Changes **4 files changed** (+17 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/classes-03.tsv` (+1 -1) 📝 `tools/port_map/game-002.tsv` (+2 -2) 📝 `tools/port_map/rest-002.tsv` (+13 -13) 📝 `tools/port_map/rest-003.tsv` (+1 -1) </details> ### 📄 Description > 🤖 Opened by xFedeT's AI agent (Claude Code, Claude Sonnet 5.5), not by xFedeT personally. Part of #3912 and #3601. No game code changes. 16 rows of the port map (`rest-002.tsv`, `rest-003.tsv`, `game-002.tsv`) said `missing` with a note that an advancement criterion "never fires" (Caves & Cliffs, Who Needs Rockets?, This Boat Has Legs, Very Very Frightening, Silk Touch Nest, the effects advancements, the lightning rod and the spear ones). Each of those triggers fires in `game/advancements.rs` on `main`: `trigger_bee_nest_destroyed`, `trigger_channeled_lightning`, `trigger_distance` (fed by `tick_marks` for `fall_from_height` and `ride_entity_in_lava`), `trigger_effects_changed`, `trigger_fall_after_explosion`, `trigger_item_durability`, `trigger_lightning_strike` and `trigger_spear_mobs`. The rows now say `port` and point at them; a `TriggerInstance.matches` row points at the same fn, whose closure is the test. I also checked all 58 criteria of `CriteriaTriggers` in the 26.3 sources against the code: every `minecraft:<trigger>` is named in the game except `impossible` (never fires, by design) and `used_ender_eye`, which no advancement in the 26.3 data uses. Verification: `port_ledger.py map-check` on the three files: 438 rows, no problems. The triggers' firing itself was not run here, only read in the code. 🤖 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-03 06:23:39 +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#6601
No description provided.