Updated description by @unknown
Steps to reproduce
Build a village across 3 aligned chunks (A, B, C) as follows: (or use
)
Place a bed and workstation in chunk A, then spawn a villager and let it link.
Place a bed in chunk C and a workstation in chunk B. This workstation should be a different type than the workstation in chunk A. Again, spawn a villager and let it link.
Trade with the villager who works in chunk B to lock in his profession.
Place bed in chunk B, then spawn a villager and let it link.
Set time to night and allow the villagers to get to their beds.
Fence off chunk A so that the villager who sleeps there cannot wander out of the chunk.
Move away from the village in the chunk C --> chunk A direction until only chunk A is within simulation distance and chunks B and C are not.
Wait at least 25 minutes.
Walk back to the middle of the village.
Expected result
The locked-profession villager keeps the workstation in chunk B.
Actual result
The villager who sleeps in chunk B takes the workstation in chunk B.
Explanation
Steps (3-4) make the villager in chunk A the only villager who is simulated (ticked). Step (5) drops the other villagers from the villager dwellers list. Step (6) re-adds them to the dwellers list. Since the unemployed villager in B is re-added before the villager in C, he links to the workstation in B before its original owner has the chance.
Notes on gameplay impact:
Steps (4-6) occur naturally in a normal game context if a player spends time mining, building, etc. at a certain distance from a village.
This bug occurs in a similar way and sometimes in conjunction with MCPE-47212. The other bug referred to in the original description below has been resolved as a duplicate of that one.
Original description
Problem: In our man made village (See MCPE-43070 for the issue relating to this) villagers have started taking up jobs that others already have, leading them to not letting others work, and resupply their trades. For example we have one grindstone, and one smithing table, but we have two weapon smiths, and two tool smiths, and they both appeared after trading with the first of each, preventing the originals from resupplying. It's an annoying issue, since we had both the original weapon and tool smith level 3, but can no longer level them up, since their trades can't be resupplied. We could place more stations down, but we don't want more of each.
Steps to Reproduce: Since I'm not sure of the true cause, please see the above issue about villager overpopulation, and see if it has anything to do with it
Related issues
is duplicated by
relates to
Attachments
Comments



I have seen problems like this happen in my experimental world when the villager's beds are separated too far from their workplaces. I would suggest, perhaps as an experiment, watching to see which villagers have beds more than 16 blocks (I'm not sure of the number) from their workplaces, providing a closer bed, and breaking the distant one, in that order. Wait for them to claim/use both the bed and workplace block before moving on to the next one. I suspect that those who are using the same workplace block will then sort themselves out, choosing another available workplace.
I'm not saying that this is how it's supposed to work, because I don't know what the designers intended. But it might help you get ready for 1.11 before it arrives.
P.S. The issue seems to be that there are ranges within which a villager can detect a bed and a workplace block. When it wanders, it stays within range of one or the other of them, but sometimes it can get closer to one and fall out of range of the other. At that point the other block can be taken away from it by another village looking for that type of block. Having the bed and workplace block close to each other minimizes the chance of that situation happening.

I have seen problems like this happen in my experimental world when the villager's beds are separated too far from their workplaces. I would suggest, perhaps as an experiment, watching to see which villagers have beds more than 16 blocks (I'm not sure of the number) from their workplaces, providing a closer bed, and breaking the distant one, in that order. Wait for them to claim/use both the bed and workplace block before moving on to the next one. I suspect that those who are using the same workplace block will then sort themselves out, choosing another available workplace.
I'm not saying that this is how it's supposed to work, because I don't know what the designers intended. But it might help you get ready for 1.11 before it arrives.
P.S. The issue seems to be that there are ranges within which a villager can detect a bed and a workplace block. When it wanders, it stays within range of one or the other of them, but sometimes it can get closer to one and fall out of range of the other. At that point the other block can be taken away from it by another village looking for that type of block. Having the bed and workplace block close to each other minimizes the chance of that situation happening.

Sounds reasonable to me. I’ll be sure to test later. Thanks for the help

Sounds reasonable to me. I’ll be sure to test later. Thanks for the help

This same problem has been observed in Java 1.14 also.

This same problem has been observed in Java 1.14 also.

I have the same issue on my Switch bedrock version 1.11.4: I found a village, put ~15 beds in the 10x10 chunk area (which also has some hills), and some villagers could not find the way to their bed anymore. Then the village overcrowded, and new villagers overtook job sites (and I assume beds) of older villagers. The villagers that lost their job/bed do not search for a new one and therefore do not restock their trades or go to bed at night, they also do not respond to the village bell anymore. They do however still breed and trade food with each other. They know they don't have to do anything useful to get a good life with filled with food and breeding.

I have the same issue on my Switch bedrock version 1.11.4: I found a village, put ~15 beds in the 10x10 chunk area (which also has some hills), and some villagers could not find the way to their bed anymore. Then the village overcrowded, and new villagers overtook job sites (and I assume beds) of older villagers. The villagers that lost their job/bed do not search for a new one and therefore do not restock their trades or go to bed at night, they also do not respond to the village bell anymore. They do however still breed and trade food with each other. They know they don't have to do anything useful to get a good life with filled with food and breeding.

