Villagers can pathfind to food near them while sleeping and not get out of bed.
Note: this only works when the villager is about 1 block away from the food item stack.
Reproduction:
Spawn a villager and place some beds.
/time set night and wait till the villager sleeps.
Throw some food to a bed near (about 1 block from) the villager
Expected behavior:
The villager would get out of bed to pick up the food.
Observed behavior:
The villager walks while laying on the bed and picks up the food.
Linked issues
Attachments
Comments 2
Thank you for your report!
We're tracking this issue in MC-157464, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Duplicate of MC-157464.