Mojira Archive
MC-261751

Villagers incorrectly play their 'agree' sound when their first listed trade is clicked under certain conditions

The bug

Clicking a villager's first listed trade while the items for a different trade are already in the trading slot always causes the villager to play its 'agree' sound, even if the player does not have the items required for the first listed trade.

How to reproduce

  1. Place some stonecutters
  2. Spawn some villagers
  3. Give yourself 64 emeralds
  4. Find a mason whose first listed trade is clay for emeralds
  5. Click the emeralds for bricks trade
    The villager plays its 'agree' sound
  6. After the sound finishes, click the clay for emeralds trade
    The villager plays its 'agree' sound

Expected result

The villager should play its 'disagree' sound at the final step. This is the observed result if the two trades are listed in the other order.

Unresolved

Brevort

2023-04-09, 05:47 PM

2025-02-08, 05:35 PM

2

4

Confirmed

(Unassigned)

1.19.4 - 1.21.41.19.4, 23w14a, 1.20 Pre-release 2, 1.20 Pre-release 4, 1.20 Release Candidate 1, 1.20, 1.20.1, 1.20.4, 24w09a, 1.20.6, 24w20a, 1.21.4

1.20.2 Pre-release 2