Spawn

The spawn point is where players initially appear in the world, where they respawn after dying, where they appear when joining a multiplayer server and where a Magic Mirror will teleport them to. After creating a world, the spawn point will be in the horizontal middle, on the surface. The spawn point can be changed by building a bed, placing it in a house and right-clicking it. In multiplayer, this will only affect the player who right-clicked the bed. It is very useful to build a house over your initial spawn point, because if you die, or your bed is obstructed, you will spawn inside the house. Any blocks at the original spawn point, including Water and Lava, are broken so the player can spawn correctly.