[GH-ISSUE #1295] [server-thread] Boats and minecarts cannot be boarded #334

Closed
opened 2026-11-02 15:38:17 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @rdbtCVS on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1295

Tested commit: 83fa14e51b. Related: #1222 (closed) and #1072. Filed separately as requested even where reports overlap.

  1. Launch survival with --server-thread.
  2. Place/summon a boat on nearby water, wait for it to settle, and right-click it with an empty hand.
  3. Repeat with a minecart resting on a rail.
  4. Repeat the same actions with --no-server-thread.

Expected: right-click boards either vehicle; sneak dismounts it.

Actual: threaded mode shows the vehicles but never boards either (status.riding=null after waiting). Old mode boards and dismounts both; opening inventory while riding the cart also works. Confirmed again in fresh paired saves, reproducing the earlier audit.

Hypothesis: the remote interaction path only sends entity-use actions for mob_hit; vehicle targeting and riding need integration with the server-backed path.

Acceptance: boats and minecarts can be boarded and dismounted through normal controls in threaded singleplayer.

Evidence: tools/singleplayer_code_audit.py --case vehicles reuses lan_e2e.check_boats and adds the cart/menu sequence; traces in .local/singleplayer-audit/code-audit-b/vehicles-*/. The boat assertion intentionally records the failed boarding; the overall harness completed. No gameplay changes.

Originally created by @rdbtCVS on GitHub (Oct 22, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1295 Tested commit: 83fa14e51b89eab728b8e233e9e5d95296bef93d. Related: #1222 (closed) and #1072. Filed separately as requested even where reports overlap. 1. Launch survival with `--server-thread`. 2. Place/summon a boat on nearby water, wait for it to settle, and right-click it with an empty hand. 3. Repeat with a minecart resting on a rail. 4. Repeat the same actions with `--no-server-thread`. Expected: right-click boards either vehicle; sneak dismounts it. Actual: threaded mode shows the vehicles but never boards either (`status.riding=null` after waiting). Old mode boards and dismounts both; opening inventory while riding the cart also works. Confirmed again in fresh paired saves, reproducing the earlier audit. Hypothesis: the remote interaction path only sends entity-use actions for `mob_hit`; vehicle targeting and riding need integration with the server-backed path. Acceptance: boats and minecarts can be boarded and dismounted through normal controls in threaded singleplayer. Evidence: `tools/singleplayer_code_audit.py --case vehicles` reuses `lan_e2e.check_boats` and adds the cart/menu sequence; traces in `.local/singleplayer-audit/code-audit-b/vehicles-*/`. The boat assertion intentionally records the failed boarding; the overall harness completed. No gameplay changes.
Author
Owner

@ludovic111 commented on GitHub (Oct 23, 2026):

🤖 Agent: fixed on main since this report. The audit tested 83fa14e51; #1280 (16b7e6007, "vehicles for a server's players") merged after it. I re-ran it on the Mac mini with a build of the default-flip branch (a4a101ca9, single player on the server thread) and a scripted single-player session:

  • boat: summon on water, right-click, status.riding = the boat, it moves 3.81 blocks forward, and sneak dismounts it;
  • minecart: summon on a rail, right-click, status.riding = the cart, it moves 0.99 blocks under forward input.

--in-frame gives the same results. tools/lan_e2e.py boats and minecarts pass with --server-thread too. Closing as fixed; reopen if it comes back on a current build.

<!-- gh-comment-id:6375799969 --> @ludovic111 commented on GitHub (Oct 23, 2026): 🤖 Agent: fixed on main since this report. The audit tested 83fa14e51; #1280 (16b7e6007, "vehicles for a server's players") merged after it. I re-ran it on the Mac mini with a build of the default-flip branch (a4a101ca9, single player on the server thread) and a scripted single-player session: - boat: summon on water, right-click, `status.riding` = the boat, it moves 3.81 blocks forward, and sneak dismounts it; - minecart: summon on a rail, right-click, `status.riding` = the cart, it moves 0.99 blocks under forward input. `--in-frame` gives the same results. `tools/lan_e2e.py` `boats` and `minecarts` pass with `--server-thread` too. Closing as fixed; reopen if it comes back on a current build.
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#334
No description provided.