Villagers will randomly lose their job and reselect another workstation.
Created a trading hall where the villagers were brought in one by one, from more than 100 blocks away, and given a workstation. Attached picture is the setup I have. The villager is in a minecart on the detector rail and the workstation is always on their left, on the stone block behind them. I would place the workstation 3 times to watch them lose the profession to make sure they were attaching to the right one, and I'd verify with the /data get command that the coordinates of the workstation were correct.
Once the trading hall was about halfway full, after traveling to the nether, out of range and therefore unloading the chunk, and overall playing normally, I went back to check the coordinates of their workstation and they had changed to one across the hall and some villagers were unemployed. Their first trades had changed as well.
I thought maybe that it was minecarts so I spawned them in with eggs and did the same thing and the same result.
The villagers face 3 different directions so it's likely not directional, and the trading hall goes over multiple chunks.
There is also a villager breeder a few chunks away, up at the sky limit.
Working on a world download, it's not the smallest.
Link to download: https://www.dropbox.com/s/ztvvp913mgtch0m/world.zip?dl=0
Coordinates of screenshot are 349 52 -1193
Attachments
Comments 5
Starting a new day through sleeping also seems to make villagers randomly pick different workstations from before (but not always).
Can confirm this happened on my 1.14.1 server. I was working on my Villager Trading Hall assigning workstations to my villagers. After I did about 10 of them, I turned around and they all lost their professions. Not sure how to reproduce it though.
Does MC-151079 describe your issue?
Can confirm. Noticed some villagers literally blinking between employed and unemployed, didn't give it another thought at first.
Yesterday I've left three farms running in a void world - golem one with 22 librarians/beds, wheat one with 1 farmer/bed, and carrot/potato with 4 farmers/beds. Overnight, some beds were lost, and 4 farmers were able to detect them as empty and breed to, like, 20 or 30.
EDIT: This may have been an effect of MC-151225, will test again tonight.