mojira.dev
MC-177505

Cured Villager can work at wrong workstation

So, I noticed that some of my working villagers who had been turned into zombie villagers and afterwards cured back, began to work at wrong workstation.

As can be seen from these screenshot, the farmer think its workstation is the stonecutter. It will work at the stonecutter and the sound of a composter being filled will sound whenever the farmer works at the stonecutter.

I have testet with various combinations of villager professions and workstations and it is rather consistent that they can take on the wrong workstation.

I have also noticed that quitting the game and starting it again seems to fix the problem but the next time they are converted to a zombie and cured back again they are able to pick the wrong workstation.

Steps to reproduce:

  1. Summon a villager and give it a workstation and make sure it has taken on the worksite

  2. Trade with the villager to lock it in

  3. Convert the villager to a zombie villager

  4. Cure the zombie villager

  5. Remove the villagers original workstation and place a diffrent type (Does not have to be in the same place as the old one, the cured villager will apparently pick any unclaimed workstation as its new workstation.)

  6. Observe the villager Brain data to see that it thinks its workstation is the new wrong type and observe it work there within the working hours.

Note: I cant guarantee the above reproduction procedure results in this bug all the time, but it has been rather consisten for me.

Have tested it in 1.15.2 and in the latest snapshot 20w14a and it happens in both.

Edit: This might relate to MC-145762 which has been marked as fixed as of 1.14 prerelease 4.

[media]

Linked issues

MC-183744 Villagers that turn into zombie villagers that have been traded with don't use the correct work station when cured Resolved MC-193911 Everytime I cure a zombie villager they select the wrong work stations. Resolved MC-194968 Removing the workstation of a zombie villager with a profession, then curing it, makes the villager ignore its profession when claiming another workstation Resolved MC-195710 cured villagers are working at the wrong workstations Resolved MC-197147 I found the bug that if you heal a zombie villager with a job that has already been leveled, he takes any workstation and continues the work before the infection Resolved

Attachments

Comments 6

Note: The new workstation does not have to be in the same place as the original, the cured villager will apparently pick any unclaimed workstation as its new workstation.

This occurs on Bedrock edition as well, see MCPE-56889. Maybe try the repro steps I lay out over there.

I dont see what that would do? The villager mechanics in bedrock seems to work diffrent from java edition. Also it seems to be a diffrent thing happening in that ticket you linked than what is described here. Here the villagers profession is locked in. I.e. it should not change to match the new jobsite, what should happen is that the villager do not work on that jobsite since it is of the wrong type compared to its profession.

The steps I have listed to reproduce above have thus far worked every single time I have tried it, and each time the villager works at the wrong type of jobsite.

Can confirm in 1.17.1.

Can confirm in 1.18

The villager trades will also reset (you can trade with him again), even if the workstation is wrong

I can confirm in 1.18.1, here's a video I took of this happening: https://youtu.be/W5g29T0W_Fk

Pelle Reinke

boq

Confirmed

Mob behaviour

ai, villager

1.15.2, 20w14a, 20w15a, 20w16a, 20w17a, ..., 21w07a, 1.17.1, 1.18, 1.18.1, 1.18.2

22w24a

Retrieved