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:
- Rebind Attack/Destroy to any unused button.
- Rebind Drop Selected Item to the mouse button.
- Try to use this button.
→
It drops items as expected. - 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 Elephant_1214 can be found in this comment.
Linked Issues
is duplicated by28
relates to6
- Unresolved
[Mod] turboRob
- 64
- 36
- Confirmed
Normal
- Platform
- Accessibility UI
1.4.2 - 1.21.4
1.4.2 1.4.5 1.4.7 13w04a 1.5.1 1.5.2 13w26a 1.6 1.6.1 1.6.2 1.6.4 13w38c 1.7.9 14w17a 14w18b 14w32a 14w32b 14w32c 14w32d 1.9 1.9.1-pre3 1.9.4 1.10 1.10.1 1.10.2 16w32a 16w32b 16w33a 16w35a 16w36a 16w43a 16w44a 1.11-pre1 1.11 16w50a 1.11.1 1.11.2 17w06a 17w13b 17w15a 17w16b 17w17b 17w18b 1.12-pre2 1.12 1.12.1-pre1 1.12.1 1.12.2 17w43b 18w15a 1.13.1 1.13.2 1.14-pre2 1.14-pre3 1.14-pre4 1.14-pre5 1.15.2 20w10a 20w16a 20w18a 1.16-pre2 1.16.1 1.16.2-pre1 1.16.2-pre2 1.16.2-rc1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1-pre2 21w42a 1.19 1.19.2 1.19.3 23w03a 23w04a 1.19.4 1.20.1 23w33a 1.20.2-pre2 1.20.2-rc1 1.20.2 23w43b 23w45a 23w46a 1.20.3-pre1 1.20.3-pre2 1.20.3 1.20.4-rc1 1.20.4 24w04a 24w12a 24w14a 1.20.5 1.20.6 1.21 1.21.1 1.21.3 1.21.4
Created Issue:
Inventory controls broken when not standard
Within the inventory with:
Use Item = <Space>
Pick block = <Button 2>It is not possible to "select half" of a stack, or to place a single item from a selected stack.
With these two inverted (standard) it is again possible.
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
relates to
is duplicated by
relates to
is duplicated by
Inventory controls broken when not standardMouse buttons block all inventory controls that are not default
Within the inventory with:
Use Item = <Space>
Pick block = <Button 2>It is not possible to "select half" of a stack, or to place a single item from a selected stack.
With these two inverted (standard) it is again possible.
If you change any controls to Button 1/2/3 (Left Mouse Button, Right Mouse Button, Middle Mouse Button), you won't be able to use them inside of the inventoty.
Steps to reproduce (for any mouse button):
- Change "Attack/Destroy", "Use Item/Place Block" or "Pick Block" (according to the chosen mouse button) to any unused button
- Change "Drop Selected Items" to the mouse button
- Try to use this button - it drops an item (intended)
- Open inventory and try to use the button - it won't drop an item
Because of MC-91315, you can only use "Drop Selected Items", "Hotbar Slot #" and "Open/Close Inventory" to reproduce this bug
is duplicated by
If you change any controls to Button 1/2/3 (Left Mouse Button, Right Mouse Button, Middle Mouse Button), you won't be able to use them inside of the invento
ty.
Steps to reproduce (for any mouse button):
- Change "Attack/Destroy", "Use Item/Place Block" or "Pick Block" (according to the chosen mouse button) to any unused button
- Change "Drop Selected Items" to the mouse button
- Try to use this button - it drops an item (intended)
- Open inventory and try to use the button - it won't drop an item
Because of MC-91315, you can only use "Drop Selected Items", "Hotbar Slot #" and "Open/Close Inventory" to reproduce this bug
If you change any controls to Button 1/2/3/... (Left Mouse Button, Right Mouse Button, Middle Mouse Button and other additional buttons), you won't be able to use them inside of the inventory.
Steps to reproduce (for any mouse button):
- Change "Attack/Destroy", "Use Item/Place Block" or "Pick Block" (according to the chosen mouse button) to any unused button
- Change "Drop Selected Items" to the mouse button
- Try to use this button - it drops an item (intended)
- Open inventory and try to use the button - it won't drop an item
Because of MC-91315, you can only use "Drop Selected Items", "Hotbar Slot #" and "Open/Close Inventory" to reproduce this bug
is duplicated by
is duplicated by
relates to
relates to
If you change any controls to Button 1/2/3/... (Left Mouse Button, Right Mouse Button, Middle Mouse Button and other additional buttons), you won't be able to use them inside of the inventory.
Steps to reproduce (for any mouse button):
- Change "Attack/Destroy", "Use Item/Place Block" or "Pick Block" (according to the chosen mouse button) to any unused button
- Change "Drop Selected Items" to the mouse button
- Try to use this button - it drops an item (intended)
- Open inventory and try to use the button - it won't drop an item
Because of MC-91315, you can only use "Drop Selected Items", "Hotbar Slot #" and "Open/Close Inventory" to reproduce this bug
The bug
If you change any controls to Button 1, 2, 3, ect... you won't be able to use them inside of the inventory.
How to reproduce
- Rebind Attack/Destroy to any unused button.
- Rebind Drop Selected Items to the mouse button.
- Try to use this button.
→It drops items as expected
- Open your inventory and try to use the button.
→It won't drop any items
Note: Because of MC-91315, you can only use Drop Selected Items, Hotbar Slot # and Open/Close Inventory to reproduce.
is duplicated by
relates to
is duplicated by
relates to
relates to
relates to
is duplicated by
is duplicated by
The bug
If you change any controls to Button 1, 2, 3, ect... you won't be able to use them inside of the inventory.
How to reproduce
- Rebind Attack/Destroy to any unused button.
- Rebind Drop Selected Items to the mouse button.
- Try to use this button.
→It drops items as expected
- Open your inventory and try to use the button.
→It won't drop any items
Note: Because of MC-91315, you can only use Drop Selected Items, Hotbar Slot # and Open/Close Inventory to reproduce.
Code analysis
Code analysis by Elephant_1214 can be found in this comment.
is duplicated by
The
bugIf you change any controls to Button 1, 2, 3, e
ct...you won't be able to use them inside of the inventory.
Howtoreproduce
- Rebind Attack/Destroy to any unused button.
- Rebind Drop Selected Items to the mouse button.
- Try to use this button.
→It drops items as expected
- Open your inventory and try to use the button.
→It won't drop any items
Note: Because of MC-91315, you can only use Drop Selected Items, Hotbar Slot # and Open/Close Inventory to reproduce.
Code
analysisCode analysis by Elephant_1214 can be found in this comment.
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:
- Rebind Attack/Destroy to any unused button.
- Rebind Drop Selected Items to the mouse button.
- Try to use this button.
→It drops items as expected.
- 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 Elephant_1214 can be found in this comment.
is duplicated by
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:
- Rebind Attack/Destroy to any unused button.
- Rebind Drop Selected Item
sto the mouse button.- Try to use this button.
→It drops items as expected.
- 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 Elephant_1214 can be found in this comment.
is duplicated by
is duplicated by
is duplicated by
Hello, a user was publishing this mod to fix this issue:
https://www.curseforge.com/minecraft/mc-mods/mousekeyinventoryfix
is duplicated by
is duplicated by
Duplicate of MC-577 , please use the search function to see if your bug has already been submitted. Currently over 30% of tickets are being closed as duplicate.
This ticket has been marked as a duplicate of MC-577 , in favor of the better description/information provided.
Duplicate of MC-577, please use the search function to see if your bug has already been submitted. Currently over 58% of tickets are being closed as duplicate.
Duplicate of MC-577 - If you have not, please use the search function in the future, to see if your bug has already been submitted. If you could not find the original report, please comment with the keywords you searched for.
Ok, prepare for something... Could please a mod mark the versions for every bug I tell you here? That would be nice.
I have a world set up for fast bug testing. That means that going into each bug report and saying "Confirmed for 1.10.1" is way more work than actually testing it. So I want to confirm for 1.10.1 with this comment:
MC-4, MC-9, MC-14, MC-87, MC-112, MC-201, MC-212, MC-234, MC-258, MC-460, MC-577, MC-667, MC-679, MC-696, MC-697, MC-849, MC-868, MC-926, MC-957, MC-997, MC-1040, MC-1127, MC-1133, MC-1168, MC-1207, MC-1218, MC-1297, MC-1390, MC-1429, MC-1530, MC-1531, MC-1538, MC-1541, MC-1555, MC-1578, MC-1673, MC-1685, MC-1691, MC-1981 and MC-2023.
All of these are tested in 1.10.1. For some others I have additional information:
MC-711 not testable with my setup because of a crash that's new in 1.10.1.
MC-779: At least some appear outside, didn't test all. What's sure is that no general solution got introduced.
Confirmed MC-1511 for stone button, lever, torch, redstone dust, normal rail, end rod, tripwire hook, ladder and flower pot. Others are untested.
Confirmed MC-1874 for chest, brewing stand, enchanting table and flower pot. Others are untested. It's apparent that there isn't a general solution here either.
I'm not clear on how this is a duplicate of MC-577.
Does MC-577 describe your issue?
Thank you for your report!
We're actually already tracking this issue in MC-577, so I resolved and linked this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Thank you for your report!
However, we are already tracking this issue, and this report is a Duplicate of MC-577, which is a report that has not been resolved yet.
If you want, you can upvote the parent ticket, and enable watching to receive any updates about it - if you believe you have any information that may be important for this issue, please leave a comment on the parent. Please also use the search function in the future to prevent duplicate reports.
Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
💬 Mojira Subreddit – 💬 Mojira Discord
Thank you for your report!
We're tracking this issue in MC-577, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Duplicate of the more general MC-577.
Thank you for your report!
We're tracking this issue in MC-577, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
– I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
This duplicates MC-577
Thank you for your report!
We're tracking this issue in MC-577, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
– I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
Duplicate of MC-577.
Thank you for your report!
We're tracking this issue in MC-577, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
– I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
Thank you for your report!
We're tracking this issue in MC-577, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Thank you for your report!
We're actually already tracking this issue in MC-577, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote or any additional information to the main ticket it would be appreciated.
Please be sure to use the search feature before creating a ticket to see if the issue has already been reported.
Quick Links:
📗 Tracker Guidelines | 🛠 Community Support | 📧 Mojang Support | 🔑 Account Support | ✍️ Feedback Discord
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.
Is this still a concern in the latest Minecraft version 14w11b? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
Confirmed for 14w18b.
Still reproduceable in 14w32d
Is this still a concern in the current Minecraft version 1.8.1 Prerelease 3 / Launcher version 1.5.3 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
No response for over a year.
Confirmed for 1.10 and pretty much everything in between.
If this gets fixed, would a switch of left and right click make it so that right click is used for picking up and putting down stacks and left click would split them? Because I like it how it is now. But I don't think it's intended, because it's not at all possible to remap inventory keys this way. A fix that's good for both would require extra keys for that and that again would require a change of the key system of Minecraft. Maybe ignoring conflicts and just triggering both actions if there is one key selected for two actions.
Confirmed for 1.10.1.
There are 2 bugs in this ticket:Mouse buttons block all inventory controls that are not default (AlsoMC-11676andMC-6589)Some inventory controls can't be configured (Affects Button 1, Button 2, LShift (MC-91315,MC-81042), LCtrl)Fixed
Confirmed in 1.12.
Confirmed in 1.12.1-pre1.
Present in 1.13.1
Present in 1.15.2 still
confirmed in 20w16a
Confirmed in 1.16-pre2.
Confirmed in 1.16-pre5.
Confirmed in 1.16-pre7.
1,16,5 still has this issue
Basically this bug means that in inventory screen controls binded to mouse buttons dont work. Tried to play minecraft using only mouse, and stuck immediately because you cant close inventory if its binded to mouse key
1.17 still not fixed.
(Luckily Java edition is moddable)
This bug was reported almost ten years ago and is still an issue in release 1.20.4. It's easy to fix; all that has to be changed to correct the bug is to add these two if statements/branches to the method checkHotbarMouseClicked inside the AbstractContainerScreen class.
Edit: Updated the code snippet with things that I have noticed since initially writing this
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.