12-26-2014, 10:56 PM
The method I'm using to go back in time is just to save every time to my own WorldState object which contains all block data and the lists with the objects of tileTicks, tileEntities and entities. Then I'd just revert it back to the needed frame. In hindsight that can't work, since I just keep the reference to the said objects, and MC can still modify those objects. Pretty stupid mistake that I realized way too late.
So now I'll just convert them to NBT and back. I was trying to avoid this since it's slower, but I don't have any other choice. So going back in time will be less seamless from now.
In other news, I had little bit of fun with benchmarking different kinds of clocks.
So now I'll just convert them to NBT and back. I was trying to avoid this since it's slower, but I don't have any other choice. So going back in time will be less seamless from now.
In other news, I had little bit of fun with benchmarking different kinds of clocks.