mojira.dev
MCPE-18739

Entering a seed past a 32bit integer truncates it to be under the 32 bit integer limit

MCPE 1.6.100.60 still uses 32bit seeds, so 1.6.100.60 is still affected.

When entering a seed integer past 2147483647 or -2147483648, Minecraft changes the seed to be completely different.

What should happen: Entering a integer up to -9223372036854775808 or 9223372036854775807 should generate a seed with that integer. (example: seed:52968166106)

This bug is not fixed in MCPE 1.2 and will corrupt a console world's seed transferred to this version from a 64bit integer to a 32bit one.

What happened instead: Minecraft changes the seed to a completely different value. (seed 52968166106 always returns seed 1428558554)

This is problematic as PC and Consoles use a 64bit terrain gen and seeds and PE uses only a 32bit. It can change the seed of a console world when it's moved from CE to PE. And an unnecessary additional difference between PC/CE and PE seeds.

Recreating the bug:

1. Create a new world

2. Enter a integer in the seed box past 2147483647 or -2147483648

3. Generate the world, it doesn't matter whether it's on old or infinite.

4. Exit the world and then click on "edit world", notice the seed has been changed.

Linked issues

Attachments

Comments 8

SuperGeniusZeb

Sounds related to MCPE-7091... seeds are only saved as 32-bit numbers, so numbers outside of the 32-bit range are either being truncated or simply overflow.

Michael

Same issue here on iPhone X please update to 64bit int

Delvin4519

I don't think it should marked as "working as intended". Both PC and Console use 64bit seeds. So when someone transfers a world from console, their seed ends up being changed. There are similarities between terrain gen on all consoles. It's frustrating how a seed on PC can work on console but there is no PE equivalent seed. PE only has 0.00000002% of possible seeds from PE or PC so that limits diversity of seeds. (PE seed equivalent). It should be marked as a bug until the devs switch PE over to a 64bit terrain gen from a 32bit.

Delvin4519
muzikbike

I would strongly recommend reopening this as per MC-236650 and its resulting parity implications.

Sniper1.1

Should this be reopened? Because this really gets in the way of 1.18’s seed parity idea.

mooing_cowmilk

Minecraft Beta - 1.18.20.21 has added 2^64 seeds to bedrock so the Resolution of Works As Intended is no longer true and should closed as fixed.

https://feedback.minecraft.net/hc/en-us/articles/4423151445901

[Mod] EVGENSYPERPRO

@unknown: problem "cloned" MCPE-148168

Delvin4519

(Unassigned)

Unconfirmed

Windows

Windows 10 Pro 64bit Version:14393.447

world-generation

1.13.0.1 Beta, 1.12.0.14 Beta, 1.16.100.53 Beta, 1.16.100.52 Beta, 1.16.100.51 Beta, ..., 1.12.0.3 Beta, 1.12.0.6 Beta, 1.13.0.4 Beta, 1.13.0.2 Beta, 1.14.1.2 Beta

Retrieved