Well i didn't lose EVERYTHING, but my game did crash. I had been playing on this new world all morning and i made a lot of progress on this specific world. Just now 15 minutes ago, my game crashed and i thought 'whoah, okay'. I didn't really mind, i just proceeded log back on and carry on doing what i was doing. But when i visited my world list, the world i was playing on was gone. So now im writing this thread cause im a bit salty and im curious if there's any way to fix this.
THank you for your reply, and i get what you're saying! However, when i create this new world, copy the session and level files from the one i created this morning into its folder (i deleted the ones that were already there in the new world folder), the new world also gets removed from the list. In other words, the new world is accessible until i copy those files into its folder. Am i doing something wrong?
It sounds like you are taking the files from the corrupted world and placing them into the new world - you want to do the opposite, and even if this did work you'd lose all of your progress (except for your inventory) since level.dat simply stores some basic information about the world and your inventory (the important stuff is inside the "region" folder).
Also, you can usually just create a new world with the same name as the corrupted world and it will overwrite the corrupted level.dat but reuse the region files and possibly even the player.dat file (which also stores your inventory but is not normally used in singleplayer). The main issue is recovering the world seed, especially if you created a world with a random seed since any changes will result in a mismatch between old and new terrain.
Another way is to rename the file level.dat_old to level.dat, replacing the original file, and hopefully it isn't corrupted (this is a backup which may be a minute behind but usually that doesn't matter). You may want to try this first since you can recover your inventory and the world seed. Either way, it is a good idea to make a backup of your world before trying to fix it.
If neither of those work or the world does load but crashes or lags a lot or otherwise doesn't run properly there may be corrupted chunks, in which case you are best off posting in this thread.
Renaming level.dat_old to level.dat may revert your inventory by up to a minute prior to the crash but otherwise everything should be the same and you probably wouldn't even notice unless you just enchanted something (note - the game saves the "seed" for enchantments in level.dat so you'll be able to re-enchant and get the same enchantments); the game autosaves quite often and makes a backup of level.dat each time. It is possible that both files could be corrupted, in which case you may want to post in the corrupted save recovery thread; otherwise, you can try making a new world with the same name (use the name of the folder if you renamed it at any point) and seed, which should overwrite the corrupted level.dat files and reuse the chunks and other data files (hopefully they aren't corrupted; level.dat is far more likely to be since it is frequently saved). You will lose your inventory (including experience and Ender chest) and spawn point (bed) though if you do the latter, which may not matter depending on what you had or how far you were from world spawn.
Well i didn't lose EVERYTHING, but my game did crash. I had been playing on this new world all morning and i made a lot of progress on this specific world. Just now 15 minutes ago, my game crashed and i thought 'whoah, okay'. I didn't really mind, i just proceeded log back on and carry on doing what i was doing. But when i visited my world list, the world i was playing on was gone. So now im writing this thread cause im a bit salty and im curious if there's any way to fix this.
:-)
THank you for your reply, and i get what you're saying! However, when i create this new world, copy the session and level files from the one i created this morning into its folder (i deleted the ones that were already there in the new world folder), the new world also gets removed from the list. In other words, the new world is accessible until i copy those files into its folder. Am i doing something wrong?
It sounds like you are taking the files from the corrupted world and placing them into the new world - you want to do the opposite, and even if this did work you'd lose all of your progress (except for your inventory) since level.dat simply stores some basic information about the world and your inventory (the important stuff is inside the "region" folder).
Also, you can usually just create a new world with the same name as the corrupted world and it will overwrite the corrupted level.dat but reuse the region files and possibly even the player.dat file (which also stores your inventory but is not normally used in singleplayer). The main issue is recovering the world seed, especially if you created a world with a random seed since any changes will result in a mismatch between old and new terrain.
Another way is to rename the file level.dat_old to level.dat, replacing the original file, and hopefully it isn't corrupted (this is a backup which may be a minute behind but usually that doesn't matter). You may want to try this first since you can recover your inventory and the world seed. Either way, it is a good idea to make a backup of your world before trying to fix it.
If neither of those work or the world does load but crashes or lags a lot or otherwise doesn't run properly there may be corrupted chunks, in which case you are best off posting in this thread.
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
Renaming level.dat_old to level.dat may revert your inventory by up to a minute prior to the crash but otherwise everything should be the same and you probably wouldn't even notice unless you just enchanted something (note - the game saves the "seed" for enchantments in level.dat so you'll be able to re-enchant and get the same enchantments); the game autosaves quite often and makes a backup of level.dat each time. It is possible that both files could be corrupted, in which case you may want to post in the corrupted save recovery thread; otherwise, you can try making a new world with the same name (use the name of the folder if you renamed it at any point) and seed, which should overwrite the corrupted level.dat files and reuse the chunks and other data files (hopefully they aren't corrupted; level.dat is far more likely to be since it is frequently saved). You will lose your inventory (including experience and Ender chest) and spawn point (bed) though if you do the latter, which may not matter depending on what you had or how far you were from world spawn.
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?