World spawn

From Minecraft Wiki
(Redirected from World spawn point)
Jump to navigation Jump to search
This article is about player spawning. For mob spawning, see Mob spawning. For other uses, see Spawn.

The world spawn is where players initially spawn in the Minecraft world.

Spawn

[edit | edit source]
The default respawn area for an individual player. White represents the extent of singleplayer, blue represents multiplayer, and yellow represents the world spawn point.
"respawn_radius" redirects here. For the game rule, see Game rule § respawn_radius.

The world spawnpoint is determined using a search algorithm that discourages (but cannot fully prevent) spawns in oceans, rivers, or regions with very high or low climate noise samples.

  1. The algorithm first evaluates 66 exact coordinates that loosely form circles of radius 0, 512, 1024, 1536, and 2048 blocks from the world's center. Each coordinate is evaluated by its distance to (0,0), and by how far its climate samples fall outside the desired climate thresholds for spawnpoints. The most suitable coordinate is set as the interim spawnpoint.
  2. The algorithm then draws 16 circles centered around the interim spawn point, roughly 32 blocks apart, and performs the same fitness evaluations on 862 coordinates across those circles. If a more suitable position is found, the world spawnpoint is set to that position; otherwise, the world spawnpoint remains at the current position.
  3. Java Edition alone then inspects all chunks within a five-chunk square radius of the current interim spawnpoint, looking for a topsolid non-waterlogged block. Once one is found, it is set as the final spawnpoint.

The world spawn point can be changed using the /setworldspawn command.

When the player first loads into the world, the game searches within a small area surrounding the world spawnpoint, and tries to place the player on a random solid block. This area is 21×21 blocks by default, but can be changed by the respawn_radius[JE only] or spawnradius[BE only] game rule or world setting. Upon spawning, the player is placed on the highest topsolid non-waterlogged block, regardless of elevation. In Bedrock Edition, it is also possible for a player to spawn underwater and start drowning.[1] Upon death or return from the End dimension, the player respawns within this same area unless the player's individual spawn point changed (by using a bed, respawn anchor, or /spawnpoint).

Bedrock Edition's respawn radius setting.
An interactive widget is being loaded. If this does not work for you, please reload the page or check if JavaScript is working or enabled.

Adventure mode

[edit | edit source]

When the server's settings specify the default game mode as Adventure (using the server.properties), then the normal spawning mechanic is ignored, and players are spawned directly on the world spawn point. This includes the X, Y, and Z coordinates, even if there is no block there, and even if there are blocks above it.

If the Y coordinate is not within a valid spawning area, then the server looks up until it finds one, up to a maximum of Y=256. If there is space to spawn, but it is in mid-air, the player spawns in mid-air, even falling into the void if there is a hole.

Location

[edit | edit source]

