
ZS Packet
Description
ZS Packet replaces Minecraft's default packet encoder/decoder with ZStandard, improving speed and giving a better compression ratio.
Required on both Client and Server side
Depends on MixinBooter and ConfigAnyTime
Performance comparison
Results below are tested by compressing 1,500 packets below 100 KB (34.0 MB in total):
Algorithm - Time used(Avg.) - Compressed size
Vanilla (Deflater) 1564 ms 3458 KB
ZS Packet (ZStandard) (Level 6) 749 ms 2718 KB
At level 6, it's 50% faster than vanilla one and also gives a better compression ratio.
FAQ
Can I join servers without ZS Packet with an installed client?
Yes.
Will servers installed this mod still be able to accept players without ZS Packet?
No, currently ZS Packet can't identify player's compression algorithm on server side.
Compatibility
ZS Packet is not compatible with Minecraft proxy software (BungeeCord, Velocity etc.), you may need to manually modify their packet decoders to make them support zstd compression.
This can be done by identifying ZS Packet's special identifier -214748999
in the EnableCompression packet.
Not compatible with PojavLauncher iOS, as there are no corresponding ZStandard JNI bindings.