Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:World spawn: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: new page from Minecraft
 
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{About|player spawning|mob spawning|Mob spawning|other uses|Spawn}}
{{About|player spawning|mob spawning|Mob spawning|other uses|Spawn}}


The '''world spawn''' is where [[Minecraft:player]]s initially spawn in the ''Minecraft'' world.
The '''world spawn''' is where players initially spawn in the ''Minecraft'' world.


== Spawn ==
== Spawn ==
[[File:Spawning Area.png|thumb|The default respawn area for an individual player. White represents the extent of singleplayer, blue represents multiplayer, and yellow represents the world spawn point.]]
[[File:Spawning Area.png|thumb|The default respawn area for an individual player. White represents the extent of singleplayer, blue represents multiplayer, and yellow represents the world spawn point.]]
{{redirect|respawn_radius|the game rule|Game rule#respawn_radius}}
{{MC/Redirect|respawn_radius|the game rule|Game rule#respawn_radius}}
{{see also|Spawn/Multiplayer details|title1=Multiplayer spawning details}}
{{MC/See also|Spawn/Multiplayer details|title1=Multiplayer spawning details}}


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 [[Minecraft:World_generation#Overworld|climate noise]] samples.
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.
# 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.
# 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.
# 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.
# 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.
# ''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.
# ''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 {{cmd|setworldspawn}} command.
The world spawn point can be changed using the {{MC/Cmd|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 {{gmr|respawn_radius|spawnradius}} game rule or [[Minecraft:Game settings|world setting]]. Upon spawning, the player is placed on the highest topsolid non-waterlogged block, regardless of elevation. {{IN|be}}, it is also possible for a player to spawn underwater and start drowning.<ref>{{bug|MCPE-120237}}</ref> Upon death or return from [[Minecraft:the End]] dimension, the player respawns within this same area unless the player's [[#Individual spawn|individual spawn point]] changed (by using a [[Minecraft:bed]], [[Minecraft:respawn anchor]], or {{cmd|spawnpoint}}).
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 {{gmr|respawn_radius|spawnradius}} game rule or world setting. Upon spawning, the player is placed on the highest topsolid non-waterlogged block, regardless of elevation. {{MC/In|be}}, it is also possible for a player to spawn underwater and start drowning.<ref>{{bug|MCPE-120237}}</ref> Upon death or return from [[Minecraft:the End]] dimension, the player respawns within this same area unless the player's [[#Individual spawn|individual spawn point]] changed (by using a [[Minecraft:bed]], respawn anchor, or {{MC/Cmd|spawnpoint}}).


[[File:Bedrock Edition's OreUI Respawn Radius Interface.png|thumb|''Bedrock Edition''<nowiki/>'s respawn radius setting.]]
[[File:Bedrock Edition's OreUI Respawn Radius Interface.png|thumb|''Bedrock Edition''<nowiki/>'s respawn radius setting.]]
Line 29: Line 29:
There are several ways to determine the world spawn point:
There are several ways to determine the world spawn point:
* A [[Minecraft:compass]] (that hasn't been assigned to a [[Minecraft:lodestone]]) always points to the world spawn point.
* A [[Minecraft:compass]] (that hasn't been assigned to a [[Minecraft:lodestone]]) always points to the world spawn point.
* Doing the [[Minecraft:command]]s {{cmd|gamerule spawnRadius 0}} then {{cmd|kill}}.
* Doing the commands {{MC/Cmd|gamerule spawnRadius 0}} then {{MC/Cmd|kill}}.
* If commands are disabled, remove all the [[Minecraft: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.
* 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 [[Minecraft:exit portal]] in [[Minecraft:the End]] land exactly at the world spawn point. Items thrown in mark the spot in the [[Minecraft: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 [[Minecraft:hardcore mode]].
* Entities, other than players, falling into the exit portal in [[Minecraft:the End]] land exactly at the world spawn point. Items thrown in mark the spot in the [[Minecraft: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 [[Minecraft:Programs and editors/NBTExplorer|NBTExplorer]] or [[Minecraft:MCEdit]], can also be used to find and set the world spawn point.
* Mods or external programs, such as NBTExplorer or MCEdit, can also be used to find and set the world spawn point.


=== Individual spawn ===
=== Individual spawn ===
The individual spawn point of the player can be changed by sleeping in a [[Minecraft:bed]], using a [[Minecraft:respawn anchor]], or using the {{cmd|spawnpoint}} command. If the individual spawning area of the player is obstructed upon death, the player respawns at the world spawn.
The individual spawn point of the player can be changed by sleeping in a [[Minecraft:bed]], using a respawn anchor, or using the {{MC/Cmd|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 {{cmd|setworldspawn}} or {{cmd|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.
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 {{MC/Cmd|setworldspawn}} or {{MC/Cmd|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 {{cmd|/setworldspawn}} or {{cmd|/spawnpoint}}, there must be a two-block-tall space at the spawn point which is free of [[Minecraft:solid blocks]]. However, there are also some solid blocks which do not obstruct spawning, some examples including the [[Minecraft:Heavy Core|heavy core]], [[Minecraft:candles]], and [[Minecraft:Head|player and mob heads]]. [[Minecraft:Lava]] and [[Minecraft:water]] will also obstruct the spawn point despite being non-solid, however, aquatic plants, such as [[Minecraft:kelp]] and [[Minecraft:seagrass]], will not, even when in water. The player will always be spawned in the center of the spawn point block and {{frac|1|10}} 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 [[Minecraft:Magma Block|magma block]]s, 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 [[Minecraft:Fence Gate|fence gate]] will still obstruct the spawn point even though the player has no collision with it.
For the spawn point to be considered unobstructed, certain criteria need to be met. Generally, for a spawn point set via {{MC/Cmd|/setworldspawn}} or {{MC/Cmd|/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 [[Minecraft:Heavy Core|heavy core]], candles, and [[Minecraft:Head|player and mob heads]]. [[Minecraft:Lava]] and [[Minecraft:water]] will also obstruct the spawn point despite being non-solid, however, aquatic plants, such as [[Minecraft:kelp]] and [[Minecraft:seagrass]], will not, even when in water. The player will always be spawned in the center of the spawn point block and {{frac|1|10}} 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 [[Minecraft:Magma Block|magma block]]s, 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 [[Minecraft:Fence Gate|fence gate]] will still obstruct the spawn point even though the player has no collision with it.


{{Collapse
{{Collapse
Line 46: Line 46:
}}
}}
* [[Minecraft:Air]] (air, cave air, and void air)
* [[Minecraft:Air]] (air, cave air, and void air)
* All {{BlockSprite|banners}} [[Minecraft:banner]]s
* All {{MC/Blocksprite|banners}} [[Minecraft:banner]]s
* All {{BlockSprite|beds}} [[Minecraft:bed]]s (in the Overworld only; will apply bed respawn positioning logic)<ref name="respawn">{{bug|MC-278686|||Won't Fix}}</ref>
* All {{MC/Blocksprite|beds}} [[Minecraft:bed]]s (in the Overworld only; will apply bed respawn positioning logic)<ref name="respawn">{{bug|MC-278686|||Won't Fix}}</ref>
* All {{BlockSprite|buttons}} [[Minecraft:button]]s
* All {{MC/Blocksprite|buttons}} [[Minecraft:button]]s
* All {{BlockSprite|candles}} [[Minecraft:candle]]s
* All {{MC/Blocksprite|candles}} [[Minecraft:candle]]s
* All {{BlockSprite|carpets}} {{BlockSprite|moss carpet}} {{BlockSprite|pale moss carpet}} [[Minecraft:carpet]]s (including [[Minecraft:Moss Carpet|moss carpet]] and [[Minecraft:Pale Moss Carpet|pale moss carpet]])
* All {{MC/Blocksprite|carpets}} {{MC/Blocksprite|moss carpet}} {{MC/Blocksprite|pale moss carpet}} [[Minecraft:carpet]]s (including [[Minecraft:Moss Carpet|moss carpet]] and [[Minecraft:Pale Moss Carpet|pale moss carpet]])
* All {{BlockSprite|coral}} {{BlockSprite|coral fans}} {{BlockSprite|dead coral}} {{BlockSprite|dead coral fans}} [[Minecraft:coral plant]]s and [[Minecraft:coral fan]]s (including dead variants)
* All {{MC/Blocksprite|coral}} {{MC/Blocksprite|coral fans}} {{MC/Blocksprite|dead coral}} {{MC/Blocksprite|dead coral fans}} coral plants and coral fans (including dead variants)
* All crops
* All crops
* All {{BlockSprite|flower pot}} [[Minecraft:flower pot]]s
* All {{MC/Blocksprite|flower pot}} flower pots
* All {{BlockSprite|flowers}} [[Minecraft:flower]]s (including two-high flowers)
* All {{MC/Blocksprite|flowers}} [[Minecraft:flower]]s (including two-high flowers)
* All {{BlockSprite|mushrooms}} {{BlockSprite|fungi}} [[Minecraft:mushroom]]s and [[Minecraft:Nether fungi]]
* All {{MC/Blocksprite|mushrooms}} {{MC/Blocksprite|fungi}} [[Minecraft:mushroom]]s and Nether fungi
* All {{BlockSprite|mob heads}} player and mob [[Minecraft:head]]s
* All {{MC/Blocksprite|mob heads}} player and mob [[Minecraft:head]]s
* All {{BlockSprite|end portal}} {{BlockSprite|nether portal}} portals ([[Minecraft:End Portal (block)|End portal]], [[Minecraft:End Gateway (block)|End gateway]], and [[Minecraft:Nether Portal (block)|Nether portal]])
* All {{MC/Blocksprite|end portal}} {{MC/Blocksprite|nether portal}} portals ([[Minecraft:End Portal (block)|End portal]], [[Minecraft:End Gateway (block)|End gateway]], and [[Minecraft:Nether Portal (block)|Nether portal]])
* All {{BlockSprite|pressure plates}} [[Minecraft:pressure plate]]s
* All {{MC/Blocksprite|pressure plates}} pressure plates
* All {{BlockSprite|rail}} {{BlockSprite|powered rail}} [[Minecraft:rail]]s
* All {{MC/Blocksprite|rail}} {{MC/Blocksprite|powered rail}} [[Minecraft:rail]]s
* All {{BlockSprite|saplings}} [[Minecraft:sapling]]s (including [[Minecraft:azalea]]s and  [[Minecraft:Flowering Azalea|flowering azalea]]s, but not [[Minecraft:bamboo]] saplings)
* All {{MC/Blocksprite|saplings}} [[Minecraft:sapling]]s (including [[Minecraft:azalea]]s and  [[Minecraft:Flowering Azalea|flowering azalea]]s, but not [[Minecraft:bamboo]] saplings)
* All {{BlockSprite|signs}} {{BlockSprite|hanging signs}} {{BlockSprite|wall hanging signs}} [[Minecraft:sign]]s (including [[Minecraft:hanging sign]]s and wall hanging signs)
* All {{MC/Blocksprite|signs}} {{MC/Blocksprite|hanging signs}} {{MC/Blocksprite|wall hanging signs}} [[Minecraft:sign]]s (including hanging signs and wall hanging signs)
* All {{BlockSprite|torch}} {{BlockSprite|soul torch}} {{BlockSprite|redstone torch}} torches and wall torches ([[Minecraft:torch]]es, [[Minecraft:Soul Torch|soul torch]]es, and [[Minecraft:Redstone Torch|redstone torch]]es)
* All {{MC/Blocksprite|torch}} {{MC/Blocksprite|soul torch}} {{MC/Blocksprite|redstone torch}} torches and wall torches ([[Minecraft:torch]]es, [[Minecraft:Soul Torch|soul torch]]es, and [[Minecraft:Redstone Torch|redstone torch]]es)
* All {{BlockSprite|vines}} {{BlockSprite|twisting vines}} {{BlockSprite|weeping vines}} {{BlockSprite|cave vines}} vines ([[Minecraft:vines]], [[Minecraft:Twisting Vines|twisting vines]], [[Minecraft:Weeping Vines|weeping vines]], and [[Minecraft:cave vines]])
* All {{MC/Blocksprite|vines}} {{MC/Blocksprite|twisting vines}} {{MC/Blocksprite|weeping vines}} {{MC/Blocksprite|cave vines}} vines ([[Minecraft:vines]], [[Minecraft:Twisting Vines|twisting vines]], [[Minecraft:Weeping Vines|weeping vines]], and cave vines)
* {{BlockSprite|big dripleaf}} [[Minecraft:Big Dripleaf|Big dripleaf]]
* {{MC/Blocksprite|big dripleaf}} [[Minecraft:Big Dripleaf|Big dripleaf]]
* {{BlockSprite|big dripleaf stem}} Big dripleaf stem
* {{MC/Blocksprite|big dripleaf stem}} Big dripleaf stem
* {{BlockSprite|chorus flower}} [[Minecraft:Chorus Flower|Chorus flower]]
* {{MC/Blocksprite|chorus flower}} [[Minecraft:Chorus Flower|Chorus flower]]
* {{BlockSprite|chorus plant}} [[Minecraft:Chorus Plant|Chorus plant]]
* {{MC/Blocksprite|chorus plant}} [[Minecraft:Chorus Plant|Chorus plant]]
* {{BlockSprite|cocoa}} [[Minecraft:Cocoa Beans|Cocoa]]
* {{MC/Blocksprite|cocoa}} [[Minecraft:Cocoa Beans|Cocoa]]
* {{BlockSprite|roots}} [[Minecraft:Crimson Roots|Crimson roots]] and [[Minecraft:Warped Roots|warped roots]]
* {{MC/Blocksprite|roots}} [[Minecraft:Crimson Roots|Crimson roots]] and [[Minecraft:Warped Roots|warped roots]]
* {{BlockSprite|dead bush}} [[Minecraft:Dead Bush|Dead bush]]
* {{MC/Blocksprite|dead bush}} [[Minecraft:Dead Bush|Dead bush]]
* {{BlockSprite|fire}} {{BlockSprite|soul fire}} [[Minecraft:Fire]] and [[Minecraft:Soul Fire|soul fire]]
* {{MC/Blocksprite|fire}} {{MC/Blocksprite|soul fire}} [[Minecraft:Fire]] and [[Minecraft:Soul Fire|soul fire]]
* {{BlockSprite|frogspawn}} [[Minecraft:Frogspawn]]
* {{MC/Blocksprite|frogspawn}} [[Minecraft:Frogspawn]]
* {{BlockSprite|hanging roots}} [[Minecraft:Hanging Roots|Hanging roots]]
* {{MC/Blocksprite|hanging roots}} [[Minecraft:Hanging Roots|Hanging roots]]
* {{BlockSprite|heavy core}} [[Minecraft:Heavy Core|Heavy core]]
* {{MC/Blocksprite|heavy core}} [[Minecraft:Heavy Core|Heavy core]]
* {{BlockSprite|kelp}} [[Minecraft:Kelp]]
* {{MC/Blocksprite|kelp}} [[Minecraft:Kelp]]
* {{BlockSprite|ladder}} [[Minecraft:Ladder]]
* {{MC/Blocksprite|ladder}} [[Minecraft:Ladder]]
* {{BlockSprite|lever}} [[Minecraft:Lever]]
* {{MC/Blocksprite|lever}} [[Minecraft:Lever]]
* {{BlockSprite|light}} [[Minecraft:Light (block)|Light]]
* {{MC/Blocksprite|light}} [[Minecraft:Light (block)|Light]]
* {{BlockSprite|lily pad}} [[Minecraft:Lily Pad|Lily pad]]
* {{MC/Blocksprite|lily pad}} [[Minecraft:Lily Pad|Lily pad]]
* {{BlockSprite|nether sprouts}} [[Minecraft:Nether Sprouts|Nether sprouts]]
* {{MC/Blocksprite|nether sprouts}} [[Minecraft:Nether Sprouts|Nether sprouts]]
* {{BlockSprite|pale hanging moss}} [[Minecraft:Pale Hanging Moss|Pale hanging moss]]
* {{MC/Blocksprite|pale hanging moss}} [[Minecraft:Pale Hanging Moss|Pale hanging moss]]
* {{BlockSprite|pink petals}} [[Minecraft:Pink Petals|Pink petals]]
* {{MC/Blocksprite|pink petals}} [[Minecraft:Pink Petals|Pink petals]]
* {{BlockSprite|powder snow}} [[Minecraft:Powder Snow|Powder snow]]
* {{MC/Blocksprite|powder snow}} [[Minecraft:Powder Snow|Powder snow]]
* {{BlockSprite|redstone comparator}} [[Minecraft:Redstone Comparator|Redstone comparator]]
* {{MC/Blocksprite|redstone comparator}} [[Minecraft:Redstone Comparator|Redstone comparator]]
* {{BlockSprite|redstone repeater}} [[Minecraft:Redstone Repeater|Redstone repeater]]
* {{MC/Blocksprite|redstone repeater}} [[Minecraft:Redstone Repeater|Redstone repeater]]
* {{BlockSprite|resin clump}} [[Minecraft:Resin Clump|Resin clump]]
* {{MC/Blocksprite|resin clump}} [[Minecraft:Resin Clump|Resin clump]]
* {{BlockSprite|respawn anchor}} [[Minecraft:Respawn Anchor|Respawn anchor]] (in the Nether only; will apply respawn anchor respawn positioning logic, even if uncharged)<ref name="respawn"/>
* {{MC/Blocksprite|respawn anchor}} [[Minecraft:Respawn Anchor|Respawn anchor]] (in the Nether only; will apply respawn anchor respawn positioning logic, even if uncharged)<ref name="respawn"/>
* {{BlockSprite|scaffolding}} [[Minecraft:Scaffolding]]
* {{MC/Blocksprite|scaffolding}} [[Minecraft:Scaffolding]]
* {{BlockSprite|sea pickle}} [[Minecraft:Sea Pickle|Sea pickle]]
* {{MC/Blocksprite|sea pickle}} [[Minecraft:Sea Pickle|Sea pickle]]
* {{BlockSprite|seagrass}} [[Minecraft:Seagrass]]
* {{MC/Blocksprite|seagrass}} [[Minecraft:Seagrass]]
* {{BlockSprite|short grass}} {{BlockSprite|tall grass}} [[Minecraft:Short Grass|Short grass]] and [[Minecraft:Tall Grass|tall grass]]
* {{MC/Blocksprite|short grass}} {{MC/Blocksprite|tall grass}} [[Minecraft:Short Grass|Short grass]] and [[Minecraft:Tall Grass|tall grass]]
* {{BlockSprite|small dripleaf}} [[Minecraft:Small Dripleaf|Small dripleaf]]
* {{MC/Blocksprite|small dripleaf}} [[Minecraft:Small Dripleaf|Small dripleaf]]
* {{BlockSprite|snow layer}} [[Minecraft:Snow]] (any number of layers)
* {{MC/Blocksprite|snow layer}} [[Minecraft:Snow]] (any number of layers)
* {{BlockSprite|spore blossom}} [[Minecraft:Spore Blossom|Spore blossom]]
* {{MC/Blocksprite|spore blossom}} [[Minecraft:Spore Blossom|Spore blossom]]
* {{BlockSprite|structure void}} [[Minecraft:Structure Void|Structure void]]
* {{MC/Blocksprite|structure void}} [[Minecraft:Structure Void|Structure void]]
* {{BlockSprite|sugar cane}} [[Minecraft:Sugar Cane|Sugar cane]]
* {{MC/Blocksprite|sugar cane}} [[Minecraft:Sugar Cane|Sugar cane]]
* {{BlockSprite|sweet berry bush}} [[Minecraft:Sweet berry bush]]
* {{MC/Blocksprite|sweet berry bush}} Sweet berry bush
* {{BlockSprite|tripwire}} [[Minecraft:Tripwire]]
* {{MC/Blocksprite|tripwire}} Tripwire
* {{BlockSprite|tripwire hook}} [[Minecraft:Tripwire Hook|Tripwire hook]]
* {{MC/Blocksprite|tripwire hook}} [[Minecraft:Tripwire Hook|Tripwire hook]]
{{Collapse|tail=1}}
{{MC/Collapse|tail=1}}


== History ==
== History ==
=== ''Java Edition'' ===
=== ''Java Edition'' ===
{{HistoryTable
{{HistoryTable
|{{HistoryLine|java infdev}}
|{{MC/HistoryLine|java infdev}}
|{{HistoryLine||20100327|The [[Minecraft:player]] now drops their [[Minecraft:inventory]] and respawns at the spawn location upon death, rather than having to reload the last save.}}
|{{MC/HistoryLine||20100327|The player now drops their [[Minecraft:inventory]] and respawns at the spawn location upon death, rather than having to reload the last save.}}
|{{HistoryLine||20100611|The [[Minecraft: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.}}
|{{MC/HistoryLine||20100611|The 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.}}
|{{HistoryLine|java beta}}
|{{MC/HistoryLine|java beta}}
|{{HistoryLine||1.4_01|[[Minecraft:Bed]]s now act as respawn points for players.}}
|{{MC/HistoryLine||1.4_01|[[Minecraft:Bed]]s now act as respawn points for players.}}
|{{HistoryLine||1.8|dev=1.8 (PAX Prime)|In this version only the player spawns in a [[Minecraft:village]].}}
|{{MC/HistoryLine||1.8|dev=1.8 (PAX Prime)|In this version only the player spawns in a village.}}
|{{HistoryLine|||dev=Pre-release|The player's spawn point now attempts to spawn players on [[Minecraft:grass block]]s, and favors forests, swamps, and taiga biomes.}}
|{{MC/HistoryLine|||dev=Pre-release|The player's spawn point now attempts to spawn players on grass blocks, and favors forests, swamps, and taiga biomes.}}
|{{HistoryLine|java}}
|{{MC/HistoryLine|java}}
|{{HistoryLine||1.1|dev=12w01a|The algorithm now favors forests, plains, taigas, forest hills, and taiga hills biomes.}}
|{{MC/HistoryLine||1.1|dev=12w01a|The algorithm now favors forests, plains, taigas, forest hills, and taiga hills biomes.}}
|{{HistoryLine||1.2.1|dev=12w03a|The algorithm now additionally favors jungles and jungle hills biomes.}}
|{{MC/HistoryLine||1.2.1|dev=12w03a|The algorithm now additionally favors jungles and jungle hills biomes.}}
|{{HistoryLine||1.4.2|dev=12w32a|Added the [[Minecraft:command]] {{cmd|spawnpoint}}.}}
|{{HistoryLine||1.4.2|dev=12w32a|Added the command {{MC/Cmd|spawnpoint}}.}}
|{{HistoryLine||1.7.2|dev=13w43a|Added the command {{cmd|setworldspawn}}.}}
|{{HistoryLine||1.7.2|dev=13w43a|Added the command {{MC/Cmd|setworldspawn}}.}}
|{{HistoryLine||1.8|dev=?|The fallback spawnpoint if no favored blocks can be found is shifted 11.3 blocks, changing some spawnpoints.}}
|{{MC/HistoryLine||1.8|dev=?|The fallback spawnpoint if no favored blocks can be found is shifted 11.3 blocks, changing some spawnpoints.}}
|{{HistoryLine||1.9|dev=15w51a|Added the game rule <code>spawnRadius</code> to control the size of the world spawn area.}}
|{{MC/HistoryLine||1.9|dev=15w51a|Added the game rule <code>spawnRadius</code> to control the size of the world spawn area.}}
|{{HistoryLine||1.15|dev=19w36a|Added the game rule <code>doImmediateRespawn</code>.}}
|{{MC/HistoryLine||1.15|dev=19w36a|Added the game rule <code>doImmediateRespawn</code>.}}
|{{HistoryLine||1.16|dev=20w12a|Added the [[Minecraft:respawn anchor]], allowing players to set their spawn point in the Nether.}}
|{{MC/HistoryLine||1.16|dev=20w12a|Added the respawn anchor, allowing players to set their spawn point in the Nether.}}
|{{HistoryLine||1.18|dev=21w42a|Reworked 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.}}
|{{MC/HistoryLine||1.18|dev=21w42a|Reworked 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.}}
|{{HistoryLine||1.20.5|dev=24w03a|Added the [[Minecraft:game rule]] <code>spawnChunkRadius</code> to control the size of the [[Minecraft:spawn chunks]].
|{{MC/HistoryLine||1.20.5|dev=24w03a|Added the game rule <code>spawnChunkRadius</code> to control the size of the spawn chunks.
|The default spawn chunk propagation is now 3×3 instead of 19×19.}}
|The default spawn chunk propagation is now 3×3 instead of 19×19.}}
|{{HistoryLine||1.21.2|dev=24w40a|The 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).}}
|{{MC/HistoryLine||1.21.2|dev=24w40a|The 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).}}
|{{HistoryLine||1.21.9|dev=25w31a|Removed spawn chunks and the aforementioned game rule.}}
|{{MC/HistoryLine||1.21.9|dev=25w31a|Removed spawn chunks and the aforementioned game rule.}}
|{{HistoryLine|||dev=Pre-Release 1|The world spawn can now be set in a dimension other than the Overworld.}}
|{{MC/HistoryLine|||dev=Pre-Release 1|The world spawn can now be set in a dimension other than the Overworld.}}
}}
}}


=== ''Bedrock Edition'' ===
=== ''Bedrock Edition'' ===
{{HistoryTable
{{HistoryTable
|{{HistoryLine|pocket alpha}}
|{{MC/HistoryLine|pocket alpha}}
|{{HistoryLine||0.1.0|Added the world spawn point. The spawn point is always located in the center of the world (X/Z: 128).}}
|{{MC/HistoryLine||0.1.0|Added the world spawn point. The spawn point is always located in the center of the world (X/Z: 128).}}
|{{HistoryLine||0.9.0|dev=build 1|The player's spawn point is now located in specific biomes in the Infinite world type.
|{{MC/HistoryLine||0.9.0|dev=build 1|The 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.}}
|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.}}
|{{HistoryLine|bedrock}}
|{{MC/HistoryLine|bedrock}}
|{{HistoryLine||1.9.0|dev=beta 1.9.0.0|Added the {{cd|immediateRespawn}} game rule.}}
|{{HistoryLine||1.9.0|dev=beta 1.9.0.0|Added the {{MC/Cd|immediateRespawn}} game rule.}}
|{{HistoryLine||1.12.0|dev=beta 1.12.0.2|Added the game rule {{cd|spawnRadius}} to control the size of the world spawn area.}}
|{{HistoryLine||1.12.0|dev=beta 1.12.0.2|Added the game rule {{MC/Cd|spawnRadius}} to control the size of the world spawn area.}}
|{{HistoryLine||1.16.0|dev=beta 1.16.0.57|The world spawn can now be set in [[Minecraft:the Nether]] using {{cmd|spawnpoint}}.}}
|{{HistoryLine||1.16.0|dev=beta 1.16.0.57|The world spawn can now be set in [[Minecraft:the Nether]] using {{MC/Cmd|spawnpoint}}.}}
|{{HistoryLine||1.21.60|dev=Preview 1.21.50.20|The 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).}}
|{{MC/HistoryLine||1.21.60|dev=Preview 1.21.50.20|The 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).}}
|{{HistoryLine||1.21.100|dev=Preview 1.21.100.20|The world spawn can now be set in [[Minecraft:the End]] using {{cmd|spawnpoint}}.}}
|{{HistoryLine||1.21.100|dev=Preview 1.21.100.20|The world spawn can now be set in [[Minecraft:the End]] using {{MC/Cmd|spawnpoint}}.}}
}}
}}


=== Legacy Console Edition ===
=== Legacy Console Edition ===
{{HistoryTable
{{HistoryTable
|{{HistoryLine|console}}
|{{MC/HistoryLine|console}}
|{{HistoryLine||xbox=TU1|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|Added the world spawn point.}}
|{{MC/HistoryLine||xbox=TU1|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|Added the world spawn point.}}
|{{HistoryLine||xbox=TU12|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|The player's spawn point can now also be located in jungle and jungle hills biomes.}}
|{{MC/HistoryLine||xbox=TU12|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|The player's spawn point can now also be located in jungle and jungle hills biomes.}}
|{{HistoryLine||xbox=?|xbone=?|ps3=?|psvita=?|ps4=?|wiiu=?|switch=1.0.1|Added a [[Minecraft:host options|host option]] that allows players to change the world spawn point.{{info needed|Was this added in TU19?}}}}
|{{HistoryLine||xbox=?|xbone=?|ps3=?|psvita=?|ps4=?|wiiu=?|switch=1.0.1|Added a host option that allows players to change the world spawn point.{{MC/Info needed|Was this added in TU19?}}}}
|{{HistoryLine||xbox=none|xbone=none|ps3=none|psvita=none|ps4=1.88|wiiu=none|switch=none|Added the Immediate Respawn host option.}}
|{{MC/HistoryLine||xbox=none|xbone=none|ps3=none|psvita=none|ps4=1.88|wiiu=none|switch=none|Added the Immediate Respawn host option.}}
}}
}}


== Trivia ==
== Trivia ==
* The farthest possible spawnpoint from (0,0) under Euclidean distance is (1599, -2160).
* The farthest possible spawnpoint from (0,0) under Euclidean distance is (1599, -2160).
* Developer [[Minecraft:Ulraf]] in a livestream expressed the idea of giving the [[Minecraft: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 [[Minecraft:command]]s, and that there weren't plans to add this function to vanilla.<ref> https://youtu.be/2cxUNoWNy50?t=11284</ref>
* 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.<ref> https://youtu.be/2cxUNoWNy50?t=11284</ref>


== Issues ==
== Issues ==
{{issue list}}
{{MC/Issue list}}


== Gallery ==
== Gallery ==
Line 169: Line 169:


== References ==
== References ==
{{reflist}}
{{MC/Reflist}}


== External links ==
== External links ==
Line 175: Line 175:


== Navigation ==
== Navigation ==
{{Navbox gameplay}}
{{MC/Navbox gameplay}}


[[Category:Gameplay]]
[[Category:Gameplay]]


[[Minecraft:cs:Výskyt]]
cs:Výskyt
[[Minecraft:de:Spawn]]
de:Spawn
[[Minecraft:es:Aparición]]
es:Aparición
[[Minecraft:fr:Apparition]]
fr:Apparition
[[Minecraft:ja:スポーン]]
ja:スポーン
[[Minecraft:ko:생성]]
ko:생성
[[Minecraft:nl:Spawnen]]
nl:Spawnen
[[Minecraft:pl:Odradzanie]]
pl:Odradzanie
[[Minecraft:pt:Geração]]
pt:Geração
[[Minecraft:ru:Спаун]]
ru:Спаун
[[Minecraft:uk:Поява]]
uk:Поява
[[Minecraft:zh:生成]]
zh:生成

Latest revision as of 21:08, 9 April 2026


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

Spawn

File:Spawning Area.png
The default respawn area for an individual player. White represents the extent of singleplayer, blue represents multiplayer, and yellow represents the world spawn point.

Template:Hatnote {{#vardefine:params|0 }}Template:Hatnote

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

  1. REDIRECT Template:Command

Template:Redr 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 Template:Gmr game rule or world setting. Upon spawning, the player is placed on the highest topsolid non-waterlogged block, regardless of elevation. in Template:Editions, it is also possible for a player to spawn underwater and start drowning.<ref>Template:Bug</ref> Upon death or return from Minecraft:the End dimension, the player respawns within this same area unless the player's individual spawn point changed (by using a Minecraft:bed, respawn anchor, or

  1. REDIRECT Template:Command

Template:Redr).

File:Bedrock Edition's OreUI Respawn Radius Interface.png
Bedrock Edition's respawn radius setting.

Template:Calculator

Adventure mode

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

There are several ways to determine the world spawn point:

  1. REDIRECT Template:Command

Template:Redr then

  1. REDIRECT Template:Command

Template:Redr.

  • 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 Minecraft:the End land exactly at the world spawn point. Items thrown in mark the spot in the Minecraft: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

The individual spawn point of the player can be changed by sleeping in a Minecraft:bed, using a respawn anchor, or using the

  1. REDIRECT Template:Command

Template:Redr 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

  1. REDIRECT Template:Command

Template:Redr or

  1. REDIRECT Template:Command

Template:Redr 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

  1. REDIRECT Template:Command

Template:Redr or

  1. REDIRECT Template:Command

Template:Redr, 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. Minecraft:Lava and Minecraft:water will also obstruct the spawn point despite being non-solid, however, aquatic plants, such as Minecraft:kelp and Minecraft:seagrass, will not, even when in water. The player will always be spawned in the center of the spawn point block and Template:Frac 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.

Template:Collapse

  1. redirect Template:BlockSprite

Template:Redr Minecraft:banners

  • All
  1. redirect Template:BlockSprite

Template:Redr Minecraft:beds (in the Overworld only; will apply bed respawn positioning logic)<ref name="respawn">Template:Bug</ref>

  • All
  1. redirect Template:BlockSprite

Template:Redr Minecraft:buttons

  • All
  1. redirect Template:BlockSprite

Template:Redr Minecraft:candles

  • All
  1. redirect Template:BlockSprite

Template:Redr

  1. redirect Template:BlockSprite

Template:Redr

  1. redirect Template:BlockSprite

Template:Redr Minecraft:carpets (including moss carpet and pale moss carpet)

  • All
  1. redirect Template:BlockSprite

Template:Redr

  1. redirect Template:BlockSprite

Template:Redr

  1. redirect Template:BlockSprite

Template:Redr

  1. redirect Template:BlockSprite

Template:Redr coral plants and coral fans (including dead variants)

  • All crops
  • All
  1. redirect Template:BlockSprite

Template:Redr flower pots

  • All
  1. redirect Template:BlockSprite

Template:Redr Minecraft:flowers (including two-high flowers)

  • All
  1. redirect Template:BlockSprite

Template:Redr

  1. redirect Template:BlockSprite

Template:Redr Minecraft:mushrooms and Nether fungi

  • All
  1. redirect Template:BlockSprite

Template:Redr player and mob Minecraft:heads

  • All
  1. redirect Template:BlockSprite

Template:Redr

  1. redirect Template:BlockSprite

Template:Redr portals (End portal, End gateway, and Nether portal)

  • All
  1. redirect Template:BlockSprite

Template:Redr pressure plates

  • All
  1. redirect Template:BlockSprite

Template:Redr

  1. redirect Template:BlockSprite

Template:Redr Minecraft:rails

  • All
  1. redirect Template:BlockSprite

Template:Redr Minecraft:saplings (including Minecraft:azaleas and flowering azaleas, but not Minecraft:bamboo saplings)

  • All
  1. redirect Template:BlockSprite

Template:Redr

  1. redirect Template:BlockSprite

Template:Redr

  1. redirect Template:BlockSprite

Template:Redr Minecraft:signs (including hanging signs and wall hanging signs)

  • All
  1. redirect Template:BlockSprite

Template:Redr

  1. redirect Template:BlockSprite

Template:Redr

  1. redirect Template:BlockSprite

Template:Redr torches and wall torches (Minecraft:torches, soul torches, and redstone torches)

  • All
  1. redirect Template:BlockSprite

Template:Redr

  1. redirect Template:BlockSprite

Template:Redr

  1. redirect Template:BlockSprite

Template:Redr

  1. redirect Template:BlockSprite

Template:Redr vines (Minecraft:vines, twisting vines, weeping vines, and cave vines)

  1. redirect Template:BlockSprite

Template:Redr Big dripleaf

  1. redirect Template:BlockSprite

Template:Redr Big dripleaf stem

  1. redirect Template:BlockSprite

Template:Redr Chorus flower

  1. redirect Template:BlockSprite

Template:Redr Chorus plant

  1. redirect Template:BlockSprite

Template:Redr Cocoa

  1. redirect Template:BlockSprite

Template:Redr Crimson roots and warped roots

  1. redirect Template:BlockSprite

Template:Redr Dead bush

  1. redirect Template:BlockSprite

Template:Redr

  1. redirect Template:BlockSprite

Template:Redr Minecraft:Fire and soul fire

  1. redirect Template:BlockSprite

Template:Redr Minecraft:Frogspawn

  1. redirect Template:BlockSprite

Template:Redr Hanging roots

  1. redirect Template:BlockSprite

Template:Redr Heavy core

  1. redirect Template:BlockSprite

Template:Redr Minecraft:Kelp

  1. redirect Template:BlockSprite

Template:Redr Minecraft:Ladder

  1. redirect Template:BlockSprite

Template:Redr Minecraft:Lever

  1. redirect Template:BlockSprite

Template:Redr Light

  1. redirect Template:BlockSprite

Template:Redr Lily pad

  1. redirect Template:BlockSprite

Template:Redr Nether sprouts

  1. redirect Template:BlockSprite

Template:Redr Pale hanging moss

  1. redirect Template:BlockSprite

Template:Redr Pink petals

  1. redirect Template:BlockSprite

Template:Redr Powder snow

  1. redirect Template:BlockSprite

Template:Redr Redstone comparator

  1. redirect Template:BlockSprite

Template:Redr Redstone repeater

  1. redirect Template:BlockSprite

Template:Redr Resin clump

  1. redirect Template:BlockSprite

Template:Redr Respawn anchor (in the Nether only; will apply respawn anchor respawn positioning logic, even if uncharged)<ref name="respawn"/>

  1. redirect Template:BlockSprite

Template:Redr Minecraft:Scaffolding

  1. redirect Template:BlockSprite

Template:Redr Sea pickle

  1. redirect Template:BlockSprite

Template:Redr Minecraft:Seagrass

  1. redirect Template:BlockSprite

Template:Redr

  1. redirect Template:BlockSprite

Template:Redr Short grass and tall grass

  1. redirect Template:BlockSprite

Template:Redr Small dripleaf

  1. redirect Template:BlockSprite

Template:Redr Minecraft:Snow (any number of layers)

  1. redirect Template:BlockSprite

Template:Redr Spore blossom

  1. redirect Template:BlockSprite

Template:Redr Structure void

  1. redirect Template:BlockSprite

Template:Redr Sugar cane

  1. redirect Template:BlockSprite

Template:Redr Sweet berry bush

  1. redirect Template:BlockSprite

Template:Redr Tripwire

  1. redirect Template:BlockSprite

Template:Redr Tripwire hook

History

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Legacy Console Edition

Template:HistoryTable

Trivia

  • 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.<ref> https://youtu.be/2cxUNoWNy50?t=11284</ref>

Issues

Script error: No such module "Issue list".

Gallery

Screenshots

References

<references group="">

 </references>

External links

Navigation

General mechanics
Technical mechanics
Survival
Combat

More

Environment

More

Movement
User interface
Visuals
Removed
Unintended

cs:Výskyt de:Spawn es:Aparición fr:Apparition ja:スポーン ko:생성 nl:Spawnen pl:Odradzanie pt:Geração ru:Спаун uk:Поява zh:生成