[GH-ISSUE #1287] [server-thread] Underwater mining repeatedly removes and restores the block before it breaks #325

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

Tested commit: 83fa14e51b (Linux, disposable survival worlds). Related: #1254; filed separately as requested, with a reduced paired reproduction.

  1. Launch explicitly with --server-thread.
  2. Stand on a solid floor in water deep enough to submerge the eyes. Use a diamond pickaxe without Aqua Affinity; hold sneak to stay grounded.
  3. Hold attack on stone continuously. Repeat from the same save with --no-server-thread.

Expected: the block stays visible until the underwater mining time completes.

Actual: threaded mode removes the block prematurely, then restores it repeatedly while mining continues. In a fresh run it disappeared at 0.299 s and returned at 0.414 s, then disappeared at 0.889 s and returned at 0.956 s. Authoritative execute if block … stone checks still passed during both early disappearances. The real break occurred around 1.49 s. Old mode kept the stone until its real break around 1.44 s. Dry and Aqua Affinity controls did not show this rollback.

Hypothesis: remote_mining omits underwater mining modifiers used by authoritative destroy_progress.

Acceptance: submerged mining prediction follows the authoritative mining modifiers, without premature removal/restoration. Blocks still finish breaking normally.

Evidence: tools/singleplayer_complaints.py --case underwater-dense; local traces under .local/singleplayer-audit/complaints-g/underwater-dense-{old,threaded}/. Only read-only control diagnostics were added; gameplay was unchanged.

Originally created by @rdbtCVS on GitHub (Oct 22, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1287 Tested commit: 83fa14e51b89eab728b8e233e9e5d95296bef93d (Linux, disposable survival worlds). Related: #1254; filed separately as requested, with a reduced paired reproduction. 1. Launch explicitly with `--server-thread`. 2. Stand on a solid floor in water deep enough to submerge the eyes. Use a diamond pickaxe without Aqua Affinity; hold sneak to stay grounded. 3. Hold attack on stone continuously. Repeat from the same save with `--no-server-thread`. Expected: the block stays visible until the underwater mining time completes. Actual: threaded mode removes the block prematurely, then restores it repeatedly while mining continues. In a fresh run it disappeared at 0.299 s and returned at 0.414 s, then disappeared at 0.889 s and returned at 0.956 s. Authoritative `execute if block … stone` checks still passed during both early disappearances. The real break occurred around 1.49 s. Old mode kept the stone until its real break around 1.44 s. Dry and Aqua Affinity controls did not show this rollback. Hypothesis: `remote_mining` omits underwater mining modifiers used by authoritative `destroy_progress`. Acceptance: submerged mining prediction follows the authoritative mining modifiers, without premature removal/restoration. Blocks still finish breaking normally. Evidence: `tools/singleplayer_complaints.py --case underwater-dense`; local traces under `.local/singleplayer-audit/complaints-g/underwater-dense-{old,threaded}/`. Only read-only control diagnostics were added; gameplay was unchanged.
Author
Owner

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

fixed in https://github.com/ludovic111/horizon/pull/1411

<!-- gh-comment-id:6366925075 --> @rdbtCVS commented on GitHub (Oct 23, 2026): fixed in https://github.com/ludovic111/horizon/pull/1411
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#325
No description provided.