mojira.dev
MC-1820

Cannot create world with seed 0

If 0 is entered as the seed in the world generation screen, Minecraft will choose a random seed instead.

Comments 13

CubeTheThird

Can confirm

Dustin Dowell

I wouldn't call this a bug. I think it's intentional. What does minecraft have to work with if you give it nothing? Zero probably breaks the algorithm that's used to generate the world. I know nothing of algoritims or anything but.. Zero multiplied by anything is zero.

CubeTheThird

It is certainly possible that the algorithm doesn't work with 0, but as a computer scientist, I can almost certainly say that if it works with any other 19 digit numbers, it should also work with 0. I've also tried this with -0, and 0000000000000000000, and the behaviour does not change.

Simons Mith

In multiplayer games the seed is hidden (and displayed as zero) so that you can't recreate a server world offline, and then loot the online world for stuff you found in the offline version. Given this, forbidding an actual seed of zero makes some sense, even though using seed 0 in an single player game would be harmless.

CubeTheThird

Yes that would make sense.

3 more comments
Jeuv

I think this is a bug, creating a world and then changing the seed to 0 with an NBT editor works just fine.

bob

This is a bug, there is a difference between a valid seed (which is any signed 64 bit number including 0) and a 'null' seed which should make it generate based on system time.

marcono1234

Duplicates MC-44944

Mateus Pereira Milbradt

If you want to get the seed 0, type "creashaks organzine". I also found a pink sheep on this seed.

muzikbike

Does 22w03a allow this to happen?

Alex Campbell

(Unassigned)

Unconfirmed

Minecraft 1.4.2

Retrieved