mojira.dev
MC-148932

Summoned villager trades change when getting a profession.

Workarounds

Last updated for 1.15.2-pre2

Villagers with AI (NoAI:0b) and profession minecraft:none will take the profession of a nearby job site.
Additionally if all of the following are true a villager loses its current profession and gets the profession minecraft:none:

  • Its profession is not minecraft:nitwit

  • Its Xp is 0

  • Its VillagerData.level is <= 1

So to workaround this you have to summon a villager which does not match all of this or has NoAI:1b.

When you summon a villager, it will always become the unemployed type. If you give the villager trades in the command, said villager will have those trades. But, if the villager gets a profession by finding a work place, those trades are replaced with normal ones. This is annoying for map making when you may need a villager with custom trades and a workplace, only for the workplace's use, to be near each other.

Related issues

Comments

wobst.michael

This issue has been closed as invalid.

You have posted a feature request, a suggestion or a behavior change. This site is for bug reports only.
For suggestions, please visit Minecraft Suggestions on Reddit.

Quick Links:
📓 Issue Guidelines -- 💬 Community Support -- 📧 Customer Support -- 📖 Game Wiki

migrated

(Unassigned)

Unconfirmed

(Unassigned)

Minecraft 1.14 Pre-Release 5

Retrieved