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

The base price for enchanted items is random

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                CHK: