mojira.dev
MC-577

Mouse buttons block all inventory controls that are not default

The Bug:

If you change any controls to Button 1, 2, 3, etc., you won't be able to use them inside of the inventory.

Steps to Reproduce:

  1. Rebind Attack/Destroy to any unused button.

  2. Rebind Drop Selected Item to the mouse button.

  3. Try to use this button.
    → ✔ It drops items as expected.

  4. Open your inventory and try to use the button.
    → ❌ It won't drop any items.

Note: Due to MC-91315, you can only use Drop Selected Items, Hotbar Slot #, and Open/Close Inventory to reproduce.

Code Analysis:

Code analysis by @unknown can be found in this comment.

Linked issues

MC-286 Hotkey for mac issues Resolved MC-622 Right Click in Inventory Resolved MC-3911 Key Mapping bug Resolved MC-6589 Cannot close inventory via Middle-click when inventory is mapped to "Mouse 3" Resolved MC-8225 Use item hardcoded to Right Mouse Click Resolved

Comments 29

confirmed, looks like the "select half" option is hardwired to button 2 and isn't remapped with the use item binding.

Confirmed in 1.5.1.

Yeah just found this in 1.6 (My issue was apparently a duplicate, it redirected here).

Still not fixed in 13w38c, even after the devs revamped the whole controls menu !

Zombie, just because they rewrote the menu doesn't mean they changed how controls are recognized.

19 more comments

Can confirm in 23w03a

Can confirm in 23w04a

Can confirm in 23w06a

It's hard to believe that this bug still after all the time I spent playing this game. I mean, I don't remember any version when this feature worked well. I understand that many people don't have the need of change keybinds to the mouse, but is very uncomfortable for all the players that have to whatever the reason

Also affects 24w14a.

Rob

[Mod] turbo

(Unassigned)

Confirmed

Platform

Normal

Accessibility, UI

Minecraft 1.4.2, Minecraft 1.4.5, Minecraft 1.4.7, Snapshot 13w04a, Minecraft 1.5.1, ..., 1.21, 1.21.1, 1.21.3, 1.21.4, 1.21.5

Retrieved