跳到正文

Equipment Packet Fix

作者:AndyNoob

A simple 1.20.1 forge mod that fixes a weird itemstack encoding issue in ClientboundSetEquipmentPacket causing clients to be kicked.

收藏

截图

介绍

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

Equipment Packet Fix

Mixes into CompoundTag to do two things:

  1. Avoid a ConcurrentModificationException in CompoundTag#write by converting the tag’s key set into an array before iterating
  2. Avoid a EncoderException (caused by NullFointerException) in CompoundTag#writeNamedTag by adding a null safeguard

Config

detectExceptions – (default false) Try and log when exceptions might happen, logging the CompoundTag in question

Modpacks

Free to use in modpacks, but please do not redistribute. Also, you should only need to install this on the server, but it doesn’t hurt to have it in the client pack as well.

Credits

Logo textures from Minecraft (armor) and Minecraft Dungeons (hammer). Disconnect screenshot from reddit

常见问题

Equipment Packet Fix 支持哪些 Minecraft 版本?

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

Equipment Packet Fix 怎么安装?

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

评论

登录后评论和评分

AndyNoob 的其他作品

查看全部 →