[GH-ISSUE #1386] [server-thread] Wind charges do not launch the player #409

Closed
opened 2026-11-02 15:38:52 +07:00 by bsakaguchi · 0 comments
Owner

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

Threaded regression at 83fa14e51b89eab728b8e233e9e5d95296bef93d, Linux/Vulkan; two fresh equivalent mode pairs.

Reproduce in survival on a flat stone platform:

  1. /give @s wind_charge 2
  2. Look straight down and right-click once at your feet.
  3. Observe the complete launch/landing sequence.

Expected: the burst launches the player upward, as with --no-server-thread.

Actual: threaded consumes a charge and produces the burst's block interaction, but the player never rises. Old mode rises about six blocks and lands.

Evidence: .local/singleplayer-audit/wind-{a,b}/wind-jump-*/result.json. Thirty samples over 60 ticks allow different impact timing: old peak Y≈106.04 from Y=100; threaded peak Y=100. Both finish at ground level. In wind-b, a nearby closed trapdoor opens in both modes, proving the server processed the burst. One charge remains in both inventories. The standing trial needs no jump-key timing.

Hypothesis: wind knockback updates only Game::player; the server thread's connected player is stored as a guest instead.

Acceptance: a processed wind burst applies the appropriate player impulse and fall-damage grace in threaded mode, while retaining block interactions.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1386 Threaded regression at `83fa14e51b89eab728b8e233e9e5d95296bef93d`, Linux/Vulkan; two fresh equivalent mode pairs. Reproduce in survival on a flat stone platform: 1. `/give @s wind_charge 2` 2. Look straight down and right-click once at your feet. 3. Observe the complete launch/landing sequence. Expected: the burst launches the player upward, as with `--no-server-thread`. Actual: threaded consumes a charge and produces the burst's block interaction, but the player never rises. Old mode rises about six blocks and lands. Evidence: `.local/singleplayer-audit/wind-{a,b}/wind-jump-*/result.json`. Thirty samples over 60 ticks allow different impact timing: old peak Y≈106.04 from Y=100; threaded peak Y=100. Both finish at ground level. In wind-b, a nearby closed trapdoor opens in both modes, proving the server processed the burst. One charge remains in both inventories. The standing trial needs no jump-key timing. Hypothesis: wind knockback updates only Game::player; the server thread's connected player is stored as a guest instead. Acceptance: a processed wind burst applies the appropriate player impulse and fall-damage grace in threaded mode, while retaining block interactions.
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#409
No description provided.