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

The leatherworker's second leather tunic trade give too little villager XP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.15.2, 20w16a, 20w17a, 20w18a, 20w19a, 20w21a, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 4, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 2, 1.16.2, 20w51a, 1.16.5, 21w05a, 21w10a
    • None
    • Confirmed
    • Trading

      Journeyman leatherworker villagers will sell a randomly dyed leather tunic for 7 emeralds. However, this trade only gives 1 XP to the villager. This amount is inconsistent with every other trade at this level, both on leatherworkers and other villagers.

      This issue occurs because the trade is only defined as the following:

      DyedArmorForEmeralds(Items.LEATHER_CHESTPLATE, 7)
      

       

      This means the trade will cost 7 emeralds and use the default value for villagerXp, which is set to 1 for this specific trade type.

      This issue could easily be fixed by changing that line to the following (or similar):

      DyedArmorForEmeralds(Items.LEATHER_CHESTPLATE, 7, 12, 10)
      

            Unassigned Unassigned
            PancakeIdentity PancakeIdentity
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: