mojira.dev
MC-164233

"Skilled" villagers without job site do not get precedence over unemployed villagers

The bug

Villagers already skilled in profession (i.e. apprentice, journeyman, expert, master) but without job site do not get precedence over unemployed villagers when a that job site block becomes available.

Because "skilled" villagers do not lose their profession, this can lead to an unemployed villager being assigned that already has a "skilled unemployed" villager with that profession.

These villagers are unable to trade further once trade cap as they do not have a job site block.

Ideally, when a new job site block becomes available it should search for any "skilled" villager which does not have a job site block assigned before assigning to an unemployed villager.

How to reproduce

  1. Create or find a "village" and have some unemployed villagers

  2. Add a job site block (this should now be assigned to a villager)

  3. Trade with the villager until they are "skilled"

  4. Destroy job site block

  5. Add same job site block in village
    → This will now be assigned to a villager, this could be an unemployed villager instead of a villager already skilled in that profession

Related issues

Attachments

Comments

migrated
[media][media]
migrated

Can confirm for 1.15.2 and 20w15a
Jobless villagers seem to have priority over skilled villagers when a new jobsite block is placed.

There's 10 villagers in this pen, only one composter, the apprentice level farmer was the first farmer. Then I broke its composter and placed a new one and a diffrent villager aquired the jobsite instead of the first farmer.

[media]

migrated

Still present in 20w16a

migrated

still present in 20w17a

migrated

still present in 20w18a

migrated

still present in 20w19a

migrated

I just wanna add that this happen even with already existing/assigned workstations. Sometimes a unemployed villager will steal the job from a skilled one leaving him wondering around the village never returning to his former workstation.

This happen to me in 1.15.2 with 2 skilled villager at the same time. The only noticeable factor is that those 2 workstation are the farthest form the village center.

Good luck!

migrated

This bug seems to only be partially fixed, A villager with a profession will get precedence on claiming a unclaimed jobsite over a jobless villager. But a villager of higher level does not always get precedence over a villager of the same profession but lower level. According to the 20w22a changelog, the most skilled villager should claim unclaimed jobsites first.

See this screenshot from 1.16 Pre-release 3, the villager who have claimed the composter is the Apprentice level Farmer and not the Journeyman level Farmer.

[media]

It does not always happen but as with this bug pre 20w22a, it is more prevalent to happening if the jobsite blocks are broken and placed rapidly.

migrated

coschevi

Community Consensus

(Unassigned)

1.14.4, 1.15.2, 20w15a, 20w16a, 20w17a, 20w18a, 20w19a

20w22a

Retrieved