mojira.dev
MC-255258

Trade with custom-level Villager will increase his experience from zero rather than current

Earlier than 1.19, if you summon a Villager with {VillagerData:{level:x < 5}} and trade with him, you can give him experience from current level to the highest one. At present, however, the experience he get is counted from 0 rather than the current level experience he should has.

How to Produce

  • Run: /summon minecraft:villager ~ ~ ~ {VillagerData:{profession:cleric,level:4}} - You'll get an Expert (专家) Cleric (牧师).

  • Trade with him.

      (×) The experience is counted from 0 rather 'an current, no matter whether is he has binded a workstation. You can watch the white bar above to judge.

Attachments

Comments 3

Not exactly a bug as the default xp value is 0,you didn't provide it, so it turns to the default.

@Dhranios

True. But earlier even though you don't provide the specific experience data, trading with the Villager will increase his experience from current rather 'an 0.

ZYX_2D

(Unassigned)

Community Consensus

Commands, Trading

1.19.2

Retrieved