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

Villagers still hold their trade offer in their hand even after the player drops the offered item

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.14.4, 1.15 Pre-release 6, 1.15.1, 1.16 Pre-release 5, 20w51a, 1.17, 1.17.1, 1.18.1, 1.18.2, 22w16b, 1.19, 1.19.2
    • None
    • Confirmed
    • Mob behaviour, Trading

      The bug

      If a villager wants item A and will give item B in a trade, and I hold A, it will hold B. But if I drop the whole stack of A the villager still holds B. Swapping to another empty hotbar slot does update the villagers' hands.

      To reproduce

      1. Get a villager to hold an item in response to your own held item
      2. Drop the whole stack of your held item
        The villager will continue to hold the offered item

      PS: Looks to me like the cause is villagers checking on hotbar slot switch (and /clear – I walked onto a pressure plate to a command block with /clear Tachytaenius and the villagers put their B's away when my A disappeared), and not when the item stack in the current hotbar slot is changed via dropping.

      Video

      Minecraft 1.15 Pre-release 6 2019-12-07 15-52-39.mp4

        1. MC-166669.mp4
          3.56 MB
          [Mod] Avoma
        2. MC-166669.png
          453 kB
          [Mod] Avoma
        3. Minecraft 1.15 Pre-release 6 2019-12-07 15-52-39.mp4
          3.39 MB
          [Mod] violine1101

            Unassigned Unassigned
            Tachytaenius Henry Fleminger Thomson
            Votes:
            9 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: