mojira.dev
MC-123729

Villagers not remembering correct profession

The bug

Converting a librarian into a zombie villager and back has 50% chance to become a cartographer which is not supposed to happen.

How to reproduce

  1. Dig a hole 6 x 4, spawn 4 librarians

    /summon minecraft:villager ~ ~ ~ {Profession:1, Career:1}
  2. Let zombies turn the villagers into zombie villagers

  3. Cure the zombie villagers and wait
    → ❌ Check the professions and observe how the villager is a cartographer

Comments 3

Please do not mark unreleased versions as affected.
You don't have access to them yet.

Confirmed.
When a villager convert to a zombie and back to a villager, only the Profession is keept.
The career is picked randomly when the player interact with the new villager for the first time, so technically, a freshly converted villager is neither a cartographer nor a librarian.

Disambiguation : a Villager with Librarian Profession has two possible Career : Librarian and Cartographer (see wiki).

Confirmed for 1.13.1.

How to reproduce

  1. Dig a hole 6 x 4, spawn 4 librarians.

    /summon minecraft:villager ~ ~ ~ {Profession:1, Career:1}Spawn 6 zombies, let them turn the villagers into zombie villagers.
  1. If they are turned into zombie villagers (Atleast two), kill the other zombies.

  2. Cure them by splashing potion of weakness on them, and feeding them a golden apple.

  3. Now wait untill they are back to villagers, check the professions and observe how one of them (should) is a cartographer

Jack

(Unassigned)

Confirmed

Minecraft 1.12.2, Minecraft 17w50a, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43c, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a

Minecraft 18w50a

Retrieved