mojira.dev
MC-195162

Villagers won't sleep in beds!

Villagers won't use beds in an "iron farm setting" in one location, but they do in another. There is no close villages and anything that could interfere with them claiming their beds. It seems to be randomly working or not somehow depending on location.

Attachments

Comments 12

Please provide a screenshot of the setup with your F3 debug screen enabled.

What is the gamerule "doDaylightCycle" set to?

It is set to true, the time is flowing like normal.

Please run /debug start, wait a while and then run /debug stop in order to create a debug profile. Afterwards, run /debug report.

If you do not have the permission to run these commands, open your world to LAN and enable cheats. If you're on a server, make sure that you're a server operator in order to execute these commands.

Then, please attach the profile results found in [minecraft/debug/profile-results-<DATE>.txt|https://minecrafthopper.net/help/guides/finding-minecraft-data-folder], as well as the debug report found in [minecraft/debug/debug-report-<DATE>.zip|https://minecrafthopper.net/help/guides/finding-minecraft-data-folder] here.

Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
💬 Mojira Subreddit – 💬 Mojira Discord

2 more comments

I have Removed the Datapacks now, but problem still occurs.

Please check if that's still an issue for you in the latest 1.16.4 stable release or the latest 1.17 development snapshot.

I have this issue in 1.16.4. Villager correctly bound to the work site but wouldn't bind to the bed, and just wonder around at night.

I checked in the save file and villager still remembered a bed that was destroyed long ago and was hundreds of blocks away.

When I made a backup and modified the save to delete this old bed from his memory he correctly bound to the new bed on the next night. I still have the bugged backup.

I was unable to reproduce this in 21w38a

Dawid Eret

(Unassigned)

Unconfirmed

(Unassigned)

1.16.1

Retrieved