[PR #7351] [MERGED] Port map: the boat bubble column rows are ported, not missing #7542

Closed
opened 2026-11-03 07:19:24 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: chore/stale1-game2-007


📝 Commits (1)

  • 8af100b Port map: the boat bubble column rows are ported

📊 Changes

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

View changed files

📝 tools/port_map/game2-007.tsv (+5 -5)

📄 Description

Four tools/port_map/game2-007.tsv rows had missing in the verdict cell while the behaviour already runs in the tree: AbstractBoat's bubble column handling lives in game/boats.rs and game/remote_vehicles.rs. Each row now names the single fn that does the method's job, and the note says what that fn does instead of asserting the gap.

row now cites what it does
4 AbstractBoat.onAboveBubbleColumn crates/horizon-client/src/game/boats.rs::Game::boat_above_bubble_column marks the boat above a column and starts the 60-tick bubble time, down or up; out of water, one roll in a hundred plays the swim splash sound and particle and posts the minecraft:splash game event
6 AbstractBoat.tickBubbleColumn crates/horizon-client/src/game/boats.rs::Game::tick_boat_bubble_column the countdown (Boat::tick_bubble_countdown) running out throws the boat up or pulls it down after BUBBLE_TIME ticks, lets the riders out of a down column first and broadcasts event 71 or 72; the client's wobble is Boat::tick_bubble_wobble
7 AbstractBoat.handleEntityEvent crates/horizon-client/src/game/remote_vehicles.rs::Game::remote_boat_event event 71 drags the boat down and 72 throws it up, on the boat the client drives; every other id is left alone
8 AbstractBoat.handleBubbleColumnEffect crates/horizon-client/src/game/boats.rs::Game::handle_bubble_column_effect an up column sets vertical velocity 0.6 and a down column adds -0.7, only while the window simulates the boat's movement

map-check also flagged a row this batch did not start with: 21 AbstractBoat.onPassengerTurned named ...boats.rs::Game::tick_riding, a fn that is not in the tree. The 105-degree clamp of the rider's view against the boat is in Game::remote_ride, so that row now names it; its verdict inline and its note are unchanged.

Validation, against a build of upstream/main (fdd290b99) with both 26.3 jars in /tmp/led-stale1:

$ PORT_LEDGER_OUT=/tmp/led-stale1 python3 tools/port_ledger.py map-check tools/port_map/game2-007.tsv
147 rows, no problems.

Proven: the vanilla side was read in the 26.3 sources (AbstractBoat.java:159, :294, :332, :341, :704): onAboveBubbleColumn sets the bubble time on the server half and rolls the splash on both, tickBubbleColumn counts down and ejects and broadcasts 71/72, handleEntityEvent applies the effect for 71 and 72, handleBubbleColumnEffect adds -0.7 or sets 0.6 under canSimulateMovement. Each cited fn matches that shape line for line, including BUBBLE_TIME = 60 and the 71/72 constants, and each has a caller that reaches it: Game::boat_bubble_tick calls the column bookkeeping, the countdown and the wobble, and the EntityEvent arm of game/remote.rs calls remote_boat_event.

Not proven: that the behaviour matches vanilla end to end — no parity test covers a boat in a bubble column, so the splash roll, the diff > 0 window of the countdown and the ejection were read, not run; and the note on row 6 names Boat::tick_bubble_wobble for the client half without a separate row for it.


🔄 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/7351 **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/stale1-game2-007` --- ### 📝 Commits (1) - [`8af100b`](https://github.com/horizon-rust/horizon/commit/8af100b198c2674211141b9532f65a33cac39a7a) Port map: the boat bubble column rows are ported ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/game2-007.tsv` (+5 -5) </details> ### 📄 Description Four `tools/port_map/game2-007.tsv` rows had `missing` in the verdict cell while the behaviour already runs in the tree: `AbstractBoat`'s bubble column handling lives in `game/boats.rs` and `game/remote_vehicles.rs`. Each row now names the single fn that does the method's job, and the note says what that fn does instead of asserting the gap. | row | now cites | what it does | | --- | --- | --- | | 4 `AbstractBoat.onAboveBubbleColumn` | `crates/horizon-client/src/game/boats.rs::Game::boat_above_bubble_column` | marks the boat above a column and starts the 60-tick bubble time, down or up; out of water, one roll in a hundred plays the swim splash sound and particle and posts the `minecraft:splash` game event | | 6 `AbstractBoat.tickBubbleColumn` | `crates/horizon-client/src/game/boats.rs::Game::tick_boat_bubble_column` | the countdown (`Boat::tick_bubble_countdown`) running out throws the boat up or pulls it down after `BUBBLE_TIME` ticks, lets the riders out of a down column first and broadcasts event 71 or 72; the client's wobble is `Boat::tick_bubble_wobble` | | 7 `AbstractBoat.handleEntityEvent` | `crates/horizon-client/src/game/remote_vehicles.rs::Game::remote_boat_event` | event 71 drags the boat down and 72 throws it up, on the boat the client drives; every other id is left alone | | 8 `AbstractBoat.handleBubbleColumnEffect` | `crates/horizon-client/src/game/boats.rs::Game::handle_bubble_column_effect` | an up column sets vertical velocity 0.6 and a down column adds -0.7, only while the window simulates the boat's movement | `map-check` also flagged a row this batch did not start with: 21 `AbstractBoat.onPassengerTurned` named `...boats.rs::Game::tick_riding`, a fn that is not in the tree. The 105-degree clamp of the rider's view against the boat is in `Game::remote_ride`, so that row now names it; its verdict `inline` and its note are unchanged. Validation, against a build of `upstream/main` (fdd290b99) with both 26.3 jars in `/tmp/led-stale1`: ``` $ PORT_LEDGER_OUT=/tmp/led-stale1 python3 tools/port_ledger.py map-check tools/port_map/game2-007.tsv 147 rows, no problems. ``` **Proven:** the vanilla side was read in the 26.3 sources (`AbstractBoat.java:159`, `:294`, `:332`, `:341`, `:704`): `onAboveBubbleColumn` sets the bubble time on the server half and rolls the splash on both, `tickBubbleColumn` counts down and ejects and broadcasts 71/72, `handleEntityEvent` applies the effect for 71 and 72, `handleBubbleColumnEffect` adds -0.7 or sets 0.6 under `canSimulateMovement`. Each cited fn matches that shape line for line, including `BUBBLE_TIME = 60` and the 71/72 constants, and each has a caller that reaches it: `Game::boat_bubble_tick` calls the column bookkeeping, the countdown and the wobble, and the `EntityEvent` arm of `game/remote.rs` calls `remote_boat_event`. **Not proven:** that the behaviour matches vanilla end to end — no parity test covers a boat in a bubble column, so the splash roll, the `diff > 0` window of the countdown and the ejection were read, not run; and the note on row 6 names `Boat::tick_bubble_wobble` for the client half without a separate row for it. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 07:19:24 +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#7542
No description provided.