mojira.dev
MC-312398

Clicking on villagers with shears while they are holding out certain items causes the items to drop

The game accepts an animal-targeted interaction packet (the one used for horses and llamas) when it is aimed at a villager. If the villager is holding out an item for a trade, the packet triggers the item to be dropped

Expected result:
No item should be dropped when clicking holding shears on villager

To reproduce this, you need to:

  1. Find a villager that is holding out one of the following items for a trade: a carpet, a saddle, or horse armor.

  2. Hold the emeralds in hand. While the villager is still holding the item out, quickly switch holding item to shears and right-click on villager.

  3. The villager drops the held item toward the player, and its trades are not affected.

Affected items: carpets, saddle, horse armor.

Linked issues

Attachments

Comments 3

Video containing the bug reproduction

Haha, great find!

This was introduced in 25w20a (1.21.6) with can_be_sheared

Zamipur

etanaratsastaja

Confirmed

Platform

Very Important

Trading, Village system

26.3, 26.4 Snapshot 3

Future Update

Retrieved