[GH-ISSUE #1364] [both singleplayer modes] Splash potions keep moving and applying effects during tick freeze #389

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/1364

Tested 83fa14e51b89eab728b8e233e9e5d95296bef93d; affects both explicitly selected singleplayer modes.

Reproduce

  1. Give yourself a Splash Potion of Swiftness, then run /tick freeze.
  2. Look straight down and throw it at your feet.
  3. Wait two seconds without stepping or unfreezing the world.
  4. Query game time/effects, then unfreeze as a control.

Expected: The projectile remains suspended; it lands and applies Speed only when world ticks resume. Native 26.3 retains the potion at its spawn position while frozen and only applies Speed after unfreezing.

Actual: Horizon's potion moves, lands and applies Speed during the freeze. Corrected fresh pairs query identical game times before/after the throw (old 41→41, threaded 50→50), yet Speed is already active. This is independent of whether the threaded bottle is rendered (#1363).

Reproduced in three fresh mode pairs. Evidence: .local/singleplayer-audit/entities-f/frozen-potion-{old,threaded}/result.json, earlier entities-{c,e}; native native-frozen-potion-reference/check.log (zero suspicious lines). Driver: tools/singleplayer_entities_audit.py --case frozen-potion. No matching freeze report found.

Hypothesis: tick_effects advances thrown potions unconditionally, outside the world's running/frozen guard.

Acceptance: Frozen thrown potions retain their position and cannot apply impact effects until ticks are stepped or resumed, in both modes.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1364 Tested `83fa14e51b89eab728b8e233e9e5d95296bef93d`; affects both explicitly selected singleplayer modes. **Reproduce** 1. Give yourself a Splash Potion of Swiftness, then run `/tick freeze`. 2. Look straight down and throw it at your feet. 3. Wait two seconds without stepping or unfreezing the world. 4. Query game time/effects, then unfreeze as a control. **Expected:** The projectile remains suspended; it lands and applies Speed only when world ticks resume. Native 26.3 retains the potion at its spawn position while frozen and only applies Speed after unfreezing. **Actual:** Horizon's potion moves, lands and applies Speed during the freeze. Corrected fresh pairs query identical game times before/after the throw (old 41→41, threaded 50→50), yet Speed is already active. This is independent of whether the threaded bottle is rendered (#1363). Reproduced in three fresh mode pairs. Evidence: `.local/singleplayer-audit/entities-f/frozen-potion-{old,threaded}/result.json`, earlier `entities-{c,e}`; native `native-frozen-potion-reference/check.log` (zero suspicious lines). Driver: `tools/singleplayer_entities_audit.py --case frozen-potion`. No matching freeze report found. **Hypothesis:** `tick_effects` advances thrown potions unconditionally, outside the world's running/frozen guard. **Acceptance:** Frozen thrown potions retain their position and cannot apply impact effects until ticks are stepped or resumed, in both modes.
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#389
No description provided.