Back to mods
owo Network Fix project artwork

CurseForge · Minecraft mod

owo Network Fix

Fixes the disconnect Failed to encode packet 'clientbound/minecraft:custom_payload' caused by [owo] Sided Packet Codec has not been unpacked on NeoForge 1.21.1.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which owo Network Fix release matches 1.21.1 NeoForge?

Updated last month
Best match for your filters owo Network Fix 1.0.0
Game version 1.21.1
Loader NeoForge

owo Network Fix 1.0.0 targets 1.21.1 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 2 required mods have matching files.

Where it goes

Is owo Network Fix required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does owo Network Fix 1.0.0 need?

owo Network Fix 1.0.0 on 1.21.1 NeoForge. Every mod below is checked against that same setup.

All 2 required mods have matching files

Install oωo (owo-lib), Accessories first. We found matching files for this game-version and loader setup.

oωo (owo-lib) Needed by owo Network Fix 1.0.0
required
Matching file found Matched file: [1.21.1] oωo - neo - 0.12.15.6-beta.1+1.21
Accessories Needed by owo Network Fix 1.0.0
required
Matching file found Matched file: [1.21.1] Accessories [Neoforge] - 1.1.0-beta.54

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add owo Network Fix without breaking your instance.

Built for owo Network Fix 1.0.0 on 1.21.1 NeoForge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use owo Network Fix 1.0.0. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install oωo (owo-lib), Accessories first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside owo Network Fix 1.0.0. It opens that exact file at the source.

About this project

What does owo Network Fix add?

owo Network Fix

Fixes the disconnect Failed to encode packet 'clientbound/minecraft:custom_payload' caused by [owo] Sided Packet Codec has not been unpacked on NeoForge 1.21.1.

Unofficial fix — not affiliated with Wisp Forest, owo-lib or Accessories.

The problem

You join a world or a server and get kicked right away with:

Internal Exception: io.netty.handler.codec.EncoderException: Failed to encode packet 'clientbound/minecraft:custom_payload'
Caused by: java.lang.RuntimeException: Failed encoding custom payload accessories:main:
java.lang.IllegalStateException: [owo] Sided Packet Codec has not been unpacked, issue has occured!

It usually shows up with Accessories (also bundled inside The Aether and other mods), but it can hit any mod that sends packets through owo-lib.

Why it happens

owo-lib registers its packets with a placeholder codec and swaps in the real one inside NeoForge's NetworkRegistry#getCodec, using a mixin that targets the 4th return of that method (ordinal = 3).

Newer NeoForge 21.1 builds (e.g. 21.1.262) added more return statements to that method. The 4th one is now a return null, so owo never swaps the codec. The placeholder is sent as-is and encoding fails.

The fix

A single mixin that unwraps owo's placeholder codec on every return of getCodec, whatever the NeoForge build.

  • No hard dependency on owo-lib (uses reflection). Without owo it does nothing.
  • No config, nothing to set up.
  • When it works, your log shows: [owonetfix] codec owo déballé pour … : correctif actif.

Installation

  • Install on the client and the server.
  • Minecraft 1.21.1, NeoForge 21.1.x.
  • Works alongside owo-lib 0.12.15.x and Accessories 1.1.0 betas.

FAQ

Do I still need owo-lib? Yes. This mod only fixes it, it doesn't replace it.

Can I remove it once owo-lib is updated? Yes. If a future owo-lib release fixes its own mixin, this mod becomes harmless and you can remove it.

Modpacks? Yes, feel free to include it.

Project description from CurseForge.

Pick your setup

owo Network Fix by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

owo Network Fix versions and loaders

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.