[GH-ISSUE #1306] [server-thread] Absorption protects on the server but golden hearts are missing #343

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

Tested commit: 83fa14e51b.

  1. Launch survival with --server-thread.
  2. Eat a golden apple, or apply effect give @s absorption 120 1.
  3. Wait for the effect to apply and inspect the health bar. Repeat with --no-server-thread.

Expected: golden hearts show the current absorption protection and decrease as it is used.

Actual: threaded mode shows the effect icon but no golden hearts. Server protection works. With Absorption II, both modes absorb a 6-damage hit without losing health, then end at health 12 after a further 10-damage hit. Old local absorption tracks 8 → 2 → 0; threaded local amount stays 0. Clean screenshots show four golden hearts in old mode and none in threaded mode. Ordinary golden-apple consumption reproduces the missing local amount with four protection points.

Hypothesis: current absorption is not synchronized into the connected client's player/HUD state.

Acceptance: threaded HUD shows the real remaining absorption, including after golden apples and subsequent damage.

Evidence: tools/singleplayer_more_audit.py --case absorption --case absorption-food; clean inspected screenshots in .local/singleplayer-audit/more-e/absorption-*/absorption.png, natural-food traces in more-c/absorption-food-*/. Both modes use identical builds with read-only diagnostics. No matching HUD issue found.

Originally created by @rdbtCVS on GitHub (Oct 22, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1306 Tested commit: 83fa14e51b89eab728b8e233e9e5d95296bef93d. 1. Launch survival with `--server-thread`. 2. Eat a golden apple, or apply `effect give @s absorption 120 1`. 3. Wait for the effect to apply and inspect the health bar. Repeat with `--no-server-thread`. Expected: golden hearts show the current absorption protection and decrease as it is used. Actual: threaded mode shows the effect icon but no golden hearts. Server protection works. With Absorption II, both modes absorb a 6-damage hit without losing health, then end at health 12 after a further 10-damage hit. Old local absorption tracks 8 → 2 → 0; threaded local amount stays 0. Clean screenshots show four golden hearts in old mode and none in threaded mode. Ordinary golden-apple consumption reproduces the missing local amount with four protection points. Hypothesis: current absorption is not synchronized into the connected client's player/HUD state. Acceptance: threaded HUD shows the real remaining absorption, including after golden apples and subsequent damage. Evidence: `tools/singleplayer_more_audit.py --case absorption --case absorption-food`; clean inspected screenshots in `.local/singleplayer-audit/more-e/absorption-*/absorption.png`, natural-food traces in `more-c/absorption-food-*/`. Both modes use identical builds with read-only diagnostics. No matching HUD 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#343
No description provided.