Minecraft wiki entry for Shelters, associated text: It is normally advised that you do this after building underground floors, especially if you have a ton of resources (after mining the basement out). These floors could even give you a chance to "snipe" some creepers and spiders in the morning.