https://github.com/isxander/modstitch
A gradle plugin to unify official tooling for both Fabric and (Neo)Forge
https://github.com/isxander/modstitch
fabric forge gradle gradle-plugin minecraft neoforge
Last synced: 3 months ago
JSON representation
A gradle plugin to unify official tooling for both Fabric and (Neo)Forge
- Host: GitHub
- URL: https://github.com/isxander/modstitch
- Owner: isXander
- Created: 2024-12-11T07:16:45.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-08-07T21:02:31.000Z (10 months ago)
- Last Synced: 2025-08-18T22:47:56.144Z (10 months ago)
- Topics: fabric, forge, gradle, gradle-plugin, minecraft, neoforge
- Language: Kotlin
- Homepage: https://isxander.github.io/modstitch-docs/
- Size: 285 KB
- Stars: 13
- Watchers: 1
- Forks: 6
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Modstitch
Modstitch is an abstraction layer upon first-party Minecraft mod loader tooling to provide a unified developer experience.
```kts
plugins {
id("dev.isxander.modstitch.base") version "0.6.0-unstable"
}
modstitch {
minecraftVersion = "1.21.8"
loom {
fabricLoaderVersion = "0.16.19"
}
moddevgradle {
neoForgeVersion = "21.8.0-beta"
}
parchment {
version = "2025.12.12"
}
metadata {
modId = "my_mod"
modVersion = "1.0.0"
modName = "My Mod"
modGroup = "com.example"
}
mixins.register("my_mod")
}
```
Modstitch provides a DSL to interact with both [Fabric Loom](https://github.com/fabricmc/fabric-loom) and [ModDevGradle](https://github.com/neoforged/ModDevGradle) with the same buildscript. It is commonly used with Preprocessor plugins such as [Stonecutter](https://stonecutter.kikugie.dev/) which call for a single buildscript for all targets.
Modstitch also provides other DX utilities not found in either Fabric Loom or ModDevGradle, such as automatic
mixin registration in mod manifests, transpiling of AWs/ATs to the correct format for the platform, and sensible defaults to make your build-scripts super concise.