Minecraft wiki entry for Survival_in_an_infinite_desert, associated text: Chests in village houses can supply bread to eat, wheat for various purposes, and other useful items. Village houses contain beds so that you can reset your spawn point and pass the night in safety - probably moving the bed out of the village first.