mojira.dev
MC-142883

Player able to spawn in the middle of the ocean

The bug (maybe?)

On at least one world seed, the default spawn point of the player is in the middle of an ocean with no land in sight. It is possible that this is not unintended behavior, but I find it unlikely that the game would at least check to make sure the player does not spawn on land.

How to reproduce

  1. Open up Minecraft

  2. Create a new world with the seed 4015

  3. Generate the world

Observed result

The player spawns in the middle of the ocean.

Expected result

The player spawns on land.

Related issues

MC-147614 Minecraft spawning bug issue. MC-164249 Spawning in the ocean MC-198750 Large Biome world generation spawns player in ocean MC-236828 Ability to spawn in the ocean without any block MC-236853 Spawned in the middle of the ocean, no land nearby MC-236943 Player spawns in ocean sometimes MC-237269 Seed error MC-237463 Spawn in the middle of the ocean MC-237777 World spawn in the middle of an ocean MC-238010 Spawned in a New World with Zero Land at Spawn MC-238706 To many corrupted seeds MC-238973 Unable to find spawn biome - Spawn in water MC-260987 i spawned in water with the nearest island 100~ blocks away the seed is -4412391087823086973 MC-262072 Spawning in the middle of an ocean is still possible, even though 21w42a's new world spawn selection algorithm was supposed to fix this. MC-275388 Players can spawn in the middle of the ocean

Attachments

Comments

migrated
[media]
migrated

Please do not mark unreleased versions as affected.
You don't have access to them yet.

NeunEinser

Usually Minecraft tries to put the worldspawn to some form of land, even if it's only a tiny island. What probably happened here, is that Minecraft couldn't find any land in the area it wanted to put the spawnpoint in. This might very well be the intended outcome (Try to find land, if there isn't any just default to whatever position).

migrated

Confirmed in 1.14.1... Make a "Large Biomes" world with the seed -904606106. I don't consider it a bug though, I like from time to time this kind of spawn, especially with the new ocean content from 1.13 upwards.

 

violine1101

This is not really a bug. If there are no blocks to spawn on, you'll need to spawn in an invalid location, otherwise the game would need to search for a valid spawning spot indefinitely and might be able to enter an infinite loop.

COMETC2021A1

For some specific seeds, etc: 414929, you can spawn in the middle of the ocean and couldn't see any land with render distance 32 chunks. (This seed has no land except mushroom fields from (-1024,-1024) to (1024,1024))

In Large Biomes, it could be even worse, ~13% seeds will spawn you in an ocean, including seed 0, and some seeds you need to swim thousands of blocks to find land.

COMETC2021A1

Still in 24w40a with seed 20337 in Large Biomes

COMETC2021A1

Still in 1.21.2-pre3 with seed 12345702767680896 (Normal Type World)

Minecraft386882

This is not exactly a bug because every seed is randomly generated, and if a seed has an ocean with only a small island at the spawn point, the game has to spawn the player there, or it will search for a long time, only to spawn the player thousands of blocks from (0,0). It may also be intended behavior as having to swim/boat to land is just the same as exploring to find a biome or structure. Plus, the spawn algorithm has been changed in 1.21.2, so that the player is 20x more unlikely to spawn in the middle of an ocean. 

migrated

(Unassigned)

Confirmed

Platform

Important

Player, World generation

Minecraft 1.13.2, Minecraft 19w03c, Minecraft 19w07a, Minecraft 19w08b, Minecraft 1.14.1, 19w42a, 1.21.1, 24w33a, 24w45a

Retrieved