From 9a60a50209a6a55480af8212f3b053bf8276d6c4 Mon Sep 17 00:00:00 2001 From: ChiefArug <73862885+ChiefArug@users.noreply.github.com> Date: Thu, 2 Jan 2025 23:19:35 +1300 Subject: [PATCH] Update README to include instructions for NeoForge with ModDevGradle Source is my own testing and looking at the output jar. [The ModDevGradle readme](https://github.com/neoforged/ModDevGradle/?tab=readme-ov-file#jar-in-jar) has a `version` closure to specify versions but that does not seem to be required. --- README.MD | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.MD b/README.MD index 475a444..8496b25 100644 --- a/README.MD +++ b/README.MD @@ -24,11 +24,12 @@ dependencies { ``` -
NeoForge with NeoGradle +
NeoForge **NeoForge 20.2.84+ includes MixinExtras already.** If you want to maintain compatibility with older versions, or want to use a different version than is provided, see below: +For NeoGradle: ```gradle dependencies { implementation(jarJar("io.github.llamalad7:mixinextras-neoforge:0.4.1")) { @@ -36,6 +37,12 @@ dependencies { } } ``` +ModDevGradle only needs the implementation line, it automatically sets the version range to `[,)`: +```gradle +dependencies { + implementation(jarJar("io.github.llamalad7:mixinextras-neoforge:0.4.1")) +} +```
Forge 1.18.2+ with ForgeGradle