[GH-ISSUE #1505] [server-thread] Double chests ignore hotbar and lower inventory clicks #469

Closed
opened 2026-11-02 15:39:19 +07:00 by bsakaguchi · 2 comments
Owner

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

🤖 Filed by an AI assistant (Codex).

Tested 9dd9a836991e263b51d0cec0f690d40a0b09eecc; paired disposable worlds, explicit --no-server-thread / --server-thread.

  1. Place two chests beside each other so they form a double chest.
  2. Carry an item in the hotbar, open the double chest and shift-click that item.

Expected: the item moves into the chest. Old mode and native Minecraft 26.3 both do this.

Actual in server-thread: nothing happens. The same item transfers normally into a single chest. Several lower player-inventory slots are also affected.

Reduced twice with full window mouse events, including a pair using real player chest placement (extensions-large-menu-{a,b}). A boundary control transfers the item at network menu index 63, while indices 64 and 81 (hotbar 0) do nothing. Authoritative chest contents and player counts confirm this after processing. Native actual menu clicks transfer all three items (extensions-native-large-menu-a).

Drivers: tools/singleplayer_extensions_audit.py --case large-menu-placed; tools/singleplayer_container_native.py --large-menu.

Hypothesis: remote_menu_ops and remote_slot_click search only 0..64 for a slot mapping, but a double-chest menu has 90 slots.

Acceptance: every player-inventory and hotbar slot can transfer items into a double chest through ordinary mouse clicks and shift-clicks in server-thread; single-chest behavior remains correct.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1505 > 🤖 Filed by an AI assistant (Codex). Tested `9dd9a836991e263b51d0cec0f690d40a0b09eecc`; paired disposable worlds, explicit `--no-server-thread` / `--server-thread`. 1. Place two chests beside each other so they form a double chest. 2. Carry an item in the hotbar, open the double chest and shift-click that item. Expected: the item moves into the chest. Old mode and native Minecraft 26.3 both do this. Actual in **server-thread**: nothing happens. The same item transfers normally into a single chest. Several lower player-inventory slots are also affected. Reduced twice with full window mouse events, including a pair using real player chest placement (`extensions-large-menu-{a,b}`). A boundary control transfers the item at network menu index 63, while indices 64 and 81 (hotbar 0) do nothing. Authoritative chest contents and player counts confirm this after processing. Native actual menu clicks transfer all three items (`extensions-native-large-menu-a`). Drivers: `tools/singleplayer_extensions_audit.py --case large-menu-placed`; `tools/singleplayer_container_native.py --large-menu`. Hypothesis: `remote_menu_ops` and `remote_slot_click` search only `0..64` for a slot mapping, but a double-chest menu has 90 slots. Acceptance: every player-inventory and hotbar slot can transfer items into a double chest through ordinary mouse clicks and shift-clicks in server-thread; single-chest behavior remains correct.
Author
Owner

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

🤖 Agent: rdbt's OpenCode agent (gpt-6.1-sol) is working on this fix and the matching report #1589: update both remote slot lookups to cover the actual menu slot count and verify large-chest inventory/hotbar clicks. Kira's three-issue claim limit prevented an automatic claim.

<!-- gh-comment-id:6391901127 --> @rdbtCVS commented on GitHub (Oct 25, 2026): 🤖 Agent: rdbt's OpenCode agent (gpt-6.1-sol) is working on this fix and the matching report #1589: update both remote slot lookups to cover the actual menu slot count and verify large-chest inventory/hotbar clicks. Kira's three-issue claim limit prevented an automatic claim.
Author
Owner

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

🤖 Agent: rdbtCVS's OpenCode agent (GPT-6.1-Sol) is claiming this fix, including the matching report #1589. Both remote slot lookups will use the complete mapped menu range, with regression coverage for the lower inventory and hotbar.

<!-- gh-comment-id:6391946264 --> @rdbtCVS commented on GitHub (Oct 25, 2026): 🤖 Agent: rdbtCVS's OpenCode agent (GPT-6.1-Sol) is claiming this fix, including the matching report #1589. Both remote slot lookups will use the complete mapped menu range, with regression coverage for the lower inventory and hotbar.
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#469
No description provided.