[GH-ISSUE #1304] [server-thread] Respiration helmet protects from drowning but breath meter empties too soon #344

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

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

Tested commit: 83fa14e51b.

  1. Launch survival with --server-thread, equip a Respiration III helmet and fully refill air.
  2. Stay submerged, without Water Breathing, for about 20 seconds.
  3. Compare the breath meter with --no-server-thread from the same conditions.

Expected: the meter reflects the extra underwater breathing time supplied by Respiration.

Actual: threaded mode shows an empty breath meter while the enchantment still protects the player on the server. After 400 ticks, old mode has about seven visible bubbles and local air 204; threaded has no bubbles and local air -4. Both remain at authoritative health 20. Separate no-helmet controls lose health to 10 in both modes, confirming drowning works and the helmet's server protection is active.

Hypothesis: the remote path does not apply/synchronize Respiration-adjusted air to the local HUD state.

Acceptance: with Respiration, the threaded breath meter reflects the extended air supply and does not falsely show depletion while air remains.

Evidence: tools/singleplayer_more_audit.py --case respiration-visual; inspected breath-respiration.png screenshots and paired traces in .local/singleplayer-audit/more-b/respiration-visual-*/. Functional bare/helmet controls are in more-a/respiration-*/. Only read-only diagnostics were added. No matching issue found.

Originally created by @rdbtCVS on GitHub (Oct 22, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1304 Tested commit: 83fa14e51b89eab728b8e233e9e5d95296bef93d. 1. Launch survival with `--server-thread`, equip a Respiration III helmet and fully refill air. 2. Stay submerged, without Water Breathing, for about 20 seconds. 3. Compare the breath meter with `--no-server-thread` from the same conditions. Expected: the meter reflects the extra underwater breathing time supplied by Respiration. Actual: threaded mode shows an empty breath meter while the enchantment still protects the player on the server. After 400 ticks, old mode has about seven visible bubbles and local air 204; threaded has no bubbles and local air -4. Both remain at authoritative health 20. Separate no-helmet controls lose health to 10 in both modes, confirming drowning works and the helmet's server protection is active. Hypothesis: the remote path does not apply/synchronize Respiration-adjusted air to the local HUD state. Acceptance: with Respiration, the threaded breath meter reflects the extended air supply and does not falsely show depletion while air remains. Evidence: `tools/singleplayer_more_audit.py --case respiration-visual`; inspected `breath-respiration.png` screenshots and paired traces in `.local/singleplayer-audit/more-b/respiration-visual-*/`. Functional bare/helmet controls are in `more-a/respiration-*/`. Only read-only diagnostics were added. No matching issue found.
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#344
No description provided.