Minecraft wiki entry for Bed, associated text: Sleeping in a bed is possible only in the Overworld. Attempting to sleep in a bed in the Nether, the End, and custom dimensions in which they are disabled causes it to explode and set fire to surrounding blocks; unless /gamerule respawnBlocksExplode‌[Bedrock Edition only] is set to false.[1] The explosion has power 5, which is stronger than TNT (4), but not as strong as a charged creeper or end crystal (6). The explosion centers on the head part of the bed. Villagers can sleep normally in any dimension without the bed being blown up.[2] Upon death from a bed explosion, the message "(Player) was killed by [Intentional Game Design]" appears.