注意:Forge 在构建版本 36.0.46 中为此问题实施了通用修复。这意味着在该 Forge 构建版本之后,不再需要 RecipeBuffers 来防止登录后出现错误。它仍然会减少登录时发送的数据量,但在大多数情况下,所保存的数据可能并不值得增加潜在的 Bug 风险。以下说明是基于较旧版本的 Forge 构建编写的。
在最近的 Minecraft 版本中,所有配方都会在登录时发送给客户端。这是为了让数据包能够添加配方。然而,所有配方都在单个数据包中发送。如果该数据包的大小超过 2 MiB,连接将因提及“压缩不良的数据包”的错误而中止。此模组通过一些优化来减小该数据包的大小,从而可以在达到 2 MiB 限制之前添加更多模组。
由于此模组实质上改变了客户端和服务器在同步配方时使用的“语言”,因此需要在客户端和服务器上同时安装。
使用此模组后,数据包的大小通常仅为原本大小的一半左右。
Note: Forge implemented a general fix for this issue in build 36.0.46. This means that RecipeBuffers is not necessary any more to prevent errors on login after that Forge build. It still reduces the amount of data sent at login, but the saved data is probably not worth the added potential for bugs in most cases. The following description was written with older Forge builds in mind.
In recent Minecraft versions all recipes are sent to the client on login. This is necessary for datapacks to be able to add recipes. However all recipes are sent in a single packet. If the size of this packet exceeds 2 MiB the connection will be aborted with an error mentioning "badly compressed packets". This mod adds some optimizations to reduce the size of that packet, so more mods can be added before the 2 MiB limit is reached.
This mod needs to be installed on both client and server, since it essentially changes the "language" they use to speak to each other when syncing recipes.
With this mod the size of the packet is typically around half the size it would be otherwise.
评论 0
登录后参与评分
还没有评论,来抢沙发吧