跳到正文

ZS Packet

Optimizing Minecraft networking by using ZStandard compression.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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.

常见问题

ZS Packet 支持哪些 Minecraft 版本?

ZS Packet 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

ZS Packet 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

KobeBryant1145 的其他作品

查看全部 →