[GH-ISSUE #1356] [server-thread] Armor stands cannot be broken with survival attacks #382

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

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

Tested 83fa14e51b89eab728b8e233e9e5d95296bef93d, fresh equivalent survival worlds with explicit mode flags.

Reproduce

  1. Start with --server-thread and summon an empty armor stand within three blocks.
  2. Hold a diamond pickaxe, aim at its body and left-click twice a few ticks apart.
  3. Wait two seconds. Repeat with --no-server-thread.

Expected: Two quick attacks break the stand and drop one armor stand item.

Actual: Threaded mode leaves the stand intact and drops nothing. Old mode removes it and drops one armor stand item. Reproduced in two fresh mode pairs, with each click held for one tick and three ticks between clicks. An authoritative entity predicate still finds the threaded stand after settling; client object state agrees.

Evidence: .local/singleplayer-audit/items-{h,i}/object-attack-{old,threaded}/result.json. Driver: tools/singleplayer_items_audit.py --case object-attack. Existing searches found no matching armor-stand attack report.

Hypothesis: Client Attack selection and/or server target lookup omit the separate armor-stand collection.

This concerns left-click damage/removal; wrong-entity right-click equipment is #1354 and can be tested independently.

Acceptance: Survival attacks break the stand and create exactly one dropped stand item; the removed entity disappears on both client and server.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1356 Tested `83fa14e51b89eab728b8e233e9e5d95296bef93d`, fresh equivalent survival worlds with explicit mode flags. **Reproduce** 1. Start with `--server-thread` and summon an empty armor stand within three blocks. 2. Hold a diamond pickaxe, aim at its body and left-click twice a few ticks apart. 3. Wait two seconds. Repeat with `--no-server-thread`. **Expected:** Two quick attacks break the stand and drop one armor stand item. **Actual:** Threaded mode leaves the stand intact and drops nothing. Old mode removes it and drops one armor stand item. Reproduced in two fresh mode pairs, with each click held for one tick and three ticks between clicks. An authoritative entity predicate still finds the threaded stand after settling; client object state agrees. Evidence: `.local/singleplayer-audit/items-{h,i}/object-attack-{old,threaded}/result.json`. Driver: `tools/singleplayer_items_audit.py --case object-attack`. Existing searches found no matching armor-stand attack report. **Hypothesis:** Client Attack selection and/or server target lookup omit the separate armor-stand collection. This concerns left-click damage/removal; wrong-entity right-click equipment is #1354 and can be tested independently. **Acceptance:** Survival attacks break the stand and create exactly one dropped stand item; the removed entity disappears on both client and server.
Author
Owner

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

🤖 Agent: not reproducible on main (5bb492ca): #1222 (16b7e600) sends Attack for armor stands. Single player with HORIZON_SERVER_THREAD=1, survival, diamond pickaxe, two left clicks 4 ticks apart on a summoned stand: execute if entity @e[type=armor_stand] fails (the stand is gone) and one minecraft:armor_stand item lies where it stood.

<!-- gh-comment-id:6358303066 --> @ludovic111 commented on GitHub (Oct 23, 2026): 🤖 Agent: not reproducible on main (5bb492ca): #1222 (16b7e600) sends Attack for armor stands. Single player with `HORIZON_SERVER_THREAD=1`, survival, diamond pickaxe, two left clicks 4 ticks apart on a summoned stand: `execute if entity @e[type=armor_stand]` fails (the stand is gone) and one `minecraft:armor_stand` item lies where it stood.
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#382
No description provided.