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

New librarians are offering the exact same enchanted book multiple times

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 23w31a, 23w32a, 1.20.2 Pre-Release 4, 1.20.2 Release Candidate 1
    • None
    • Confirmed
    • Trading

      The bug

      Librarians can have 2 different trades of the same level of the same enchanted book, but for different prices. This was previously reported as MC-71354, and it was resolved as "Works As Intended" with the explanation "Random does what Random likes." However, that resolution occurred in 2015 and the recent changes to villager trading in 23w31a mean that this will occur much more often than it used to.

      To reproduce

      Trade with several librarian villagers until all of their trades are unlocked. Observe their trades. Pretty quickly, you will encounter a villager with two trades for the exact same book for different prices.

      Expected behavior

      There are 2 possibilities, depending on opinion.
      Possibility 1
      The books offered by a single librarian should either be different enchantments, or different levels of the same enchantment.
      Possibility 2
      If a librarian villager has two trades for the same level of the same enchantment, both trades should be the same price.

      Observed behavior

      Identical books can be offered by the same villager for different prices.

      Original description

      A similar report was made before and it was marked "work as intended" because the villagers' book trades were completely random. Now the trades are not so random and the problem tends to repeat itself several times.

        1. 2023-08-08_14.18.56.png
          2023-08-08_14.18.56.png
          248 kB
        2. 2023-08-08_14.18.58.png
          2023-08-08_14.18.58.png
          244 kB
        3. 2023-08-09_12.51.40.png
          2023-08-09_12.51.40.png
          370 kB
        4. 2023-08-09_12.51.41_2.png
          2023-08-09_12.51.41_2.png
          369 kB
        5. 2023-08-09_12.51.41.png
          2023-08-09_12.51.41.png
          369 kB

            Unassigned Unassigned
            LucasVSantos LucasVSantos
            Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: