[GH-ISSUE #1352] [server-thread] Placed item frames ignore right-clicked items #380

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

Tested 83fa14e51b89eab728b8e233e9e5d95296bef93d, explicit --server-thread versus --no-server-thread, fresh equivalent survival worlds.

Reproduce

  1. Place an item frame on a wall within reach.
  2. Hold three diamonds and right-click the center of the frame.
  3. Wait two seconds, then right-click again.

Expected: First click puts one diamond in the frame; second rotates it.

Actual in --server-thread: Both clicks leave an empty frame and all three diamonds in inventory. Old mode inserts one diamond, retains two and rotates the framed diamond to rotation 1. Glow item frames also reject insertion. Placement itself succeeds in both modes.

Reproduced in two fresh mode pairs. Server entity NBT confirms no Item component in the threaded frame; client object state agrees after settling. This is not a temporary visual update delay.

Evidence: .local/singleplayer-audit/items-h/frame-use-{old,threaded}/result.json and frame.png; glow control in items-g/object-use-*/result.json. Driver: tools/singleplayer_items_audit.py --case frame-use. Existing issue searches found no matching interaction report.

Hypothesis: remote_use_entity sends interactions only for mob hits, omitting the separate item-frame hit path.

Acceptance: Both frame types accept and rotate held items in threaded survival; inventory and server frame contents agree.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1352 Tested `83fa14e51b89eab728b8e233e9e5d95296bef93d`, explicit `--server-thread` versus `--no-server-thread`, fresh equivalent survival worlds. **Reproduce** 1. Place an item frame on a wall within reach. 2. Hold three diamonds and right-click the center of the frame. 3. Wait two seconds, then right-click again. **Expected:** First click puts one diamond in the frame; second rotates it. **Actual in --server-thread:** Both clicks leave an empty frame and all three diamonds in inventory. Old mode inserts one diamond, retains two and rotates the framed diamond to rotation 1. Glow item frames also reject insertion. Placement itself succeeds in both modes. Reproduced in two fresh mode pairs. Server entity NBT confirms no Item component in the threaded frame; client object state agrees after settling. This is not a temporary visual update delay. Evidence: `.local/singleplayer-audit/items-h/frame-use-{old,threaded}/result.json` and `frame.png`; glow control in `items-g/object-use-*/result.json`. Driver: `tools/singleplayer_items_audit.py --case frame-use`. Existing issue searches found no matching interaction report. **Hypothesis:** `remote_use_entity` sends interactions only for mob hits, omitting the separate item-frame hit path. **Acceptance:** Both frame types accept and rotate held items in threaded survival; inventory and server frame contents agree.
Author
Owner

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

🤖 Agent: not reproducible on main (5bb492ca): #1222 (16b7e600) sends Interact for item frames and 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 diamond goes into the frame and turns it to rotation 1, on both sides.

<!-- gh-comment-id:6358301974 --> @ludovic111 commented on GitHub (Oct 23, 2026): 🤖 Agent: not reproducible on main (5bb492ca): #1222 (16b7e600) sends Interact for item frames and 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 diamond goes into the frame and turns it to rotation 1, on both sides.
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#380
No description provided.