mojira.dev
MC-133802

Cannot use item in offhand if item in main hand fails its right click action

If you hold certain items in your main hand that have right click actions that are unable to successfully perform the action, items in your offhand will not attempt to be used.

Possibly related to MC-132635.

 

Examples:

Sugar Cane in the main hand and a Torch in the offhand.

Right click on a block where Sugar Cane cannot grow. The Torch is not placed. If the mainhand has something without a right click action, e.g. a pickaxe, the Torch is placed.

 

Flint and Steel in the main hand and a Water Bucket in the offhand.

Right click on the top of a solid block directly under a fence. The Water is not placed in the Fence. Like above, if the mainhand has something without a right click action, then the Water is placed.

 

A block with a collision box in the main hand and a Shield in the offhand.

Try to place the block such that the block's collision box would intersect with the Player or another living entity. The player does not raise the Shield.

 

Linked issues

Comments 1

I also experienced the last thing. I was building on my house and had food in my offhand and a Solid block in my mainhand and I wanted to eat, but it did not work, when I tried placing a block inside me to eat. But when I was not looking at any block while holding the solid block I could eat without any issue.

Virtuoel

(Unassigned)

Unconfirmed

item, main-hand, offhand, placing, right-click, use-item

Minecraft 1.13-pre10

Retrieved