Okay, I've had this awesome time machine idea forever now, and im just not good enough of a coder
to make it.
Heres how it would work. Every certain amount of minutes(configurable) the game would autosave the level.dat in a time machine saves folder. Then later you can make a time machine. It would use diamonds, redstone and a nether star to craft. You could right click it then a handy dandy GUI would pop up allowing you to "time travel"
to those timemachine.dat files. It would cost something like 32 redstone per each travel. Also, the time machine block/item would come with you as you time traveled. Then you could time travel back! Wow, that was a mouthful! Also, it would keep your inventory when you went back, and it would update
the inventory in the level you time travel to, so you don't lose stuff(MAKE SURE TO NOT ALLOW
DUPLICATION OF ITEMS).
(This could allow playing through a old time when, your house wasn't blown up by a creeper, you didn't lose those diamonds in lava, still had that awesome diamond pick, or just for nostalgia.)
Note: I know you could do this with a autosave tool, but this would work in-game, and would have more fun features, and be easier to manage.
Recipe: (R = redstone D= diamond N= nether star)
DDD
R N R
DRD
EDIT- I need a modder that can add configs, and make something that automaticly makes a save file.
Memory as in Hard Drive Space: Level dats are small (unless you have a HUGE world), one of mine is about 6 kb. It would take years to even make 2 gigabytes. Also, the amount of time in between saves is configurable. Also, you could make a delete time that would
automatically delete old saves.
The level.dat is small, but that's not the whole level. That just saves things like chest contents etc.
The actual worlds are saved in the region folder, and are mca files. Each of those files represents one chunk, and they're around 8mb each on average. Even a relatively small world can get up to over 1GB with multiple players exploring, so it wouldn't be too long before you'd filled a terrabyte hard drive with your saves.
There is a slightly better way in which you'd just mark chunks which were edited, and save those edits only into a new file, then roll them back to the correct save state. That is how Bukkit anti-grief plugins work, and would be a lot more efficient.
to make it.
Heres how it would work. Every certain amount of minutes(configurable) the game would autosave the level.dat in a time machine saves folder. Then later you can make a time machine. It would use diamonds, redstone and a nether star to craft. You could right click it then a handy dandy GUI would pop up allowing you to "time travel"
to those timemachine.dat files. It would cost something like 32 redstone per each travel. Also, the time machine block/item would come with you as you time traveled. Then you could time travel back! Wow, that was a mouthful! Also, it would keep your inventory when you went back, and it would update
the inventory in the level you time travel to, so you don't lose stuff(MAKE SURE TO NOT ALLOW
DUPLICATION OF ITEMS).
(This could allow playing through a old time when, your house wasn't blown up by a creeper,
you didn't lose those diamonds in lava, still had that awesome diamond pick, or just for nostalgia.)
Note: I know you could do this with a autosave tool, but this would work in-game, and
would have more fun features, and be easier to manage.
Recipe: (R = redstone D= diamond N= nether star)
DDD
R N R
DRD
EDIT- I need a modder that can add configs, and make something that automaticly makes a save file.
(insert cringy dubstep minecraft intro here)
Nope, its a mod that allows you to go to DIFFRENT DIMESIONS, doesnt do anything like
what i said.
(insert cringy dubstep minecraft intro here)
(insert cringy dubstep minecraft intro here)
(insert cringy dubstep minecraft intro here)
Which kind of memory?
Memory as in RAM: Thats why its configurable
Memory as in Hard Drive Space: Level dats are small (unless you have a HUGE world), one of mine is about 6 kb. It would take years to even make 2 gigabytes. Also, the amount of time in between saves is configurable. Also, you could make a delete time that would
automatically delete old saves.
(insert cringy dubstep minecraft intro here)
(insert cringy dubstep minecraft intro here)
you can even travel to the past and future
The actual worlds are saved in the region folder, and are mca files. Each of those files represents one chunk, and they're around 8mb each on average. Even a relatively small world can get up to over 1GB with multiple players exploring, so it wouldn't be too long before you'd filled a terrabyte hard drive with your saves.
There is a slightly better way in which you'd just mark chunks which were edited, and save those edits only into a new file, then roll them back to the correct save state. That is how Bukkit anti-grief plugins work, and would be a lot more efficient.
Paving the way to a better world!