Minecraft wiki entry for Defense, associated text: While dirt does not resist explosions well, it is suitable for most purposes. Both dirt and sand walls are frequently used to surround "first night" shelters.