mojira.dev
MC-169951

Off-hand items can't be used when the main hand item cannot use any of its right click actions

When most items that have a "use" (right-click action/function) are held in the player's main hand, whatever item is in their off-hand can never be used, even when the main hand's item can't be used.

Before 1.15, one could for example: eat food in their off-hand when they cannot place a block from their main hand. Post-1.15: nothing happens in this scenario.

Some Main Hand Item Exceptions

  • Axe

  • Hoe

  • Shears

  • Bow/Crossbow (without ammunition)

  • Lead

  • Name Tag

  • Armor (equipping)

  • Cake

  • Empty Bucket

How to Reproduce

1) Hold a solid block in your main hand and a torch in your off-hand. Attempt to place a torch at your feet.

2) Swap the solid block with shears. You should be able to place a torch, despite the shears having specific right-click functions.

Linked issues

Attachments

Comments 17

Forever Master

Confirmed for 1.15.2.

You can update the affected version field yourself.

in 1.16 RC1

Still in 1.16.1 and 20w29a

Can confirm in 20w51a.

7 more comments

Can confirm in 1.18.2 and 22w12a.

Can confirm in 1.19.

Can confirm in 1.19.2.

Can confirm in 1.19.3 and 23w07a

Still in 1.21.8

Forever Master

(Unassigned)

Confirmed

Platform

Normal

Player

DualWielding, Off-handslot, dual-weilding, off-hand, offhand

1.15.1, 1.15.2 Pre-release 2, 1.15.2, 1.16 Release Candidate 1, 1.16, ..., 1.21.1, 24w37a, 24w44a, 1.21.3, 1.21.4

Retrieved