[PR #7048] [MERGED] Clear the stale bell note in game2-012.tsv #7294

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7048
Author: @MSedgeMC
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: chore/ledger-game2-012-v


📝 Commits (1)

  • 989d52b port map: game2-012's bell row describes a gap that closed

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 tools/port_map/game2-012.tsv (+1 -1)

📄 Description

One row of tools/port_map/game2-012.tsv describes a gap that main has closed. The verdict and the citation were already right, so only the note changes.

row verdict citation
BellBlock.onExplosionHit port (unchanged) crates/horizon-client/src/game/wind.rs::Game::wind_trigger_block
  • The note said a wind charge burst that hits a bell leaves it silent, because Horizon sent an Up-face use that bell_hit rejects. That is not what the code does any more: wind_trigger_block has a bell arm ahead of the generic use, and it calls bell_attempt_to_ring - BellBlock.attemptToRing with no direction - which rings the bell toward its facing, powered or not. The note now says that, and keeps its TNT remark, since an explosion that cannot trigger blocks never gets here.
  • No other row changes. The file has no missing rows, and its other two gap: notes were re-read and still hold: Block.dropFromLootTable's GameLevel::drop_interact_loot still returns nothing, and the ore experience in Game::break_block_as_player still skips the block_drops rule that Block.popExperience honours.

Proven: the bell arm is in the tree at the row's file::fn: git grep "bell_attempt_to_ring" upstream/main -- crates/ finds the call inside crates/horizon-client/src/game/wind.rs::Game::wind_trigger_block (under // BellBlock.onExplosionHit: attemptToRing with no direction, so the bell rings toward its facing, not the face the burst came from, powered or not), and the callee crates/horizon-world/src/level/mod.rs::bell_attempt_to_ring checks Class::Bell and then rings through bell_ring. map-check deferred, build VM in cooldown - the box is cooling down until 10:55Z, so PORT_LEDGER_OUT=/tmp/led-game2-012 python3 tools/port_ledger.py build --jar .../client.jar --jar .../server.jar && python3 tools/port_ledger.py map-check tools/port_map/game2-012.tsv is re-run and reported here as soon as it answers.

Not proven: the map-check line count for this file; the vanilla side of the arm (that BellBlock.onExplosionHit calls attemptToRing with a null direction) is taken from the tree's own citation of it, not re-read from bytecode on this pass.


🔄 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/7048 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/ledger-game2-012-v` --- ### 📝 Commits (1) - [`989d52b`](https://github.com/horizon-rust/horizon/commit/989d52bcc4049d94a910b216ff426cf0dbfad7f3) port map: game2-012's bell row describes a gap that closed ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/game2-012.tsv` (+1 -1) </details> ### 📄 Description One row of `tools/port_map/game2-012.tsv` describes a gap that `main` has closed. The verdict and the citation were already right, so only the note changes. | row | verdict | citation | | --- | --- | --- | | `BellBlock.onExplosionHit` | `port` (unchanged) | `crates/horizon-client/src/game/wind.rs::Game::wind_trigger_block` | - The note said a wind charge burst that hits a bell leaves it silent, because Horizon sent an Up-face use that `bell_hit` rejects. That is not what the code does any more: `wind_trigger_block` has a bell arm ahead of the generic use, and it calls `bell_attempt_to_ring` - `BellBlock.attemptToRing` with no direction - which rings the bell toward its facing, powered or not. The note now says that, and keeps its TNT remark, since an explosion that cannot trigger blocks never gets here. - No other row changes. The file has no `missing` rows, and its other two `gap:` notes were re-read and still hold: `Block.dropFromLootTable`'s `GameLevel::drop_interact_loot` still returns nothing, and the ore experience in `Game::break_block_as_player` still skips the `block_drops` rule that `Block.popExperience` honours. **Proven:** the bell arm is in the tree at the row's `file::fn`: `git grep "bell_attempt_to_ring" upstream/main -- crates/` finds the call inside `crates/horizon-client/src/game/wind.rs::Game::wind_trigger_block` (under `// BellBlock.onExplosionHit: attemptToRing with no direction, so the bell rings toward its facing, not the face the burst came from, powered or not`), and the callee `crates/horizon-world/src/level/mod.rs::bell_attempt_to_ring` checks `Class::Bell` and then rings through `bell_ring`. map-check deferred, build VM in cooldown - the box is cooling down until 10:55Z, so `PORT_LEDGER_OUT=/tmp/led-game2-012 python3 tools/port_ledger.py build --jar .../client.jar --jar .../server.jar && python3 tools/port_ledger.py map-check tools/port_map/game2-012.tsv` is re-run and reported here as soon as it answers. **Not proven:** the map-check line count for this file; the vanilla side of the arm (that `BellBlock.onExplosionHit` calls `attemptToRing` with a null direction) is taken from the tree's own citation of it, not re-read from bytecode on this pass. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:37:16 +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#7294
No description provided.