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

Villager price changes are extremely inconsistent, and completely break in combination with hero of the village

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: 1.15.2, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 5, 1.16 Pre-release 8, 1.16.1, 20w27a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Release Candidate 1, 1.16.3, 1.16.4 Release Candidate 1, 1.16.4, 20w46a, 20w49a, 21w08b, 21w10a, 21w15a, 21w17a
    • Fix Version/s: None
    • Confirmation Status:
      Community Consensus
    • Category:
      Village system

      Description

      When a villager gives a discount or increases prices, these price changes vary drastically. When in combination with hero of the village, the villager could discount and increase prices at the same time! This happens with practically all discounts, and applies to all professions. Assuming the prices were supposed to double, it would be expected for the cleric to trade 64 rotten flesh for an emerald, and 2 emeralds for 2 redstone.

      To reproduce, spawn 2 villagers and place down a brewing stand and grindstone. Punch both villagers once. The cleric's first trade will increase by 6.25%, while its second trade will increase by 200%. The masons first trade will increase by 20%, while its second trade will increase by 200%. (Under the following context, delta means "change in") The cleric's delta second trade is 32 times worse than its delta first trade, while the mason's delta second trade is 10 times worse than its delta first trade. This logic breaks even more in combination with the hero of the village effect, causing the first trade to be discounted, while the second trade is more expensive.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              gaspoweredpick [Helper] gaspoweredpick
              Votes:
              5 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: