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

The base price for enchanted items is random

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.14.4, 19w44a, 1.15.2, 20w13b
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      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 Sebastian can be found here and here.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              CHK: