Villagers can pathfind while in beds
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.