Back to mods
Connector Server Mixin Fix project artwork

CurseForge · Minecraft mod

Connector Server Mixin Fix

Fixes dedicated-server crashes from Sinytra Connector not stripping client-only mixin members.

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

Quick answer

Which Connector Server Mixin Fix release should I use?

Updated 4 months ago
Latest stable file connector-env-strip-1.0.0
Game version 1.21.1
Loader NeoForge

Connector Server Mixin Fix connector-env-strip-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 Connector Server Mixin 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 Connector Server Mixin Fix connector-env-strip-1.0.0 need?

connector-env-strip-1.0.0. Change the file and its required mods may change too.

All 2 required mods have matching files

Install Sinytra Connector, Forgified Fabric API first. We found matching files for this game-version and loader setup. 16 come through another mod in the chain.

1 listed on this file 16 pulled in by those mods
Sinytra Connector Needed by Connector Server Mixin Fix connector-env-strip-1.0.0
required
Matching file found Matched file: Connector 2.0.0 beta 17
Connector Extras Needed by Sinytra Connector
pulled in
Matching file found Matched file: ConnectorExtras 1.12.1+1.21.1
Forgified Fabric API Needed by Sinytra Connector
pulled in
Matching file found Matched file: [1.21.1] Forgified Fabric API 0.116.15+2.3.6+1.21.1
EMI Needed by Connector Extras
pulled in
Matching file found Matched file: emi-1.1.24+1.21.1+neoforge
KubeJS Needed by Connector Extras
pulled in
Matching file found Matched file: KubeJS NeoForge 2101.7.2-build.381
Just Enough Items (JEI) Needed by Connector Extras
pulled in
Matching file found Matched file: 19.76.1.484 for NeoForge 1.21.1
GeckoLib Needed by Connector Extras
pulled in
Matching file found Matched file: NeoForge 1.21.1 4.9.5
Pehkui Needed by Connector Extras
pulled in
Matching file found Matched file: [1.21] [NeoForge] Pehkui 3.8.3
Architectury API Needed by Connector Extras
pulled in
Matching file found Matched file: [NeoForge 1.21] v13.0.12
Better Advanced Tooltips Needed by KubeJS
pulled in
Matching file found Matched file: better-advanced-tooltips-2101.1.0-build.5.jar
Rhino Needed by KubeJS
pulled in
Matching file found Matched file: Rhino 2101.2.7-build.85
MezzConfig Needed by Just Enough Items (JEI)
pulled in
Matching file found Matched file: MezzConfig 0.7.1 for NeoForge 1.21.1
MezzConfigGUI Needed by Just Enough Items (JEI)
pulled in
Matching file found Matched file: MezzConfig GUI mc1.21.1-0.7.1 for NeoForge

16 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Connector Server Mixin Fix without breaking your instance.

Built for Connector Server Mixin Fix connector-env-strip-1.0.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use connector-env-strip-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 Sinytra Connector, Forgified Fabric API first. We found matching files for this game-version and loader setup. 16 come through another mod in the chain.

  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 connector-env-strip-1.0.0. It opens that exact file at the source.

About this project

What does Connector Server Mixin Fix add?

Connector Server Mixin Fix

A tiny server-side library that fixes dedicated-server crashes caused by Sinytra Connector not removing client-only members from Fabric mixin classes.

Just drop it in your server's mods/ folder next to Connector and the crash is gone. It does nothing on clients, so it's safe to ship in the same pack.

Symptoms it fixes

If a Fabric mod loaded through Connector has a mixin with a client-only method, your dedicated server crashes during startup with something like:

MixinPreProcessorException: Attach error for .mixins.json:SomeMixin
  -> INVOKESTATIC net/minecraft/client/Minecraft::getInstance
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft

Note the key detail: no crash report is generated (it dies during class loading), so all you get is this stack trace in the console, which is exactly what this mod prevents.

Why it happens

Connector correctly strips Fabric @Environment(CLIENT) members from regular classes, but it skips this step for mixin classes. A common mixin carrying a client-only method (correctly annotated by the mod author) therefore survives on the server, and the mixin processor later tries to resolve a net.minecraft.client.* class that doesn't exist server-side → crash.

This is a Connector limitation, not a bug in the affected mod, the mod works fine in singleplayer and on native Fabric servers.

What it does

Runs just before the mixin processor reads each mixin class and removes any @Mixin member marked @Environment(CLIENT) on a dedicated server, exactly like the Fabric loader does natively. It's generic: it fixes every Fabric mod hitting this pattern, not one specific mod.

You'll see this line on server startup confirming it's active:

[ConnectorEnvStrip/]: Registered 'connector_env_strip' launch plugin

ℹ️ This is a low-level library, so it does not appear in the in-game mod list. Check the startup log line above to confirm it loaded.

Requirements

  • Minecraft 1.21.1, NeoForge 21.1.x
  • Sinytra Connector (without it, this mod simply does nothing)
  • Server-side only (harmless on clients)

Project description from CurseForge.

Pick your setup

Connector Server Mixin 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

Connector Server Mixin Fix versions and loaders

1 of 1 releases match

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