Minecraft wiki entry for Turtle_farming, associated text: During construction, it may be a good idea to have a bed and shelter nearby to get some occasional sleep, to prevent phantoms from spawning while you work.