Minecraft wiki entry for The_third_day, associated text: Many players also choose to start a mine from inside their shelter (that is, start the initial shaft or stair from a convenient indoor spot). This will allow you to mine through the night without danger of mobs coming in. (If it's a stairway, you'll want a fence gate at the entrance.)