Minecraft wiki entry for Bed, associated text: Once a player has entered a bed (or right clicked the bed during daytime), their spawn point is set to the location of that bed. In Java Edition, multiple players can set their spawn point on a single bed. In Bedrock Edition, the last player to use a specific bed is the only player who can respawn there, and players who had previously slept there respawn at the world spawn.