mojira.dev
MC-84610

Off-hand hotkey doesn't work in inventories

The bug

Off-hand hotkey doesn't work in inventories. Expected behavior would be moving the item to off-hand slot or back, just like numbers 1-9 move to represented slots on hotbar or (ctrl+)q drops items.

How to reproduce

  1. Open an inventory (player default, chest, crafting table, furnace, ...)

  2. Hover on an item

  3. Press the off hand key (default F)
    → Notice that nothing happens

Linked issues

Comments 4

Confirmed for 16w15b.
What's "postponed"? Should be easy to fix. Just copy the code for the number keys and change the slot number.

Postponed means "We have noticed this bug, and it'll be fixed later.", no need to update postponed tickets.

Depending on how this is fixed this may actually give us the ability to move items into/from the offhand slot in all inventories, even if the slot isn't displayed in the GUI overlay. I'd like that.

Confirmed for 1.13.1.

robotkoer

Ulraf

Confirmed

Important

UI

hand, hotkey, inventory

Minecraft 15w31c, Minecraft 15w33b, Minecraft 15w33c, Minecraft 15w34a, Minecraft 15w44b, ..., Minecraft 19w12b, Minecraft 19w13b, 1.15.2, 20w10a, 20w19a

1.16 Pre-release 3

Retrieved