MixinRuntime
by commonplace
MixinRuntime is a Forge and NeoForge library that lets mixin configurations be registered while the game is already running, instead of only during early launch.
What it does
Standard mixins must be declared before the game starts. MixinRuntime removes that limit by registering new mixin configurations dynamically, using Java Instrumentation to retransform classes that are already loaded in memory. Authors can therefore inject into classes that could not be reached before, and the change takes effect without restarting the game.
The mod works in several stages during bootstrap. It patches core platform classes such as MixinProcessor, ModuleClassLoader, ModLauncher and ClassTracker, so runtime injection is allowed, and it applies class transformers that suppress errors raised during injection. A ModuleUtils helper opens the Java Platform Module System deep enough for reflective access. Injection is done through MixinProcessorUtils, which adds new IMixinConfig instances to the active mixin processor's configuration lists.
It works on either side, and neither needs it, so it can run on a client, a server or both. It is published for Forge and NeoForge under the MIT License, and its source code is open source. Files exist for 1.20.1, 1.21, 1.21.1, 1.21.2, 1.21.3 and 1.21.10, with the latest Forge file at 1.0 for 1.20.1 and the latest NeoForge file at 1.0.1 for 1.21.10, both dated 2026-06-07.
Key features
Runtime mixin registration
New mixin configurations are added while the game runs, so no restart is needed to apply them.
Retransform of loaded classes
Classes already resident in memory can be retransformed through Java Instrumentation to receive new injections.
Module system bypass
ModuleUtils opens the Java Platform Module System to reach internal classes that are otherwise closed to reflection.
Error suppression during injection
Class transformers applied to the module class loader and the mixin processor keep errors from stopping a runtime injection.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Questions
Which loaders does MixinRuntime support?
Is the source code of MixinRuntime available?
Is VulkanModNeoForge needed to use MixinRuntime?
In the catalog
MixinRuntime is one of 8,016 Management mods on ModsFinder, and one of 2,698 Management mods for Forge. 15,569 mods support Minecraft 1.21.10.
More from commonplace
Similar mods
What the author says
MixinRuntime is a NeoForge mod that enables dynamic injection of Mixin configurations at runtime, bypassing the standard Mixin library's requirement that configurations be defined during early game launch. This mod is a core prerequisite for VulkanModNeoForge and has currently only been tested for compatibility with…
Official listing
- Modrinth page
- modrinth.com/mod/mixinruntime
- Owner
- commonplace
- Published
- 2026-06-07
- Updated on Modrinth
- 2026-06-07
- Facts verified
- 2026-10-15