[GH-ISSUE #1331] [no-server-thread] A solid block around the player's head causes no suffocation damage #364

Closed
opened 2026-11-02 15:38:32 +07:00 by bsakaguchi · 1 comment
Owner

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

Tested commit: 83fa14e51b89eab728b8e233e9e5d95296bef93d, render distance 4. Affects old --no-server-thread; threaded mode is the correct control here.

  1. In survival with 20 health, no armor/effects, stand at (0.5,100,0.5) on a solid floor.
  2. Run setblock 0 101 0 stone, enclosing the player's eyes.
  3. Wait about 65 ticks.

Expected: suffocation damage while the eyes remain inside the stone.

Actual: old mode stays at 20 health; --server-thread reaches 13 health. Both remain at the same position with their eyes inside the intact stone. A fresh reduced pair confirms the earlier contact-control result.

Hypothesis: old gameplay does not call the in-wall hazard check implemented in the server guest path. Native 26.3 LivingEntity base ticking applies suffocation damage.

Acceptance: old survival applies normal suffocation damage, with creative/spectator and non-suffocating-block exemptions preserved.

Evidence: tools/singleplayer_sequence_audit.py --case suffocation --render-distance 4; .local/singleplayer-audit/sequence-c/suffocation-*/ includes authoritative health and block/eye positions. No matching old-singleplayer report found; #435 concerns historical LAN guest hazards.

Originally created by @rdbtCVS on GitHub (Oct 22, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1331 Tested commit: `83fa14e51b89eab728b8e233e9e5d95296bef93d`, render distance 4. Affects old `--no-server-thread`; threaded mode is the correct control here. 1. In survival with 20 health, no armor/effects, stand at `(0.5,100,0.5)` on a solid floor. 2. Run `setblock 0 101 0 stone`, enclosing the player's eyes. 3. Wait about 65 ticks. Expected: suffocation damage while the eyes remain inside the stone. Actual: old mode stays at **20 health**; `--server-thread` reaches **13 health**. Both remain at the same position with their eyes inside the intact stone. A fresh reduced pair confirms the earlier contact-control result. Hypothesis: old gameplay does not call the in-wall hazard check implemented in the server guest path. Native 26.3 LivingEntity base ticking applies suffocation damage. Acceptance: old survival applies normal suffocation damage, with creative/spectator and non-suffocating-block exemptions preserved. Evidence: `tools/singleplayer_sequence_audit.py --case suffocation --render-distance 4`; `.local/singleplayer-audit/sequence-c/suffocation-*/` includes authoritative health and block/eye positions. No matching old-singleplayer report found; #435 concerns historical LAN guest hazards.
Author
Owner

@rdbtCVS commented on GitHub (Oct 23, 2026):

--no-server-thread will eventually be removed so this can be ignored i guess.

<!-- gh-comment-id:6354101680 --> @rdbtCVS commented on GitHub (Oct 23, 2026): --no-server-thread will eventually be removed so this can be ignored i guess.
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#364
No description provided.