In Minecraft 1.14, unemployed villagers would claim any workstations within about 50 blocks unless they were completely enclosed in blocks.
One change I have noticed in 1.14.1 is that villagers can now only pathfind to workstations that they can stand beside. Thus, walls stop villagers from claiming workstations:
[media]However, this causes an issue with villagers pathfinding to workstations in some cases:
When they are enclosed in 1x1 areas
When there is a block over their head
When there is a block over their workstation
When they are standing on top of the workstation
This is most common when villagers have little to no space to move around. Notice that these villagers are able to claim the workstation:
[media]However, these villagers are unable to claim the workstation:
[media]This can cause issues when players try to create trading halls. For example, if a villager claims a workstation but a block is placed over its workstation, the villager may be unable to pathfind to its workstation. After some testing, this only happens occasionally and only after the villager has been traded with, meaning that it becomes unable to restock. Afterwards, the villager eventually loses the workstation and is unable to reclaim it even if the block above the workstation is broken:
[media]Furthermore, an odd bug I encountered while testing is that villagers may randomly glitch between employed and unemployed while near a workstation. I do not know the cause for this bug and was unable to replicate it on command, but I encountered it several times while testing at seemingly random times.
This villager is switching rapidly between employed and unemployed:
[media][media][media]Attachments
Comments 10
After messing around, i found out that villagers can still path find in an enclosed area if the only blocking them is a trapdoor where they will see it as a space they can walk through
I was doing a trading hall, and I found that the villagers can't pathfiding if they are in a pressure plate/rails.
I am not sure if this is the same issue in a different guise, but in 1.14.1 I have seen some very strange things happening with villagers and beds. Villagers seem to unreliably bond to a bed, even when it is not a bunk. I have seen villagers swap beds, and I even saw two villagers sleeping in the same bed on one occasion, with an empty bed next to them. The uncertainty in bed ownership enables breeding in situations where it should not be possible, when there should not be enough unclaimed beds.
I don’t know how the issue is resolved. Villager path finding is horrible. They can’t get to their beds, workstations, and hang around outside trying to get to where they need to go on the wrong side of the building.
MC-147740 and MC-151079 describe parts of my issue but not the full picture.