跳到正文

networkop

Replaces vanilla zlib chunk compression with bundled zstd compression to improve network compression ratio and raise packet size limit

收藏

介绍

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

NetworkOp
NetworkOp replaces Minecraft’s vanilla zlib compression with bundled zstd compression.

Vanilla compresses chunk packets one by one.
This mod calculates n = max(player view distance, server max view distance).
It bundles n chunk packets together, compresses them as one unit and sends the merged packet to the client for a higher compression ratio.

How parameter n works:
When n is small (low view distance), total data transfer is low and bandwidth pressure remains light.
When n is large, more data is bundled, but compression performance gets much better.
In tests, compression ratio reaches 8% with n=32 on Minecraft 1.26.2.

If players use a small view distance, n stays small and packets get assembled quickly.
For large view distances, n increases, but these bundled chunks are distant and won’t impact gameplay.

This mod also lifts the client-server packet transfer limit to 268MB.
It prevents the server from rejecting oversized packets when the bundle exceeds vanilla’s original 2MB limit.

常见问题

networkop 支持哪些 Minecraft 版本?

networkop 支持 Minecraft Java 版 1.20.1–26.2,共 2 个版本,可用的加载器:Fabric / Forge。下载时注意选择和你游戏版本一致的文件。

networkop 怎么安装?

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

评论

登录后评论和评分

qingfeng1314886 的其他作品

查看全部 →