A simple tool that allows you to pack your mod .jar file to .dll and inject it into running Minecraft
For building this I personally recommend using WSL on Windows or Linux
To build, you need these packages installed:
g++-mingw-w64-x86-64
- Some kind of JDK (I prefer using Adoptium Temurin, all install instructions are available on their website)
Then, you need to drop your mod .jar as input.jar
into the root directory of repo
And as a last step - just build it:
make build
As a result you'll get output.dll
which you can inject
- Only Forge mods are supported, by now
- Only mods that do not require usage of URLClassLoader to do something dynamically
- Your mod should do all stuff inside no-args constructor in class that is marked with
@Mod
annotation - Tested on 1.7.10, 1.8.8, 1.12.2, 1.16.5