Can't find world in Single Player, but save file is in .minecraft saves [duplicate]

Solution 1:

This usually happens if the world is corrupted. There is no way to know what could be salvaged, but you can try the following:

  1. Delete or rename level.dat (it is corrupted and this is why it is not showing in the list of worlds).
  2. Rename level.dat_old (this is a backup file) to level.dat.
  3. Start Minecraft and see if the world appears. If yes, good on you.

If the above doesn't work it means the backup file is also corrupted. There is probably no way to recover:

  • world seed
  • world spawn and your player spawn (bed)
  • player location
  • player inventory

But usually the buildings are the most important part of the world and there is still more we can do to try to recover them! Try the following:

  1. Create a new world with the same name as the old one.
  2. Copy its level.dat file over the corrupted file.
  3. Start Minecraft (you will see both the old and the new worlds now) and open the old world. You'll probably appear in a different place (may even be inside a block). Look around to find your buildings.
  4. If all looks good and you want to continue playing in this world keep in mind that you'll have terrain generation boundaries, because the world seed is now different.