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

Villagers keep holding item if they go out of stock when player is in the trading GUI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • None
    • 1.16.1, 1.16.3, 20w46a, 21w03a, 1.16.5, 21w08b, 21w11a, 1.19.2
    • Confirmed
    • Mob behaviour, Trading

    Description

      Villager held items don't refresh immediately if the trade availability status has changed.

      How to reproduce:
      for example: wheat to emerald trade
      1. Hold wheat in hand
      2. Open trading GUI
      3. Keep holding wheat in your hand
      4. Trade wheat to emerald until out of stock
      5. Villager still stuck holding emerald to indicate wheat to emerald trade

      They only refresh if you switch to holding another item.

      Note that this is not the behaviour seen when they are restocking.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              CCheukKa CCheukKa
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                CHK: