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

Summoned villager trades change when getting a profession.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.14 Pre-Release 5
    • None
    • Unconfirmed
    • (Unassigned)

      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.

            Unassigned Unassigned
            RealCreeperman RealCreeperman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: