Please sign in to access this page
This was a mod that I made for the Hackcraft YSWS but I'm updating it.
It most importantly adds the ability to rewind time. The updates will include performance upgrades, more realistic and comprehensive rewinds, and more items and content.
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
I had a bit of a panic when I realized that interpolation calls restoreSnapshot() every single tick, where before it had been once every 10 ticks. For some reason though, there isn't really a performance problem. I did notice that between rewinding two snapshots, they would be converted from NBT data every single tick when interpolating. I made it cache the already converted prevSnapshot and nextSnapshot to prevent that redundancy. I'm also going to make it so that restoring interpolated snapshots doesn't bother to restore blocks and entities, since they'll just be the same every time. Here's a video comparing the old rewind with the new one:
Just made an important update to the mod! Earlier, it saved snapshots twice a second and rewinded through them by just restoring the snapshots. This resulted in a rewind that was not very smooth since it jumped from snapshot to snapshot. Now, it interpolates between snapshots, so it's extremely smooth but also does not have to record snapshots very frequently.