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

The base price for enchanted items is random

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.14.4, 19w44a, 1.15.2, 20w13b, 20w51a, 1.19.2
    • Confirmed
    • Trading

      The bug

      So as far as I understand, the base price of a villager is supposed to be always the same.

      For enchanted items, this price is supposed to depend on the enchantment.
      There is, however, still a random component to it, as 2 trades with the same enchanted item still can have different prices.

      How to reproduce

      1. Summon some villagers
      2. Provide a lectern workstation for them (since librarians only have a single enchantment on each book, it's easiest to reproduce with them).
      3. Do the above until you have 2 instances of the same trade and compare the prices.
        The price may differ

      Why this happens

      Information on the likely cause by Myutuality can be found here and here.

        1. 1664158556858.png
          413 kB
          ZYX_2D
        2. 1664158560852.png
          477 kB
          ZYX_2D
        3. image-2019-07-22-15-25-40-949.png
          9 kB
          [Mod] NeunEinser
        4. image-2019-07-22-15-26-06-952.png
          6 kB
          [Mod] NeunEinser

            Unassigned Unassigned
            Schortan [Mod] NeunEinser
            Votes:
            8 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: