[GH-ISSUE #1354] [server-thread] Equipping an armor stand puts the helmet on the player instead #381

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

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

Reproduce

  1. Start with --server-thread and place/summon an empty armor stand about three blocks ahead.
  2. Hold a diamond helmet, aim at the stand's head and right-click once.
  3. Wait four seconds. Repeat with --no-server-thread.

Expected: The helmet goes on the stand; the player's armor stays empty.

Actual: Threaded mode equips the player and leaves the stand empty. Old mode equips the stand correctly. Reproduced in two fresh mode pairs. Server equipment NBT confirms the helmet is on the wrong entity, and screenshots confirm the crosshair is on the stand. Waiting does not correct it.

Evidence: .local/singleplayer-audit/items-h/stand-use-{old,threaded}/result.json and stand.png; independent first pair in items-g/object-use-*/result.json. Driver: tools/singleplayer_items_audit.py --case stand-use. No matching armor-stand interaction issue found.

Hypothesis: remote_use_entity omits armor-stand hit handling and falls through to using/equipping the held item on the player. Item-frame right-click omission is separately reproduced in #1352; boat boarding is #1295.

Acceptance: Clicking the stand transfers the helmet to its authoritative equipment and renders it there; the player does not equip it.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1354 Tested `83fa14e51b89eab728b8e233e9e5d95296bef93d`, fresh equivalent survival worlds with explicit mode flags. **Reproduce** 1. Start with `--server-thread` and place/summon an empty armor stand about three blocks ahead. 2. Hold a diamond helmet, aim at the stand's head and right-click once. 3. Wait four seconds. Repeat with `--no-server-thread`. **Expected:** The helmet goes on the stand; the player's armor stays empty. **Actual:** Threaded mode equips the player and leaves the stand empty. Old mode equips the stand correctly. Reproduced in two fresh mode pairs. Server equipment NBT confirms the helmet is on the wrong entity, and screenshots confirm the crosshair is on the stand. Waiting does not correct it. Evidence: `.local/singleplayer-audit/items-h/stand-use-{old,threaded}/result.json` and `stand.png`; independent first pair in `items-g/object-use-*/result.json`. Driver: `tools/singleplayer_items_audit.py --case stand-use`. No matching armor-stand interaction issue found. **Hypothesis:** `remote_use_entity` omits armor-stand hit handling and falls through to using/equipping the held item on the player. Item-frame right-click omission is separately reproduced in #1352; boat boarding is #1295. **Acceptance:** Clicking the stand transfers the helmet to its authoritative equipment and renders it there; the player does not equip it.
Author
Owner

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

🤖 Agent: not reproducible on main (5bb492ca): #1222 (16b7e600) sends Interact for armor stands. tools/lan_e2e.py --server-thread --check frames passes for the host (single player on its server thread) and the guest: a right-clicked iron helmet goes on the stand (not the player) and a second click takes it back.

<!-- gh-comment-id:6358302508 --> @ludovic111 commented on GitHub (Oct 23, 2026): 🤖 Agent: not reproducible on main (5bb492ca): #1222 (16b7e600) sends Interact for armor stands. `tools/lan_e2e.py --server-thread --check frames` passes for the host (single player on its server thread) and the guest: a right-clicked iron helmet goes on the stand (not the player) and a second click takes it back.
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#381
No description provided.