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

New "swap items with offhand" feature doesn't work if the control is bound to the 4th or 5th mouse button

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.16 Pre-release 3, 1.16 Pre-release 5
    • Fix Version/s: 1.16 Pre-release 6
    • Labels:
      None
    • Environment:
      Windows 10 1909 x64
      Java 1.8.0_51 x64
    • Confirmation Status:
      Plausible
    • Category:
      Input, Inventory
    • Mojang Priority:
      Important

      Description

      New feature released in Java 1.16 Pre-release 3 which allows to swap items with offhand directly from inventory (and swap don't work only if I swapping items from inventory, if try to swap items from hotbar, everything is alright) don't work if action "Swap item with offhand" is binded to 5th or 4th mouse buttons. Also, if reassign action to another keyboard key, everything is fine.
      What is also interesting - in controls menu this buttons shows as "key.mouse.5" and "key.mouse.4", and this is issue of 1.16 (starting at 20w17a, actually), in 1.15.2 (and 20w16a) everything shows correctly.

        Attachments

        1. 1.16-pre3.png
          1.16-pre3.png
          203 kB
        2. 20w16a.png
          20w16a.png
          202 kB
        3. 20w17a.png
          20w17a.png
          204 kB

          Issue Links

            Activity

              People

              Assignee:
              xilefian [Mojang] Felix Jones
              Reporter:
              MagicSweet Roman Siverov
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: