When sneaking on a dedicated server in certain circumstances, the player gets disconnected, and can not reconnect.
The error in the client logs is:
[14Feb2025 21:46:10.483] [Render thread/ERROR] [net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl/]: Failed to handle packet ClientboundSetEntityDataPacket[id=490, packedItems=[DataValue[id=0, serializer=net.minecraft.network.syncher.EntityDataSerializer$$Lambda/0x0000000800e6b8e0@7a0f4067, value=2], DataValue[id=23, serializer=net.minecraft.network.syncher.EntityDataSerializers$3@69d394cc, value={keyPressed:1b,selected:0,tick:546,type:"INVALID"}]]]
java.lang.IllegalStateException: Invalid entity data item type for field 23 on entity LocalPlayer['Suppressed'/490, l='ClientLevel', x=-1885.81, y=230.00, z=-791.11]: old=(class java.lang.String), new={keyPressed:1b,selected:0,tick:546,type:"INVALID"}(class net.minecraft.nbt.CompoundTag)
It also outputs a network protocol error in the client debug folder with related info:
https://mclo.gs/1VaoXzD
What's especially odd here is that the issue is reproduced consistently in the right circumstances (every attempt to press the key results in a disconnect), but that those circumstances are incredibly unclear.
- This began happening recently in a v13 test build of our modpack https://www.curseforge.com/minecraft/modpacks/medieval-mc-mmc5, but the issue did not occur on versions v12 or earlier
- Carry On did not change versions between v12 and v13
- The issue occurs on both Neoforge 21.1.115 (v12) and 21.1.119 (v13)
- The issue does not seem to be due to any added mods between v12 and v13
- Removing the following mods prevents the crash, but adding a few of any of them reintroduces the crash:
not_enough_glyphs
discerning_the_eldritch
undergardendelight
too_many_bows
aether_protect_your_moa
chimericlib
athenaeum
arsdelight
ars_nouveau
hackersandsladhers
rpg_companions_tiny_dragons
ars_additions
gtbcs_spell_lib
gametechbcs_spellbooks
alshanex_familiars
supplementaries
amendments
- Strangest of all, adding these mods in a standalone instance with Carry On does not cause the crash.
I realize this probably isn't very actionable, but leaving it here as a working issue in case others encounter it and have more useful information.
When sneaking on a dedicated server in certain circumstances, the player gets disconnected, and can not reconnect.
The error in the client logs is:
It also outputs a network protocol error in the client debug folder with related info:
https://mclo.gs/1VaoXzD
What's especially odd here is that the issue is reproduced consistently in the right circumstances (every attempt to press the key results in a disconnect), but that those circumstances are incredibly unclear.
I realize this probably isn't very actionable, but leaving it here as a working issue in case others encounter it and have more useful information.