i mean i made it in creative because it's only prove of concept, but you actually can make that "box" kinda spacious here's a spawn- and stormproof bedroom:     btw. in earlier versions nightly spawning attempts happened only on completely solid blocks, upper slabs prevented spawns in them. but even then storm spawning happened in midair.