Minecraft wiki entry for Bed, associated text: The reason beds explode in the Nether and the End is because Notch found it was the easiest solution to dimension-unique respawning.[12]
Dimension-unique respawning was eventually implemented via the respawn anchor, and gained command support at the same time. Despite this, beds will still explode in invalid dimensions, as will respawn anchors.
If the player quits the game while sleeping, upon return the player wakes up beside the bed.
Using the /teleport command while another player is sleeping still teleports the sleeping player, but the player wakes immediately.‌[Java Edition only]
If the player places a bed on ice, running over the bed acts like running over ice, similar to slabs.
Before differently colored beds were added, using all 6 planks and all 16 wool combinations, there were 3,456 different ways to craft a bed.
When placed using the /setblock command, only one half of a bed is placed, because beds are two blocks long. A single half can be slept in like a whole bed.
Villagers can sleep in the Nether and the End without causing the bed to explode.[13]
While the block state used to determine the half of a two-block block such as doors and double-tall flowers is called half, in the case of beds this is called part.
Players and villagers do not drown or take damage from lava while in a bed, even if the bed is covered in lava.
The red bed was the original default bed color. In Java Edition 1.12 and Pocket Edition 1.1.0 version of the game, the default color was changed to white.