Please sign in to access this page

Echoes of Time (Minecraft Mod)

Echoes of Time (Minecraft Mod)

2 devlogs
3h 12m
•  Ship certified
Created by mattseq

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.

Timeline

Ship 1

1 payout of shell 55.0 shells

mattseq

about 1 month ago

mattseq Covers 2 devlogs and 3h 12m

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.