mojira.dev
MC-124901

World spawn is located elsewhere than previously

The bug

If you generate a new world with the same seed of a world you generated in a previous version, the world spawn will be located somewhere else.

How to reproduce

  1. Generate a new world in a previous version (e.g. 1.12.2) and use an easy to remember seed (different from 0), for example 1

  2. Generate a new world with the same seed in the latest snapshot

  3. The world spawn point will be at different places. In case of seed 1, in 1.12.2 it will be located at 164 64 256 and in the snapshot at -172 64 206

Linked issues

Comments 6

It's becouse of world gen code changes.

Since MC-124950 and MC-124950 are WAI, this probably should be too.

Rename this it suppose to say player spawn coords are not the same as previous versions

It has nothing to do with the world new generator the gen is the same except ocean decorators

@unknown Yes, it does have to do with the world generator. The generator decides where the world spawn is located. The world spawn is the same for every world with the same seed.
Player spawn coords is not the same as the world spawn. The world spawn is basically the location in a world where you spawn when it is first generated or when you die without having a valid bed spawn.

Also, there are more changes then just ocean decorations, as described in MC-125037, MC-124950 and MC-124960. The latter ones are intentional changes, tho.

Affects 18w22c

ProfMobius (Thomas Guimbretiere)

The spawn lookup code was reworked to be more reliable and not generate unneeded chunks and not spawn the player in water/lava or midair.

 

Having the spawn point shifted is a normal side effect of those changes.

NeunEinser

migrated

Confirmed

world-generation, world-spawn

Minecraft 18w06a, Minecraft 18w07c, Minecraft 18w08b

Retrieved