Retrieve my Minecraft world after forcing to shut down my PC [duplicate]

Solution 1:

After a LOT of messing around with the save files, I found out a few things:

  • Minecraft does not detect a file that is just there without any data as a save file
  • The world will appear in-game only it it contains the level.dat file with certain data

    • There must be a Data storage with a version tag with the value 19133
  • You can have whatever other junk files you want there, I even tried creating files with names and data that made no sense, and it still worked

I managed to launch a world that looked like this:

srsly

It turned out to work as a brand new world.

So make sure your save file contains this data. I used NBTExplorer for accessing and editing the .dat file.