mojira.dev
MC-188659

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

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.

Linked issues

Attachments

Comments 1

An attachment with a disallowed file extension has been removed from this ticket.

Executable files and documents are not allowed as attachments.
Please attach crash reports, log files and screenshots as they are instead of pasting them into a document.
-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit

Roman Siverov

Felix Jones

Plausible

Important

Input, Inventory

1.16 Pre-release 3, 1.16 Pre-release 5

1.16 Pre-release 6

Retrieved