Replay Mod (Fabric & Forge)

Replay Mod (Fabric & Forge)

787k Downloads

Where is entity positioning decoding for replays located?

JackBPrograms opened this issue ยท 1 comments

commented

Hey, This isn't really an issue, more of a question, but I'm wondering where the decoding for entity poisoning is inside the code. I have looked around a lot in replaymod/src/main/java/com/replaymod/replay but haven't found it. Thanks!

commented

For regular playback it's done by Minecraft. That's how ReplayMod manages to be compatible with the vast majority of content mods: It's by design mostly oblivious to them. A replay just looks like a regular server for the most part.
For ReplayStudio features (QuickMode, Start/Stop/Pause/Resume, Edit, Spectator Keyframe preview, etc.; i.e. the stuff where RM itself needs to know what actually happens in the recording without playing it) position tracking happens here and branches out depending on the packet.