Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-156810

Binding inventory key to mouse buttons does not allow the inventory to close without pressing ESC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 5, 1.15.2, 20w21a, 1.16 Release Candidate 1, 1.16, 1.16.3, 1.17.1, 1.20.1, 1.20.4, 1.21.1, 1.21.3
    • None
    • Community Consensus
    • Input, UI
    • Low
    • Platform

      When the inventory button is binded to its default button, E, the inventory can open and close normally via this button. When I rebind this to Mouse 4 (the button on the mouse that's off to the side by my thumb and closest to me), I can only open the inventory with this button and not close. This isn't like the other issues where they're binding to TAB, which is default the button to open player menu, this is a button that is not reserved for any other function by default. 

      Code Analysis:

      Code analysis by Apollo30 can be found in this comment.

            Unassigned Unassigned
            Frigid_Cat Frigid Kitten
            Votes:
            23 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              CHK: