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

Villager trade GUI doesn't show the correct price on servers if trade demand is high

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.14.1 Pre-Release 1, Minecraft 1.14.1 Pre-Release 2, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 3
    • None
    • Confirmed
    • Survival
    • Trading, UI
    • Important

      To reproduce

      1. Start a server (or use a LAN world and follow the following steps with a second account)
      2. Join the server
      3. Spawn a villager zombie
      4. Cure it
      5. Give it a profession
      6. Trade with it until it is completely locked
      7. Let it restock
      8. The prices should now be slightly increased
        → When trading with the villager, it will take more items from you than displayed in the GUI

      Original description

      I had a one emerald villager now he still shows that trade but glitches out when i try to trade with him. I was able to get ~6 books out of him and after that i can grab the book out of the menu and then it disappears. Soon after I leave the GUI my emerald/book comes back in my inventory. Same with the same villager's paper trade. Some times he takes my paper, sometimes they just come back to my inv. after i leave gui. 

      I think the GUI is just Not updating correctly to what trade the villager has available.

      UPDATE: I found that the villager actually knows how much emerald it wants for each item. when i put 19 paper in like the GUI suggested, the emerald shows up on the right, but it disappears if you try to grab it. However if I put around 40 paper in, he will actually give you the emerald. Same with the mending book situation, where he actually wants 2 emerald instead of the 1 listed on GUI.

        1. 2019-05-09_00.53.37.png
          2019-05-09_00.53.37.png
          126 kB
        2. 2019-05-09_00.53.30.png
          2019-05-09_00.53.30.png
          121 kB
        3. 2019-05-09_00.53.23.png
          2019-05-09_00.53.23.png
          125 kB
        4. 2019-05-09_00.53.21.png
          2019-05-09_00.53.21.png
          122 kB

            slicedlime [Mojang] slicedlime
            Samaritans Anqing Chen
            Votes:
            12 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: