mojira.dev
MC-84686

Holding right-click prioritizes continuing to use off-hand item over placing main-hand item

The bug

Holding right-click prioritizes continuing to use off-hand item over main-hand item.

How to reproduce

  1. Put a shield in off-hand

  2. Create a large area of farmland, and place a stack of seeds in main hand

  3. Try to plant the whole area, while right-clicking and walking around

What happens: The first block of farmland you target gets planted, then you start blocking, and you don't stop blocking until you release the mouse button.

What I expected: blocking would stop once I was targeting a farmland block with nothing planted in it, and I would plant a seed in it.

Related issues

Comments

SunCat

Confirmed for 16w06a, the same is for making a farm land out of dirt.

migrated

In my opinion, the correct behaviour should be as follows:

Right click to plant the first seed in the farmland area, but the shield shouldn't start blocking unless the player releases & re-presses RMB. Instead other areas of farmland are planted as you move around whilst continuing to hold RMB. An action with the off hand really shouldn't start as a result of holding down RMB too long for an action that completes with the main hand. See MC-97176, for an example of the same effect with food in main hand and torch in off hand.

migrated

Seems to be fixed as of 1.16-pre4.

pokechu22

The placing blocks (including seeds) aspect seems to be fixed as of 1.15.2, probably earlier. There do seem to be other cases that are still affected (e.g. tilling with a hoe with a shield in the offhand), though. But that can go into a separate report. I'll figure out what version this was actually fixed in.

pokechu22

Fixed 17w47b (confirmed present in 17w47a).

migrated

(Unassigned)

Confirmed

(Unassigned)

Minecraft 15w31c, Minecraft 15w44b, Minecraft 16w05b, Minecraft 16w06a, Minecraft 1.10.2, ..., Minecraft 1.11.2, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b

Minecraft 17w47b

Retrieved