[GH-ISSUE #1363] [server-thread] Thrown splash potions are invisible #390

Closed
opened 2026-11-02 15:38:43 +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/1363

Tested 83fa14e51b89eab728b8e233e9e5d95296bef93d, fresh equivalent worlds with explicit mode flags.

Reproduce

  1. In survival, hold a Splash Potion of Swiftness.
  2. Look about 45 degrees upward and throw it into open sky.
  3. Watch the bottle during flight. Repeat with --no-server-thread.

Expected: The thrown bottle is visible, as in old mode.

Actual in --server-thread: The item is consumed but no flying bottle appears. Old mode clearly renders the potion near the crosshair after the throw. Reproduced in two fresh mode pairs with rendered-frame captures and subsequent settling; the threaded entity census has no splash-potion entity in all sampled flight frames.

Evidence: .local/singleplayer-audit/entities-{b,c}/potion-flight-{old,threaded}/flight-2-0.png and result.json. Additional screenshots cover later flight frames. Driver: tools/singleplayer_entities_audit.py --case potion-flight. No matching potion-visibility issue found.

Hypothesis: Player-thrown potions in PotionState::thrown are omitted from server entity tracking; the remote projectile mapping also lacks potion types.

Acceptance: Threaded clients render the thrown potion at its authoritative position throughout flight, then remove it on impact.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1363 Tested `83fa14e51b89eab728b8e233e9e5d95296bef93d`, fresh equivalent worlds with explicit mode flags. **Reproduce** 1. In survival, hold a Splash Potion of Swiftness. 2. Look about 45 degrees upward and throw it into open sky. 3. Watch the bottle during flight. Repeat with `--no-server-thread`. **Expected:** The thrown bottle is visible, as in old mode. **Actual in --server-thread:** The item is consumed but no flying bottle appears. Old mode clearly renders the potion near the crosshair after the throw. Reproduced in two fresh mode pairs with rendered-frame captures and subsequent settling; the threaded entity census has no splash-potion entity in all sampled flight frames. Evidence: `.local/singleplayer-audit/entities-{b,c}/potion-flight-{old,threaded}/flight-2-0.png` and `result.json`. Additional screenshots cover later flight frames. Driver: `tools/singleplayer_entities_audit.py --case potion-flight`. No matching potion-visibility issue found. **Hypothesis:** Player-thrown potions in `PotionState::thrown` are omitted from server entity tracking; the remote projectile mapping also lacks potion types. **Acceptance:** Threaded clients render the thrown potion at its authoritative position throughout flight, then remove it on impact.
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#390
No description provided.