Recover a minecraft seed
The world I've been playing crashed recently and took the level.dat with it, so I've recreated it, however I have no idea what my seed used to be, and I really don't want to end up with another corrupted game world from exploring with the wrong seed.
How can I recover the seed which was used to generate my world?
Solution 1:
This can be done using a third party tool, NBTExplorer which reads the data files used by Minecraft:
-
Open the save folder for the world, e.g.
.minecraft\saves\MyWorld
-
Find the file called
level.dat_mcr
and copy it out of the save folder -
Rename the file to
level.dat
-
Open it with NBTExplorer
-
Expand the 'Data' tab by clicking on the
[+]
button next to it. -
Double click on the
RandomSeed
key, and you'll get a popup window containing the original seed for the level, like this: -
Copy this value into the same place in the new
level.dat
for your save file, then save and close it.
Your new level.dat file will then have the same seed as the old one.