Minecraft:World spawn
More actions
|
For the {{{Description}}} of the same name, see [[{{{Destination}}}]]. |
The world spawn is where Minecraft:players initially spawn in the Minecraft world.
Spawn
Template:Redirect Template:See also
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 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.
The world spawn point can be changed using the Template:Cmd 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. Template:IN, 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, Minecraft:respawn anchor, or Template:Cmd).
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:
- A Minecraft:compass (that hasn't been assigned to a Minecraft:lodestone) always points to the world spawn point.
- Doing the Minecraft:commands Template:Cmd then Template:Cmd.
- 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.
- 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.
- Mods or external programs, such as NBTExplorer or Minecraft: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 Minecraft:respawn anchor, or using the Template:Cmd 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 Template:Cmd or Template:Cmd 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 Template:Cmd or Template:Cmd, 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 heavy core, Minecraft: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.
- Minecraft:Air (air, cave air, and void air)
- All Template:BlockSprite Minecraft:banners
- All Template:BlockSprite Minecraft:beds (in the Overworld only; will apply bed respawn positioning logic)<ref name="respawn">Template:Bug</ref>
- All Template:BlockSprite Minecraft:buttons
- All Template:BlockSprite Minecraft:candles
- All Template:BlockSprite Template:BlockSprite Template:BlockSprite Minecraft:carpets (including moss carpet and pale moss carpet)
- All Template:BlockSprite Template:BlockSprite Template:BlockSprite Template:BlockSprite Minecraft:coral plants and Minecraft:coral fans (including dead variants)
- All crops
- All Template:BlockSprite Minecraft:flower pots
- All Template:BlockSprite Minecraft:flowers (including two-high flowers)
- All Template:BlockSprite Template:BlockSprite Minecraft:mushrooms and Minecraft:Nether fungi
- All Template:BlockSprite player and mob Minecraft:heads
- All Template:BlockSprite Template:BlockSprite portals (End portal, End gateway, and Nether portal)
- All Template:BlockSprite Minecraft:pressure plates
- All Template:BlockSprite Template:BlockSprite Minecraft:rails
- All Template:BlockSprite Minecraft:saplings (including Minecraft:azaleas and flowering azaleas, but not Minecraft:bamboo saplings)
- All Template:BlockSprite Template:BlockSprite Template:BlockSprite Minecraft:signs (including Minecraft:hanging signs and wall hanging signs)
- All Template:BlockSprite Template:BlockSprite Template:BlockSprite torches and wall torches (Minecraft:torches, soul torches, and redstone torches)
- All Template:BlockSprite Template:BlockSprite Template:BlockSprite Template:BlockSprite vines (Minecraft:vines, twisting vines, weeping vines, and Minecraft:cave vines)
- Template:BlockSprite Big dripleaf
- Template:BlockSprite Big dripleaf stem
- Template:BlockSprite Chorus flower
- Template:BlockSprite Chorus plant
- Template:BlockSprite Cocoa
- Template:BlockSprite Crimson roots and warped roots
- Template:BlockSprite Dead bush
- Template:BlockSprite Template:BlockSprite Minecraft:Fire and soul fire
- Template:BlockSprite Minecraft:Frogspawn
- Template:BlockSprite Hanging roots
- Template:BlockSprite Heavy core
- Template:BlockSprite Minecraft:Kelp
- Template:BlockSprite Minecraft:Ladder
- Template:BlockSprite Minecraft:Lever
- Template:BlockSprite Light
- Template:BlockSprite Lily pad
- Template:BlockSprite Nether sprouts
- Template:BlockSprite Pale hanging moss
- Template:BlockSprite Pink petals
- Template:BlockSprite Powder snow
- Template:BlockSprite Redstone comparator
- Template:BlockSprite Redstone repeater
- Template:BlockSprite Resin clump
- Template:BlockSprite Respawn anchor (in the Nether only; will apply respawn anchor respawn positioning logic, even if uncharged)<ref name="respawn"/>
- Template:BlockSprite Minecraft:Scaffolding
- Template:BlockSprite Sea pickle
- Template:BlockSprite Minecraft:Seagrass
- Template:BlockSprite Template:BlockSprite Short grass and tall grass
- Template:BlockSprite Small dripleaf
- Template:BlockSprite Minecraft:Snow (any number of layers)
- Template:BlockSprite Spore blossom
- Template:BlockSprite Structure void
- Template:BlockSprite Sugar cane
- Template:BlockSprite Minecraft:Sweet berry bush
- Template:BlockSprite Minecraft:Tripwire
- Template:BlockSprite Tripwire hook
History
Java Edition
Bedrock Edition
Legacy Console Edition
Trivia
- 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:commands, and that there weren't plans to add this function to vanilla.<ref> https://youtu.be/2cxUNoWNy50?t=11284</ref>
Issues
Gallery
Screenshots
-
An ideal spawn location, with trees and animals nearby.
-
A non-ideal spawn location. In a desert, unless a player finds an exposed mineshaft, it is much more difficult to find wood.
-
A spawn location on an island, with trees nearby.
-
A dark forest's dense foliage can protect hostile mobs from sun, making this biome dangerous. Note the village and ruined portal on the left.
References
External links
- How spawning, dying and respawning works in Minecraft – Minecraft.net on September 22, 2023
Minecraft:cs:Výskyt Minecraft:de:Spawn Minecraft:es:Aparición Minecraft:fr:Apparition Minecraft:ja:スポーン Minecraft:ko:생성 Minecraft:nl:Spawnen Minecraft:pl:Odradzanie Minecraft:pt:Geração Minecraft:ru:Спаун Minecraft:uk:Поява Minecraft:zh:生成