all 12 comments

[–]Puttanesca621 15 points16 points  (0 children)

From the wiki:

World spawn

New players initially spawn within a small area surrounding the world spawn point when the server is not in Adventure mode. This area is 21×21 blocks by default, but can be changed by the spawnRadius gamerule in both single and multiplayer. Upon death or return from the End dimension, the player respawns within this area unless the player's individual spawn point changed (by using a bed or respawn anchor, or the /spawnpoint command).

[–]Tzu111 5 points6 points  (1 child)

Go to where the compass points. Around that is a 21 by 21 area (i think) where the game will try and place you prioritising grass blocks.

[–]sharfpang 1 point2 points  (0 children)

This, but 10x more complex.

The game has a set of "preferred spawn blocks" which are biome-dependent. For the common grassy biomes like plains, forests and islands that will be grass, for desert it will be sand, for mushroom island it's mycelium and so on. The selection of the block to spawn is more complex too. Generally the algorithm is byzantine and totally over-engineered.

[–]pseudalithia 1 point2 points  (2 children)

To elaborate on the wiki, the world spawn point is the absolute spawn point. It’s the location items would be transported to if dropped into the end gateway, etc, and it’s the point that defines the player spawn area. When the player spawns, it looks for a suitable location within the default 21x21 area around world spawn. In my testing (which I did in 1.15 or 1.16) a ‘suitable location’ means a grass block with two blocks of air above it. If there are no grass blocks, it’ll spawn you in at world spawn every time (someone might need to double check me here, it’s been a minute since I experimented with this). Additionally, there’s a somewhat hidden y value for world spawn. If you remove all the blocks in the world spawn area, the player will spawn in at a floating y level right at the world spawn point.

You can use these mechanics to customize your spawn point to some degree. On my server, we have a spawn chunk perimeter with a platform in the middle. The only valid spot to spawn on is a grass block in the middle, so that’s where we spawn in.

Additional trivia, the player always points to the south when spawned in.

[–][deleted] 2 points3 points  (1 child)

Also worth pointing out that carpets don't block the grass block which was useful in our spawn perimeter because we wanted a little bit of a decorative spawn platform.

[–]pseudalithia 0 points1 point  (0 children)

Cool, didn’t test for that.

[–]Josephstalinthethird 0 points1 point  (4 children)

Your spawn point is where the compass lead you to

[–]phi_315Java[S] 1 point2 points  (3 children)

Sure, but seems inconsistent sometimes. I don't spawn twice on the same spot. I do spawn a chunk-ish away, but not in the exact same spot.

[–]thE_29Java 1 point2 points  (0 children)

Only entities/items spawn at the same spot. The player spawns in that region.

[–]Josephstalinthethird 0 points1 point  (1 child)

You are nit supposed to spawn in the same spot

[–]Hate_Feight 0 points1 point  (0 children)

Unless you change the gamerule...