mojira.dev
MC-311903

Blocking with a shield now takes precedence over creating a dirt path with a shovel

Description

Since the latest update, using right-click while holding a shovel in the main hand and a shield in the offhand always triggers the shield blocking animation. It completely ignores the valid grass or dirt block within reach, preventing the player from creating dirt paths. This worked perfectly prior to the update.

  • Game Mode: Survival.

  • Controls: "Use Item / Place Block" is set to "Hold".

 

Steps to reproduce the issue

  1. Equip a shovel in the main hand.

  1. Equip a shield in the offhand.

  1. Look directly at a valid Grass Block or Dirt Block within normal breaking/interaction range (less than 5 blocks away).

  1. Right-click on the block.

 

Expected results

The shovel should take priority over the shield, transforming the targeted grass/dirt block into a dirt path, just as it did in previous versions.

 

Actual results

The player raises the shield to block. The grass/dirt block remains unchanged, and no dirt path is created.

 

Additional Context / Workaround

The issue is specific to the shield (and potentially other continuous-use items). If the player replaces the offhand shield with a non-continuous item like a Torch, the shovel interaction works as expected, and the dirt path is successfully created upon right-clicking.

Linked issues

Comments 1

Per the 26.3 changelog, this is now intentional. Right-clicking while crouched will still create the path.

Aeduardus

(Unassigned)

Unconfirmed

26.3

Retrieved