There are several ways to determine the world spawn point:

  • A compass (that hasn't been assigned to a lodestone) always points to the world spawn point.
  • Doing the commands /gamerule spawnRadius 0 then /kill.
  • If commands are disabled, remove all the grass blocks in the 21×21 spawn area (or place a block above them to make them invalid), make sure the individual spawn point is disabled, and die.
  • Entities, other than players, falling into the exit portal in the End land exactly at the world spawn point. Items thrown in mark the spot in the Overworld. Players spawn like they normally do, allowing this action to be used to perform the above without dying, and thus can be performed in hardcore mode.
  • Mods or external programs, such as NBTExplorer or MCEdit, can also be used to find and set the world spawn point.

Individual spawn

[edit | edit source]

The individual spawn point of the player can be changed by sleeping in a bed, using a respawn anchor, or using the /spawnpoint command. If the individual spawning area of the player is obstructed upon death, the player respawns at the world spawn.

Sleeping in a bed allows for leniency in obstruction, in that the player respawns on other blocks near the bed if the original point becomes blocked. The same is true for the respawn anchor. If the spawn point set via /setworldspawn or /spawnpoint becomes obstructed, the player is not given this leniency in respawning. If the block obstructing the player's spawn point is a bed in the Overworld or a respawn anchor in the Nether, regardless of if the bed or respawn anchor was used to set the spawnpoint, this leniency will still be given.

For the spawn point to be considered unobstructed, certain criteria need to be met. Generally, for a spawn point set via /setworldspawn or /spawnpoint, there must be a two-block-tall space at the spawn point which is free of solid blocks. However, there are also some solid blocks which do not obstruct spawning, some examples including the heavy core, candles, and player and mob heads. Lava and water will also obstruct the spawn point despite being non-solid, however, aquatic plants, such as kelp and seagrass, will not, even when in water. The player will always be spawned in the center of the spawn point block and 110 of a block above the bottom of the block, even if there is a non-obstructing solid block occupying the space, such that the player can sometimes be spawned inside of a block they would otherwise have collision with. Unlike when respawning around a bed or respawn anchor, the block below the spawn point is not considered, meaning the player can be spawned on top of dangerous blocks such as magma blocks, or over a non-solid block. The state of any blocks occupying the two-block-tall spawning space is also not considered. For example, an open fence gate will still obstruct the spawn point even though the player has no collision with it.

History

[edit | edit source]

Java Edition

[edit | edit source]
Java Edition Infdev
20100327The player now drops their inventory and respawns at the spawn location upon death, rather than having to reload the last save.
20100611The player now only spawns on sand blocks. As a result, the player will often spawn in beaches, but spawning on deserts is also a possibility.
Java Edition Beta
1.4_01Beds now act as respawn points for players.
1.8Pre-releaseThe player's spawn point now attempts to spawn players on grass blocks, and favors forests, swamps, and taiga biomes.
Java Edition
1.112w01aThe algorithm now favors forests, plains, taigas, forest hills, and taiga hills biomes.
1.2.112w03aThe algorithm now additionally favors jungles and jungle hills biomes.
1.4.212w32aAdded the command /spawnpoint.
1.7.213w43aAdded the command /setworldspawn.
1.8?The fallback spawnpoint if no favored blocks can be found is shifted 11.3 blocks, changing some spawnpoints.
1.915w51aAdded the game rule spawnRadius to control the size of the world spawn area.
1.1519w36aAdded the game rule doImmediateRespawn.
1.1620w12aAdded the respawn anchor, allowing players to set their spawn point in the Nether.
1.1821w42aReworked world spawn selection algorithm. Players now spawn according to the same climate parameters that control biome placement and world generation: players spawn less often in the ocean or similar inconvenient locations.
1.20.524w03aAdded the game rule spawnChunkRadius to control the size of the spawn chunks.
The default spawn chunk propagation is now 3×3 instead of 19×19.
1.21.224w40aThe formula used to grade potential spawn coordinates is changed.
Spawns are far less likely to occur in oceans, and routinely place the player farther from (0,0).
1.21.925w31aRemoved spawn chunks and the aforementioned game rule.
Pre-Release 1The world spawn can now be set in a dimension other than the Overworld.

Bedrock Edition

[edit | edit source]
Pocket Edition Alpha
0.1.0Added the world spawn point. The spawn point is always located in the center of the world (X/Z: 128).
0.9.0build 1The player's spawn point is now located in specific biomes in the Infinite world type.
On the Old world type, the player still spawns on the center of the world, but the exact position is no longer consistent between worlds. Instead, the position is determined by the world seed.
Bedrock Edition
1.9.0beta 1.9.0.0Added the immediateRespawn game rule.
1.12.0beta 1.12.0.2Added the game rule spawnRadius to control the size of the world spawn area.
1.16.0beta 1.16.0.57The world spawn can now be set in the Nether using /spawnpoint.
1.21.60Preview 1.21.50.20The formula used to grade potential spawn coordinates is changed.
Spawns are far less likely to occur in oceans, and routinely place the player farther from (0,0).
1.21.100Preview 1.21.100.20The world spawn can now be set in the End using /spawnpoint.

Legacy Console Edition

[edit | edit source]
Legacy Console Edition
Xbox 360Xbox OnePS3PS4PS VitaWii USwitch
TU1CU11.001.001.00Patch 11.0.1Added the world spawn point.
TU12The player's spawn point can now also be located in jungle and jungle hills biomes.
??????Added a host option that allows players to change the world spawn point.​[more information needed]
1.88 Added the Immediate Respawn host option.

Trivia

[edit | edit source]
  • The farthest possible spawnpoint from (0,0) under Euclidean distance is (1599, -2160).
  • Developer Ulraf in a livestream expressed the idea of giving the dragon egg the use of modifying the world spawn, because there is only one dragon egg per world. He clarified that he experimented with this idea using commands, and that there weren't plans to add this function to vanilla.[3]

Issues

[edit | edit source]

Issues relating to "World spawn" are maintained on the bug tracker. Issues should be reported and viewed there.

[edit | edit source]

Screenshots

[edit | edit source]

References

[edit | edit source]
  1. MCPE-120237
  2. a b MC-278686 — resolved as "Won't Fix".
  3. https://youtu.be/2cxUNoWNy50?t=11284
[edit | edit source]
[edit | edit source]