# Modtrix

> A Gradle plugin and runtime API that builds one Minecraft mod source tree for Fabric, Forge and NeoForge across Minecraft 1.12.2 to 26.3.

Minecraft Mods / Developer Tool

A Gradle plugin and runtime API that builds one Minecraft mod source tree for Fabric, Forge and NeoForge across Minecraft 1.12.2 to 26.3.

[Quick Start](https://maven.alkeari.com/#quick-start) [Source Code](https://github.com/Alkeari/Modtrix-PUBLIC)

01

## Write It Once

```
plugins {
    id("com.alkeari.modtrix") version "1.2.0"
}
```

- **One tree, every loader** One source tree builds a jar per loader, and one universal jar that runs on Fabric, Forge and NeoForge alike.
- **One plugin to set up** You set up only Modtrix, and it drives Loom, ModDevGradle and Stonecutter for you.
- **A runtime API inside each mod** Loader and side checks, events, networking, registration and settings are bundled inside each mod, so players install nothing extra.

02

## Three Steps

1. **Point Gradle at the plugin** In an empty folder holding the Gradle wrapper, add maven.alkeari.com and the plugin to `settings.gradle.kts`.
2. **Generate the project** Run `gradlew modtrixInit` with your mod's name and group.
3. **Build every jar** Run `gradlew release`: one jar per loader and a universal jar land in `build/release/`.

Setup, configuration, tasks and the full API are documented on [maven.alkeari.com](https://maven.alkeari.com/).

03

## At a Glance

| Version | 1.2.0 |
| --- | --- |
| Plugin Id | com.alkeari.modtrix |
| Gradle | 9.7.1 or newer |
| License | LGPL-3.0 |
