Until now, recording worked by injecting right before the vanilla packet handler. At that point it was receiving packet classes and had to re-encode them to store them in the replay file. However, not all decoded packets can necessarily be re-encoded without errors, requiring us to have a bunch of workarounds. This commit changes the way recording works by injecting right before the decoder. It therefore receives the raw bytebufs and no longer has to deal with the re-encode issue.
43 lines
1013 B
JSON
43 lines
1013 B
JSON
{
|
|
"required": true,
|
|
"package": "com.replaymod.recording.mixin",
|
|
"mixins": [],
|
|
"server": [],
|
|
"client": [
|
|
"AddServerScreenAccessor",
|
|
"EntityLivingBaseAccessor",
|
|
"IntegratedServerAccessor",
|
|
"NetworkManagerAccessor",
|
|
"MixinClientConnection",
|
|
//#if MC<11500
|
|
//$$ "SPacketSpawnMobAccessor",
|
|
//$$ "SPacketSpawnPlayerAccessor",
|
|
//#endif
|
|
"MixinServerInfo",
|
|
//#if MC>=10800
|
|
"MixinDownloadingPackFinder",
|
|
//#endif
|
|
//#if MC>=11400
|
|
"MixinMouseHelper",
|
|
//#endif
|
|
//#if MC>=10904
|
|
//#if MC<11400
|
|
//$$ "MixinPlayerControllerMP",
|
|
//#endif
|
|
"MixinWorldClient",
|
|
//#endif
|
|
//#if MC<=10710
|
|
//$$ "MixinGuiScreen",
|
|
//$$ "MixinS26PacketMapChunkBulk",
|
|
//#endif
|
|
"MixinNetHandlerLoginClient",
|
|
"MixinNetHandlerPlayClient",
|
|
//#if MC<11400
|
|
//$$ "MixinNetworkDispatcher",
|
|
//#endif
|
|
"MixinRenderGlobal"
|
|
],
|
|
"compatibilityLevel": "JAVA_8",
|
|
"minVersion": "0.6.11",
|
|
"refmap": "mixins.replaymod.refmap.json"
|
|
} |