[GH-ISSUE #332] [extras] Mouse Tweaks-style inventory controls and inventory/chest sorting (optional, off by default) #84

Closed
opened 2026-11-02 15:36:13 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @ludovic111 on GitHub (Oct 15, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/332

Requested by Ludovic (2026-10-15), after a Discord report about Shift in the inventory.

Add two optional features to the Horizon extras (next to the minimap and zoom, on the Extras page, off by default so the vanilla game is unchanged):

  • Mouse Tweaks-style controls: right-click drag to place one item per slot, left-click drag to pick up items of the same type, shift + left-click drag to quick-move every slot you drag over, the mouse wheel to move items between the inventory and a container.
  • Sorting: a sort button (and an optional key) for the player inventory, chests, barrels, shulker boxes and ender chests. It's a client-side sort done with normal container clicks, so it works on vanilla servers.

The vanilla behaviour stays first (#275 lists the vanilla gaps: shift + double-click, right-click drag highlight). The extras come after.

🤖 Generated with Claude Code

Originally created by @ludovic111 on GitHub (Oct 15, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/332 Requested by Ludovic (2026-10-15), after a Discord report about Shift in the inventory. Add two optional features to the Horizon extras (next to the minimap and zoom, on the Extras page, **off by default** so the vanilla game is unchanged): - **Mouse Tweaks-style controls:** right-click drag to place one item per slot, left-click drag to pick up items of the same type, shift + left-click drag to quick-move every slot you drag over, the mouse wheel to move items between the inventory and a container. - **Sorting:** a sort button (and an optional key) for the player inventory, chests, barrels, shulker boxes and ender chests. It's a client-side sort done with normal container clicks, so it works on vanilla servers. The vanilla behaviour stays first (#275 lists the vanilla gaps: shift + double-click, right-click drag highlight). The extras come after. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

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

Claimed by ludovic on Discord (GitHub: ludovic111), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #332).

<!-- gh-comment-id:6194652160 --> @ludovic111 commented on GitHub (Oct 15, 2026): Claimed by `ludovic` on Discord (GitHub: `ludovic111`), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #332). <!-- kira:work -->
Author
Owner

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

Both extras are up, off by default (Extras → Inventory):

  • #396: Mouse Tweaks-style controls (right-drag one per slot, left-drag gathers the held item, Shift + left-drag quick-moves, the wheel moves one item at a time). Ordinary clicks, so they work on servers too.
  • #397: sort buttons for the inventory, chests, barrels, ender chests and shulker boxes, plus an optional key. Merges stacks, then creative tab order, then name. The click plan is replayed through the menu engine in a test.

With both off, the screens run exactly the code they ran before (same tests and harnesses).

🤖 Generated with Claude Code

<!-- gh-comment-id:6199974203 --> @ludovic111 commented on GitHub (Oct 15, 2026): Both extras are up, off by default (Extras → Inventory): - #396: Mouse Tweaks-style controls (right-drag one per slot, left-drag gathers the held item, Shift + left-drag quick-moves, the wheel moves one item at a time). Ordinary clicks, so they work on servers too. - #397: sort buttons for the inventory, chests, barrels, ender chests and shulker boxes, plus an optional key. Merges stacks, then creative tab order, then name. The click plan is replayed through the menu engine in a test. With both off, the screens run exactly the code they ran before (same tests and harnesses). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

@Online5277 commented on GitHub (Oct 17, 2026):

@ludovic111 You can close this issue. You already added the features.

<!-- gh-comment-id:6230861565 --> @Online5277 commented on GitHub (Oct 17, 2026): @ludovic111 You can close this issue. You already added the features.
Author
Owner

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

🤖 Agent: closing as done, as Online5277 pointed out. Thanks for the nudge.

Both extras are on main and in the stable release v2026.10.19.15, off by default (Options → Extras → Inventory):

  • #396 (merge c6aefdb8): Mouse Tweaks-style controls. Right-drag puts one item per slot, left-drag gathers the held item, Shift + left-drag quick-moves, and the wheel moves one item at a time.
  • #397 (merge 292873e1): sort buttons for the inventory, chests, barrels, ender chests and shulker boxes, plus an optional key.

The vanilla gaps from #275 came first (#358, #391–#395). With both extras off, the screens run vanilla's code unchanged.

<!-- gh-comment-id:6313518021 --> @ludovic111 commented on GitHub (Oct 21, 2026): 🤖 Agent: closing as done, as Online5277 pointed out. Thanks for the nudge. Both extras are on main and in the stable release v2026.10.19.15, off by default (Options → Extras → Inventory): - #396 (merge c6aefdb8): Mouse Tweaks-style controls. Right-drag puts one item per slot, left-drag gathers the held item, Shift + left-drag quick-moves, and the wheel moves one item at a time. - #397 (merge 292873e1): sort buttons for the inventory, chests, barrels, ender chests and shulker boxes, plus an optional key. The vanilla gaps from #275 came first (#358, #391–#395). With both extras off, the screens run vanilla's code unchanged.
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#84
No description provided.