mojira.dev
MCPE-49580

My villagers are not linking up to workstations or beds, and will not breed

I play on a realm and sometimes my villagers are not linking up to workstations. When 3 or more people are online my villagers stop linking up to beds or workstations.

Note

This report concerns villagers not linking at all to easily accessible POI (beds, workstations, bells), especially in multiplayer worlds. There are several other reports that address similar-looking situations that actually have very different causes. Before commenting here, please try to confirm that you are experiencing this bug, and not one of the following:

  • Villagers do not always link to the closest available POI: this is intended behavior per MCPE-45270

  • Villagers detect and link to POI they cannot reach: MCPE-50441

  • Villagers link to POI that are unreasonable distances from them: MCPE-63311

  • Villgers cannot pathfind around obstructions to reach POI: MCPE-42912

  • Villagers cannot pathfind over or through various blocks to reach POI: MCPE-45560

  • Villagers de-link and switch POI: MCPE-46157

  • Newer villagers steal POI from older villagers: MCPE-43071

  • Villages overpopulate (leaving some villagers with no POI to link to): MCPE-47212

  • Villagers appear not to link to workstations, in that they won't refresh trades: precursor to MCPE-62080 and MCPE-56889

A user has offered technical analysis of this bug in this YouTube video and this comment. It is suggested that the bug is triggered by abruptly leaving a village too soon after you entered it, either by quitting the world or by using a Nether portal. This means you could work around the problem by waiting a couple of minutes before taking either of these actions. You shouldn't need to wait before walking out of the village, though.

As a reminder, please limit comments to new information, and add a vote to show your interest in getting this issue addressed.

Linked issues

BDS-4028 Villagers Resolved MCPE-45325 Villagers will not accept new jobs Resolved MCPE-45748 Villagers Won't Claim Profression Resolved MCPE-45930 Villager wont sleep or work at his work station Resolved MCPE-46054 Villagers won’t choose professions and new villagers have wrong professions Resolved

Attachments

Comments 56

My villagers are not linking up to anything intermittently, I can be on the server by my self, and they will randomly be broken. even at the villager breeder. They wont even link to a bed 

Still applies in 1.14.30 and 1.15.0.51 beta.
The situation is explained in length in this video : https://youtu.be/3Fdy93XXC9U

Mike Harrington

they ether do not link or they keep unlinking that is for workstations  and beds

The issue seems to be the way in which villagers are designed to link with beds and workstations, from what I can tell, it has to do with the order in which they are added to the village, meaning if you move villagers into an existing area with workstations and beds, or, add work stations and beds to an area with existing villagers, you never know what villagers are going to link where, and if the villagers are too far away, not on the right Y level, or something is blocking their path, they will fail to link, and not try linking to anything else.

 

The entire linking or syncing process needs to be redone. The villagers should do a check for the closest bed and workstation to them, first check if it is available, then check to see if he can pathfind to it, and if both of those answers are yes, he will sync up, then the pathfinding check should be redone periodically to maintain sync. This would allow you to add villagers or profession blocks whenever you would like, to block villagers up in their own stalls or homes with a bed and profession block and force them to sync to it, or close a path to get to a bed or block to break sync when you want to.

 

This broken mechanic worsens the existing bug that can cause a whole village to reset itself, unlinking every villager from their bed, and if you have them closed off in different areas, making it impossible to re-link them. This broken mechanic effectively ruins villager trading halls, iron farms, and villager based crop farms for any long term use.

Please fix this, it's killing our farms and it's been doing this for some time. I have to kill villagers and breed just to get them to do anything for as long as the chunks stay loaded, the moment I move beyond the load boundaries, it has to repeat the kill and breed process again. It's getting old fast!

46 more comments

i have 28 villagers on a realm, who at first linked to their profession blocks, but after removing and replacing one of the blocks to find better trades the villager gets stuck as that profession, and won't go unemployed or change his trades,and i haven't traded with any villagers, what's more i then have issues with other villagers then stealing other villagers work stations, Why on earth is this happening, surely it can't be hard to stop villagers stealing other villagers workstations (and they are right next to their profession blocks and no other villagers can get to them) so after i took the time to link and pair up each villager with their own profession block and make sure they cant get to any others, they manage somehow to unlink from their own stations to someone elses. This is VERY annoying, let alone this is clearly breaking all the rules for a village so my iron farm is useless. Please play minecraft and try this, everyone has issues with these, we shouldn't be your testers, employ some, you can't miss this bug.

It seems my problem might really be problem with the poor pathfinding afterall.

I have tight 1 block walkways and doorways, even though the bed was in direct sight, perhaps the villager just couldn't pathfind to it (they seem to not know how to walk over beds to get to places especially when someone's sleeping on it).

So now I've redesigned all the walkways in the village to be at least 2 blocks of space, and it seems I see less of the angry villager particle.

The farmers also seem to have issue pathfinding to an underground composter as well. (I put a water source and composter in the same block then surround the water/compost with the farmland)  So now I've moved those out of there and put them in a more open area.

[media]

Bedrock 1.16 multiplayer realm Windows 10

Sometimes unemployed villagers simply won't take a job. Not a nitwit. These lecterns are not claimed by other villagers. I repeatedly destroy and replace lecterns to check for specific book trades, after a while they refuse to continue re-bonding with the POI and remain unemployed indefinitely.

Bedrock 1.16 PS4 multiplayer world, not realms. Cured this guy from a zombie. He became a cleric, theb an armorer, then briefly a fletcher before he just unlinked from everything and now will not link to any profession. During the day he just wanders aimlessly. 

[media]

Resolving this issue as Fixed based on the changes made in 1.16.0.61 beta and included in the release version 1.16.0. The fix has been confirmed to me in a Discord conversation shortly after 1.16 released by the user who originally shared code analysis in the video linked in description. I have also tested and am unable to reproduce the problem with the method I used to reproduce it in 1.14.

My test steps were:

  1. Create a village of 40 villagers and 40 beds.

  2. Break 10-20 of the beds.

  3. Immediately teleport 500 blocks away.

  4. Try to create a village in the new location.

In 1.14 villagers in the new location could not create a village because the POI query queue remained full from the villagers in the first village looking for new beds. In 1.16 the POI query queue only holds queries that are within range of the player.

The delay in resolving this ticket has been due to comments reporting issues after the 1.16 released. Some of those comments upon inspection turned out to reflect other bugs, such as related to villager pathfinding. The issue reported in the most recent comments also appears to be a different bug: it sounds like villagers can stop responding to replacing workstations when trying to re-roll their trades. Since that is a different bug it can be tracked in a new ticket.

Erdem Özkan

(Unassigned)

322682

Community Consensus

Multiple

Pc

POI, villagers

1.16.0.61 Beta, 1.16.0.60 Beta, 1.16.0.59 Beta, 1.16.0.57 Beta, 1.16.0.58 Beta, ..., 1.14.60 Hotfix, 1.16.1, 1.16.21, 1.16.20, 1.16.40 Hotfix

1.16.0.61 Beta

Retrieved