Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-261751

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • 1.20.2 Pre-release 2
    • 1.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
    • None
    • Confirmed
    • (Unassigned)

      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.

            Unassigned Unassigned
            Thunderstorm11 Brevort
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: