mojira.dev
MCPE-56889

Villagers working at wrong work station for their profession

Workaround

You may be able to prevent this bug from occurring by breaking the workstation of any villager that you plan to kill, zombify, or otherwise remove from a village.

Updated by @unknown

Steps to reproduce

  1. Place a bed and workstation.

  2. Spawn a villager (A) and wait for it to link to the bed and workstation.

  3. Spawn another villager (B).

  4. Relog.

  5. Kill villager A. Villager B will then link to the workstation without changing its profession to match.

  6. Spawn a zombie and allow villager B to be turned into a zombie villager.

  7. Remove the zombie and cure villager B.

Expected result

Villager B changes profession to match the workstation and works there.

Actual result

Villager B never changes profession, but works at the non-matching job site block and refreshes trades.

Note: steps 1-5 are also part of the reproduction steps for MCPE-62080. Fixing the underlying issue of villagers linking to profession blocks without changing profession to match should fix both of these bugs.


Original description
Villagers like on my video was a weapon Smith and he using wrong block to use resupply his own item last, the farmer villager was died and he using composter I just got crash after save the world pls fix

Related issues

Attachments

Comments

migrated
[media][media][media][media][media][media][media][media]
migrated

In the video, the weapon smith is not using the composter (you can see he was not looking directly at it). In his algorithm of "wandering randomly" he happened to wander around the composter. Villagers when wandering often insist to stay in a very specific place.

GoldenHelmet

@Bernardo Gomes Negri: I believe the video does show the weapon smith working at the composter. You can tell by the way he turns his head toward it with a slight downward tilt. Villagers in Bedrock Edition do not look directly at their job blocks per MCPE-43207.

GoldenHelmet

Here is a video of a librarian restocking his trades at a blast furnace:

[media]
GoldenHelmet

In 1.16 the incomplete linking described here in steps 1 - 5 can block iron golem spawning. See MCPE-65202.

migrated

Also affects Nintendo Switch version 1.16.1. I commented on this in MCPE-64157 but will attach the images here too as it may be helpful.

[media]
GoldenHelmet

The related issue MCPE-62080 is reported to be fixed in 1.16.100.51. Depending on how that was fixed, this issue may be fixed as well.

GoldenHelmet

Tested after 1.16.100 release and can no longer create a villager who works at the wrong workstation.

Note that if you already have a villager working at the wrong workstation, you may have to break and replace either the workstation or the villager to clear the problem.

migrated

(Unassigned)

359409

Confirmed

Multiple

6.0.1

Villager-Profession

1.16.0.66 Beta, 1.16.0.64 Beta, 1.13.1, 1.14.30 Hotfix, 1.14.60 Hotfix, 1.16.0, 1.16.1, 1.16.40 Hotfix

1.16.100

Retrieved