Mod Development Kits for Outlands (the 1.12.2 loader), built on Unimined.
Download a kit from the releases page — every kit is a self contained Gradle project, not a branch to check out.
| Kit | Contents |
|---|---|
mdk-java.zip |
Java example mod |
mdk-java-mixin.zip |
Java + mixin (loading plugin, config plugin, two mixin examples) |
Mixin ships only as its own kit: it is not a switch on the example, it changes the source shape (loading plugin,
config plugin, mixin json) and adds four lines of build wiring. Wiring it into another language's project is a
source-tree decision, so the overlay is readable: copy stacks/unimined/flavors/mixin/files/src/main/java/** and run
its patch.sh against your project (four anchored edits to build.gradle / gradle.properties).
Everything else (shadow, access transformers, publishing) stays a gradle/scripts/*.gradle file you can edit or
delete, so a kit is a starting point, not a framework.
stacks/unimined/ canonical tree = the java kit, directly buildable
stacks/unimined/flavors/ per flavor: files/ (new sources) + patch.sh (anchored edits) + remove.txt (deletions)
tool/package-flavor.sh assembles a flavor, optionally builds it, and zips it
gradle/wrapper/ the wrapper every kit ships; the canonical tree carries the same files
The canonical tree holds a copy of gradle/wrapper/ (not of gradlew, which packaging injects) so that opening
stacks/unimined in an IDE uses the kit's Gradle instead of downloading whatever the IDE defaults to. Packaging copies
the root wrapper over it and refuses to start if the two disagree, so a version bump cannot land in only one of them.
A kit is never stored assembled: tool/package-flavor.sh <flavor> --build copies the canonical tree, applies the
overlay, runs ./gradlew build in the copy and zips the result. If a flavor stops compiling, packaging fails
instead of shipping a broken kit.
./tool/package-flavor.sh java --build # -> build/zips/mdk-java.zip
./tool/package-flavor.sh java-mixin --build # -> build/zips/mdk-java-mixin.zipReleases are cut by pushing a mdk/<version> tag; CI assembles every flavor, builds it, and attaches the zips. The
tag names the loader release the kit was cut for, so there is one kit release per loader release and no kit version of
its own.
A loader release does not need to be followed by hand: Outlands' Release.yml dispatches outlands-release at this
repository once its release is verified, and .github/workflows/loader-bump.yml bumps the pin in
stacks/unimined/build.gradle, builds the java flavor against the new loader as a gate, and then starts MDK with
version: <loader version> to package and release. workflow_dispatch on loader-bump.yml replays a version by
hand; both paths do nothing once mdk/<version> exists.
A kit is not versioned with the loader. mdk.properties inside each zip records mdk.version, mdk.flavor,
loader.version and source.commit, which is what a bug report needs. The loader version a kit pins is the newest
stable one at packaging time; .github/workflows/compat.yml builds every flavor against the newest published loader
every night, so a stale pin shows up as a red build instead of in a user's workspace.