ModRegFixer
Join vanilla, Paper, Folia and Velocity servers with your content mods still installed. No need to swap to a second instance or swap jars.
ModRegFixer is a small client-side Fabric mod for Minecraft 26.1 β 26.3. It stops the crash you get when you join a server that doesn't have one of your content mods (Biomes O' Plenty, for example):
java.lang.IllegalStateException: Missing element ResourceKey[minecraft:trim_material / biomesoplenty:glowworm_silk]
Install it, keep your normal modpack, and join any server.
β¨ What it does
| Where you play | What happens |
|---|---|
| π Singleplayer | Nothing changes. Every mod, item, trim material and worldgen feature works normally. |
| π§© Modded server that has your mods | Nothing changes. The server provides the content, so nothing gets filtered. |
| π Vanilla / Paper / Folia / Velocity | You can connect. Item data that points at content the server doesn't have (like "glowworm silk is a trim material") is skipped for that connection only. Everything else keeps working. |
This is not "disable all mods in multiplayer"
Sodium, Iris, AppleSkin, Xaero's, JEI, Litematica, ModernFix and the rest are never touched. ModRegFixer works on individual registry entries and treats the server's own registry data as the source of truth. It only removes what would crash you.
π¦ Installation
- Install Fabric Loader 0.19.5+ and Fabric API.
- Download the file that matches your Minecraft version:
modregfixer-<version>+26.3.jarβ 26.3modregfixer-<version>+26.2.jarβ 26.2modregfixer-<version>+26.1.jarβ 26.1, 26.1.1, 26.1.2
- Put it in your
modsfolder. That's all.
β Client only. Servers don't need to install anything.
π§ How it works (short version)
When you join a remote server, Minecraft 26.x re-checks every item's default components against the server's registries. If a modded item says "I am the trim material biomesoplenty:glowworm_silk" and the server has never heard of it, vanilla crashes.
ModRegFixer checks each server-dependent component of each item on its own. When a component points at something the server doesn't have, that component is left out and the item keeps everything else.
- Nothing is faked
- No registries are modified
- Singleplayer rebuilds everything fresh every time you load a world
Example: with Biomes O' Plenty on a vanilla server, ModRegFixer filters exactly 3 components:
biomesoplenty:glowworm_silk -> provides_trim_material
biomesoplenty:rose_quartz_chunk -> provides_trim_material
biomesoplenty:music_disc_wanderer -> jukebox_playable
π¬ Commands (client-side)
| Command | Description |
|---|---|
/modregfixer |
Shows the current connection: server, brand, and what was filtered from which mod |
/modregfixer report |
Writes a full report to logs/latest.log |
/modregfixer debug on / off |
Turns verbose logging on every join on or off (saved to config) |
βοΈ Configuration
File: config/modregfixer.properties
enabled=true # false = the mod does nothing at all
debug=false # log every filtered component + full server report on join
hideUnsupportedCreativeItems=true # on non-Fabric servers, hide creative items the server can't know
You can also force any option with a JVM argument, for example -Dmodregfixer.debug=true.
β οΈ Limitations
- Modded items don't become usable on vanilla servers. The server doesn't have them. ModRegFixer gets you connected and keeps your client mods working. It doesn't invent content.
- Only standard registration paths are filtered. That covers
Item.Propertiesdelayed components (trim materials, jukebox songs, fire resistance, pot patterns, tools and similar) and Fabric API'sDefaultItemComponentEvents. If a mod registers things another way and that fails, ModRegFixer logs a precise report (item, mod, missing entry) and the connection fails the same way it would without the mod. Nothing gets corrupted. Please open an issue with the log. - It only fixes the configuration-phase component crash. Mods that send custom packets the server rejects, or that need a server-side counterpart for gameplay, still need that server support.
- Not for 1.21.x or older. This crash can't happen there; the system involved was added in 26.1.
ποΈ Uninstalling
Delete mods/modregfixer-*.jar and, if you want, config/modregfixer.properties. The mod writes nothing else to disk.
π Bugs & Source
Found a mod that still crashes? Please open an issue and attach your latest.log (run /modregfixer report first if you can connect).
Source code & issues: GitHub
Licensed under MIT.

