Modscraper Modscraper Minecraft
Equipment Packet Fix logo

Equipment Packet Fix

Mod

by comfortableandy

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

Type

Mod

CurseForge Downloads

972

CurseForge ID

1389905

Last Updated

Jul 25, 2026

Description

Equipment Packet Fix (1.20.1 Forge)

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.

Credits

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

Screenshots

Similar Mods

Included in Modpacks

External Resources