[PR #7343] [CLOSED] port map: game2-007's bubble column rows are all ported #7508

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7343
Author: @MSedgeMC
Created: 11/2/2026
Status: ❌ Closed

Base: main ← Head: chore/vol-c-game2-007


📝 Commits (2)

  • 17ae659 port_map: game2-007's bubble column rows are all ported
  • 15c70ba port_map: game2-007's passenger turn cites a function that exists

📊 Changes

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

View changed files

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

📄 Description

Rows of tools/port_map/game2-007.tsv (147 rows, map-check clean against 26.3): the boat — spawning, seats, paddling, damage, leash, passengers.

Verdicts

row was now where
AbstractBoat.onAboveBubbleColumn missing inline crates/horizon-client/src/game/boats.rs::Game::boat_above_bubble_column
AbstractBoat.tickBubbleColumn missing port crates/horizon-client/src/game/boats.rs::Game::tick_boat_bubble_column
AbstractBoat.handleEntityEvent missing inline crates/horizon-client/src/game/remote_vehicles.rs::Game::remote_boat_event
AbstractBoat.handleBubbleColumnEffect missing port crates/horizon-client/src/game/boats.rs::Game::handle_bubble_column_effect

All four were filed as missing with the note "Horizon has no bubble column for boats". It has the whole of it, split the way vanilla splits it:

  • boat_above_bubble_column remembers the column, starts the BUBBLE_TIME (60 tick) countdown, and on boat_splash_roll's one-in-a-hundred — for a boat that is not under water — plays the splash sound and particle locally and posts the minecraft:splash game event to the listeners.
  • tick_boat_bubble_column runs when the countdown expires: a down column ejects the riders first, then event 71 (down) or 72 (up) goes out through lan_entity_event and handle_bubble_column_effect applies.
  • handle_bubble_column_effect is the push itself: an up column sets the vertical speed to 0.6, a down column adds -0.7.
  • remote_boat_event is the receiving half on a client: it takes exactly those two events and hands the boat to the same push.

Notes repaired

AbstractBoat.onPassengerTurned cited Game::tick_riding, a function in no file — the file printed a map problem for that row before this change. The port is boat_passengers::Game::seat_boat_mobs (positionRider and clampRotation for the mobs in a boat: each turns to the boat, an animal in a full boat sideways, its head kept within reach of its body, unless the entity type cannot turn in boats), and the note says where a player's seat is turned instead, remote_vehicles.rs.

Map-check:

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

Proven: the four ports read at the cite — boat_above_bubble_column's countdown, boat_splash_roll's next_int_bound(100) == 0 and under_water test, tick_boat_bubble_column's eject-then-event order with BUBBLE_DOWN_EVENT 71 and BUBBLE_UP_EVENT 72, handle_bubble_column_effect's 0.6 and -0.7, remote_boat_event's two-event filter — and the passenger-turn port from seat_boat_mobs plus seat_boat_mobs's can_turn_in_boats lookup.

Not proven: that a boat rides a bubble column correctly in game — I read both halves (the server push and the client event) and did not run a boat over a column.


🔄 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/7343 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `chore/vol-c-game2-007` --- ### 📝 Commits (2) - [`17ae659`](https://github.com/horizon-rust/horizon/commit/17ae65953cd99c9174f13210c35b93cc87c9834e) port_map: game2-007's bubble column rows are all ported - [`15c70ba`](https://github.com/horizon-rust/horizon/commit/15c70bad26c81dd7a6d90964ed12af36644466cd) port_map: game2-007's passenger turn cites a function that exists ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/game2-007.tsv` (+5 -5) </details> ### 📄 Description Rows of `tools/port_map/game2-007.tsv` (147 rows, map-check clean against 26.3): the boat — spawning, seats, paddling, damage, leash, passengers. **Verdicts** | row | was | now | where | | --- | --- | --- | --- | | `AbstractBoat.onAboveBubbleColumn` | missing | inline | `crates/horizon-client/src/game/boats.rs::Game::boat_above_bubble_column` | | `AbstractBoat.tickBubbleColumn` | missing | port | `crates/horizon-client/src/game/boats.rs::Game::tick_boat_bubble_column` | | `AbstractBoat.handleEntityEvent` | missing | inline | `crates/horizon-client/src/game/remote_vehicles.rs::Game::remote_boat_event` | | `AbstractBoat.handleBubbleColumnEffect` | missing | port | `crates/horizon-client/src/game/boats.rs::Game::handle_bubble_column_effect` | All four were filed as missing with the note "Horizon has no bubble column for boats". It has the whole of it, split the way vanilla splits it: - `boat_above_bubble_column` remembers the column, starts the `BUBBLE_TIME` (60 tick) countdown, and on `boat_splash_roll`'s one-in-a-hundred — for a boat that is not under water — plays the splash sound and particle locally and posts the `minecraft:splash` game event to the listeners. - `tick_boat_bubble_column` runs when the countdown expires: a down column ejects the riders first, then event 71 (down) or 72 (up) goes out through `lan_entity_event` and `handle_bubble_column_effect` applies. - `handle_bubble_column_effect` is the push itself: an up column sets the vertical speed to 0.6, a down column adds -0.7. - `remote_boat_event` is the receiving half on a client: it takes exactly those two events and hands the boat to the same push. **Notes repaired** `AbstractBoat.onPassengerTurned` cited `Game::tick_riding`, a function in no file — the file printed a `map` problem for that row before this change. The port is `boat_passengers::Game::seat_boat_mobs` (`positionRider` and `clampRotation` for the mobs in a boat: each turns to the boat, an animal in a full boat sideways, its head kept within reach of its body, unless the entity type cannot turn in boats), and the note says where a player's seat is turned instead, `remote_vehicles.rs`. Map-check: ``` PORT_LEDGER_OUT=... python3 tools/port_ledger.py map-check tools/port_map/game2-007.tsv 147 rows, no problems. ``` **Proven:** the four ports read at the cite — `boat_above_bubble_column`'s countdown, `boat_splash_roll`'s `next_int_bound(100) == 0` and `under_water` test, `tick_boat_bubble_column`'s eject-then-event order with `BUBBLE_DOWN_EVENT` 71 and `BUBBLE_UP_EVENT` 72, `handle_bubble_column_effect`'s `0.6` and `-0.7`, `remote_boat_event`'s two-event filter — and the passenger-turn port from `seat_boat_mobs` plus `seat_boat_mobs`'s `can_turn_in_boats` lookup. **Not proven:** that a boat rides a bubble column correctly in game — I read both halves (the server push and the client event) and did not run a boat over a column. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:40: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#7508
No description provided.