You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, has anyone encountered this kind of error when implementing their own custom items and modifying the components on use? I have a custom item that modifies the components on finishUsing() and for some items (weirdly does not apply to all) it would just crash my world (not my game) and give me this error after using it. Internal Exception: io.netty.handler.codec.DecoderException: Failed to decode packet 'clientbound/minecraft:container_set_slot'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description
Hi, has anyone encountered this kind of error when implementing their own custom items and modifying the components on use? I have a custom item that modifies the components on
finishUsing()
and for some items (weirdly does not apply to all) it would just crash my world (not my game) and give me this error after using it.Internal Exception: io.netty.handler.codec.DecoderException: Failed to decode packet 'clientbound/minecraft:container_set_slot'
Here is code for the item: https://github.com/Type-32/LostInTheComplex/blob/main/src/main/java/cn/crtlprototypestudios/litc/foundation/item/LiquidContainerItem.java
Beta Was this translation helpful? Give feedback.
All reactions