Is this still an issue in 1.14.30 or later? Villagers and/or job blocks from versions before 1.11 or created with Experimental Gameplay features might not have transitioned correctly,

Is this still an issue in 1.14.30 or later? Villagers and/or job blocks from versions before 1.11 or created with Experimental Gameplay features might not have transitioned correctly,

This issue was recently fixed in Java Edition, see MC-164233.

This issue was recently fixed in Java Edition, see MC-164233.

I have experienced this issue in my own survival worlds, but I'm having a devil of time fully reproducing it in a test world. I can get new villagers to steal workstations (see steps in updated description), but every time I break the workstation and replace it, the older (and trade-locked) villager with the matching profession reclaims it. However, some users report that this does not work for them (see for example MCPE-64791).
I was not able to reproduce with the steps from the analogous Java bug, MC-164233.
Update: adjusted the repro steps after further tinkering. They should now result in a job site thief who will not give up his prize when you break and replace. If you have difficulty reproducing, try relogging between steps 3, 4, 5, and/or 6.

I have experienced this issue in my own survival worlds, but I'm having a devil of time fully reproducing it in a test world. I can get new villagers to steal workstations (see steps in updated description), but every time I break the workstation and replace it, the older (and trade-locked) villager with the matching profession reclaims it. However, some users report that this does not work for them (see for example MCPE-64791).
I was not able to reproduce with the steps from the analogous Java bug, MC-164233.
Update: adjusted the repro steps after further tinkering. They should now result in a job site thief who will not give up his prize when you break and replace. If you have difficulty reproducing, try relogging between steps 3, 4, 5, and/or 6.

This issue is still present in 1.14.60, and all the distance between all villager workstations and their beds are less than 16 blocks.

This issue is still present in 1.14.60, and all the distance between all villager workstations and their beds are less than 16 blocks.

@@unknown Thanks for your input. The steps I’ve given could work even if the workstation and bed of the second villager are right next to each other, as long as they are in different chunks. It is also possible to experience this bug with the second and third villagers being in the same chunk when they get dropped and re-added to the village, but to get the bug to occur consistently and predictably requires the 3-chunk layout I describe in the steps. Note too that to span 3 chunks the beds in chunk A and chunk C could be as few as 18 blocks apart.

@@unknown Thanks for your input. The steps I’ve given could work even if the workstation and bed of the second villager are right next to each other, as long as they are in different chunks. It is also possible to experience this bug with the second and third villagers being in the same chunk when they get dropped and re-added to the village, but to get the bug to occur consistently and predictably requires the 3-chunk layout I describe in the steps. Note too that to span 3 chunks the beds in chunk A and chunk C could be as few as 18 blocks apart.

@[Mod] GoldenHelmet
I have the iron farm design of SilentWhisperer (Bedrock/xBox) and with 20 Beds/20 Villagers. The villagers blocked to their job block they have taken up new professions of their neighbors.
This appears to be because I moved a villager past them, out of site and a different y axis - less then 16 blocks. He took a profession of one of them and then they all started switching.

@[Mod] GoldenHelmet
I have the iron farm design of SilentWhisperer (Bedrock/xBox) and with 20 Beds/20 Villagers. The villagers blocked to their job block they have taken up new professions of their neighbors.
This appears to be because I moved a villager past them, out of site and a different y axis - less then 16 blocks. He took a profession of one of them and then they all started switching.

Affects 1.16.40 Hotfix as well. Just experience this bug in my trading hall when I came to know the villagers aren't restocking. Finally it's fixed in the beta.

Affects 1.16.40 Hotfix as well. Just experience this bug in my trading hall when I came to know the villagers aren't restocking. Finally it's fixed in the beta.

Unfortunately It's still exists in 1.16.200.55

Unfortunately It's still exists in 1.16.200.55

@Daniel: How are you reproducing this bug? This was reported to be fixed in 1.16.200.52.

@Daniel: How are you reproducing this bug? This was reported to be fixed in 1.16.200.52.

@GoldenHelmet In the current version on Windows 10 I have villagers randomly unlinking from their stations and then causing all of the villagers with the same trade to unlink. There is nothing I have done to cause this. All of my villagers have been traded with, are 1-block-adjacent to their workstations in a straight line and are locked in 2 blocks standing on water inside a trading hall.
The issue comes up approximately every 3 Minecraft days where one group (a particular trade) of villagers will all delink from their workstations, will show the frustration sign and will not restock or relink to their stations.
Not sure if there is another current ticket linked to these issues?

@GoldenHelmet In the current version on Windows 10 I have villagers randomly unlinking from their stations and then causing all of the villagers with the same trade to unlink. There is nothing I have done to cause this. All of my villagers have been traded with, are 1-block-adjacent to their workstations in a straight line and are locked in 2 blocks standing on water inside a trading hall.
The issue comes up approximately every 3 Minecraft days where one group (a particular trade) of villagers will all delink from their workstations, will show the frustration sign and will not restock or relink to their stations.
Not sure if there is another current ticket linked to these issues?