Ok... so long story short 3 months ago my world got corrupted and I created a new world, copied over the region files and level.dat files to that new world and fixed the issue. I didn't make a backup because this has happened before and I thought I knew how to do it right. I guess not, I must've overwritten the old level.dat files with the new ones and I lost my original seed in the process so if I go out to somewhere I haven't been yet, there will be a chunk border. I've used nbt explorer and looked into both the level.dat and the level.dat_old files and that isn't the original seed (I've looked using amidst). I looked up my issue on google and this is the best thing I could find link. It says to go into your world folder and look for the level.dat_mcr file and use nbt explorer there, but that file isn't in my folder. (I have an image of the folder attached)
Now, I know when you create a new world and you leave the seed blank, minecraft uses the system clock in someway to create the random seed (according to the wiki and other random forums). I know I left the seed blank so it would've used the system clock of when I originally made that world, and I have the time of when the folder was originally created. (its attached in an image too). I've looked for how minecraft uses the system clock to create the seed, but I haven't been able to find it, so that's why I posted here...
There are no dangerous weapons. There are only dangerous people. R.A. Heinlein
If you aren't part of the solution, then you obviously weren't properly dissolved.
Level.dat_mcr is only present if you converted the world when upgrading a pre-Anvil (1.2) world or created it prior to around 1.7 (1.6.4 creates it when you create a new world even though there is nothing to convert but this was removed in some later version).
Also, it is not true that the game uses the system time to generate a random seed, at least not as you normally think of it:
This is part of the source code for Java's Random class, which sets the seed to some value when a new instance is created:
/**
* Creates a new random number generator. This constructor sets
* the seed of the random number generator to a value very likely
* to be distinct from any other invocation of this constructor.
*/
public Random() {
this(seedUniquifier() ^ System.nanoTime());
}
private static long seedUniquifier() {
// L'Ecuyer, "Tables of Linear Congruential Generators of
// Different Sizes and Good Lattice Structure", 1999
for (;;) {
long current = seedUniquifier.get();
long next = current * 181783497276652981L;
if (seedUniquifier.compareAndSet(current, next))
return next;
}
}
"System.nanoTime()" has nothing to do with the time displayed on your computer's clock - and has a resolution of one nanosecond - 1 billion in a single second (the resolution to which the creation date of a file is given). This value is also randomized with a "seedUniquifier" which is different for two or more instances of Random which happen to be created at the same time:
public static long nanoTime()
Returns the current value of the running Java Virtual Machine's high-resolution time source, in nanoseconds. This method can only be used to measure elapsed time and is not related to any other notion of system or wall-clock time. The value returned represents nanoseconds since some fixed but arbitrary origin time (perhaps in the future, so values may be negative). The same origin is used by all invocations of this method in an instance of a Java virtual machine; other virtual machine instances are likely to use a different origin.
The end result of this is that it is impossible to guess the seed for a world using the time it was created:
This is mostly theoretical. But if you were to generate a new Minecraft world, with a random seed, in a really old Java-version (e.g. Java 1.4.2), around Sun Jul 06 10492 04:47:30 GMT-0500 (Central Daylight Time), in the right millisecond it would get your seed.
With Java 1.5 being released long before Minecraft existed, it is unlikely that this ever happened though.
For your seed it's very obviously not true, looking at the date.
(any source that still claims that Java's Random uses the actual system time needs to be updated to reflect modern versions)
Otherwise, while it is possible to figure out the seed for a world by brute-force (which has actually been done) this is not something that anybody can do (basically, if you know the locations of several structures you can check every possible seed until you find a match).
I was able to recover the seed, what I did was I just searched in my logs folder folder for the key word "seed" using WinRar (because every log notepad file was compressed in a WinRar archive) and it was able to show me every time seed showed up on a log of Minecraft. All I needed to hope for was that at some point in time I had used the command /seed in the game chat, luckily I had done that and I found my seed.
There are no dangerous weapons. There are only dangerous people. R.A. Heinlein
If you aren't part of the solution, then you obviously weren't properly dissolved.
Oh my god. I had the same problem and level.dat file was corrupted so i can't get my seed. You're a genius
Was level.dat_old corrupted too?
Rollback Post to RevisionRollBack
There are no dangerous weapons. There are only dangerous people. R.A. Heinlein
If you aren't part of the solution, then you obviously weren't properly dissolved.
Ok... so long story short 3 months ago my world got corrupted and I created a new world, copied over the region files and level.dat files to that new world and fixed the issue. I didn't make a backup because this has happened before and I thought I knew how to do it right. I guess not, I must've overwritten the old level.dat files with the new ones and I lost my original seed in the process so if I go out to somewhere I haven't been yet, there will be a chunk border. I've used nbt explorer and looked into both the level.dat and the level.dat_old files and that isn't the original seed (I've looked using amidst). I looked up my issue on google and this is the best thing I could find link. It says to go into your world folder and look for the level.dat_mcr file and use nbt explorer there, but that file isn't in my folder. (I have an image of the folder attached)
Now, I know when you create a new world and you leave the seed blank, minecraft uses the system clock in someway to create the random seed (according to the wiki and other random forums). I know I left the seed blank so it would've used the system clock of when I originally made that world, and I have the time of when the folder was originally created. (its attached in an image too). I've looked for how minecraft uses the system clock to create the seed, but I haven't been able to find it, so that's why I posted here...
Use Amidst to display the map or use NBTExplorer to read the level.dat file
The download link for Amidst is in my signature.
Google for NBTExplorer.
EDIT: Either I didn't read the OP correctly or it was edited after I posted the above.
There are no dangerous weapons. There are only dangerous people. R.A. Heinlein
If you aren't part of the solution, then you obviously weren't properly dissolved.
The latest release of Amidst, version 4.6 can be found here:
https://github.com/toolbox4minecraft/amidst/releases
You should probably also read this:
https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-tools/2970854-amidst-map-explorer-for-minecraft-1-14
You can find me on the Minecraft Forums Discord server.
https://discord.gg/wGrQNKX
Also, it is not true that the game uses the system time to generate a random seed, at least not as you normally think of it:
http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/tip/src/share/classes/java/util/Random.java
"System.nanoTime()" has nothing to do with the time displayed on your computer's clock - and has a resolution of one nanosecond - 1 billion in a single second (the resolution to which the creation date of a file is given). This value is also randomized with a "seedUniquifier" which is different for two or more instances of Random which happen to be created at the same time:
The end result of this is that it is impossible to guess the seed for a world using the time it was created:
(any source that still claims that Java's Random uses the actual system time needs to be updated to reflect modern versions)
Otherwise, while it is possible to figure out the seed for a world by brute-force (which has actually been done) this is not something that anybody can do (basically, if you know the locations of several structures you can check every possible seed until you find a match).
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?
[Update]
I was able to recover the seed, what I did was I just searched in my logs folder folder for the key word "seed" using WinRar (because every log notepad file was compressed in a WinRar archive) and it was able to show me every time seed showed up on a log of Minecraft. All I needed to hope for was that at some point in time I had used the command /seed in the game chat, luckily I had done that and I found my seed.
WOW! You are seriously lucky.
There are no dangerous weapons. There are only dangerous people. R.A. Heinlein
If you aren't part of the solution, then you obviously weren't properly dissolved.
The latest release of Amidst, version 4.6 can be found here:
https://github.com/toolbox4minecraft/amidst/releases
You should probably also read this:
https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-tools/2970854-amidst-map-explorer-for-minecraft-1-14
You can find me on the Minecraft Forums Discord server.
https://discord.gg/wGrQNKX
Oh my god. I had the same problem and level.dat file was corrupted so i can't get my seed. You're a genius
Was level.dat_old corrupted too?
There are no dangerous weapons. There are only dangerous people. R.A. Heinlein
If you aren't part of the solution, then you obviously weren't properly dissolved.
The latest release of Amidst, version 4.6 can be found here:
https://github.com/toolbox4minecraft/amidst/releases
You should probably also read this:
https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-tools/2970854-amidst-map-explorer-for-minecraft-1-14
You can find me on the Minecraft Forums Discord server.
https://discord.gg/wGrQNKX