mojira.dev
MC-192711

Villagers "Home" POI can sometimes be stuck at a location without a bed

My village is near full capacity with the villager/bed ratio. From what I know, one villager was turned into a zombie and a baby villager was born at close times. After being cured, the "restored" villager would not go to its bed despite the baby being killed and another bed being placed. Instead, this villager goes to the same area every night and refuses to go anywhere else in the night despite there being available bed in close proximity. This has happened with other villagers, however, I do not know how to recreate it.

 

https://drive.google.com/file/d/1f_ZKZDu9R9cqxl989zSNlEittllK5QqY/view?usp=sharing

Related issues

Attachments

Comments

migrated
[media][media]
galaxy_2alex

Is another villager trying and failing to get to the bed? Also, does replacing the bed fixes the issue?

migrated

There are no other villagers nearby trying to get into the bed. All other villagers are inside their own houses and are able to sleep properly on their own bed. I have tried breaking and replacing the bed many times, yet the villager will not sleep on it despite literally standing on the bed.

 

Would hosting the world with LAN cause a problem? I have attached the link to the save file in the description.

coschevi

I have done some investigation, and this looks like your world save has been corrupted a bit, unfortunately. Potentially due to this bug: MC-161823

The actual workstation the villager thinks is there is one block next to the bed, away from the tree. I'll see what I can do, but my hands might be tied until we fix the corruption bug on this one, unfortunately. If you want a quick fix for your villager, just place a bed to the left and one block closer to where the villager is and that should fix it for that villager 🙂

migrated

I can confirm this issue has affected me as well, recently I have been curing Nitwit Villagers, I do this very far away from the actual Village to avoid Golems potentially killing them, so I cure these guys, since move Villagers is quite complicated when is night time I place a Bed and break it to guide the villager move across the biomes, once I’m close I use boats to finally move the villager to its new home, but when it’s night time they try to go to the position I placed a Bed before when I was moving it, I have fixed this in 2 ways, in one occasion I have trapped the villager in the house locking the doors, breaking and placing the bed, until he finally sleeps, this usually happens after around 2 mins. And the other solution is when I couldn’t manage to trap this guy, since it’s moving outside the village, I trap it in a Boat and use /data to merge the position the “Home” is at & change it to the free Bed I had for this villager.

coschevi

Is this still an issue?

migrated

 I just tested this today with new villagers, it still seems to happen in the old world folder I used.

Minecraft386882

Can confirm for 1.21.3 

migrated

(Unassigned)

Confirmed

Platform

Important

Mob behaviour, Village system

1.16.1, 1.21.3

Retrieved