mojira.dev
MC-179352

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

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)

Comments 3

Can confirm that this is an issue in 20w51a.

Issue is still present as of Snapshot 24w45a

Can confirm in 25w33a

PancakeIdentity

(Unassigned)

Confirmed

Trading

1.15.2, 20w16a, 20w17a, 20w18a, 20w19a, ..., 20w51a, 1.16.5, 21w05a, 21w10a, 24w38a

Retrieved