@@ -14,7 +14,6 @@ def hasHudElementRegistry = stonecutter.eval(mcVersion, '>=1.21.6') // 1.21.6+
1414
1515apply plugin : isLegacy ? ' net.fabricmc.fabric-loom-remap' : ' net.fabricmc.fabric-loom'
1616
17- // Per-MC Java version (21 for 1.21.x, 25 for 26.1+).
1817def javaVersionInt = Integer . parseInt(project. java_version)
1918def javaLang = JavaVersion . toVersion(javaVersionInt)
2019def mixinJavaCompat = " JAVA_${ javaVersionInt} "
@@ -31,12 +30,8 @@ repositories {
3130 maven { url ' https://maven.terraformersmc.com/releases/' }
3231}
3332
34- // Adds the Modrinth maven and modmenuDependency(), a fallback for when the
35- // TerraformersMC maven is unreachable.
3633apply from : " ${ rootDir} /gradle/modrinth-fallback.gradle"
3734
38- // MC 26+ uses fabric-rendering-v1's transitive deps but rejects ASM coming from
39- // annotation processors.
4035if (! isLegacy) {
4136 configurations. configureEach {
4237 if (name. toLowerCase(). contains(' annotationprocessor' )) {
@@ -45,9 +40,6 @@ if (!isLegacy) {
4540 }
4641}
4742
48- // Every variant declares fabric-api, modmenu, and cloth-config as runtime deps
49- // (not bundled). 1.21.x uses modImplementation for intermediary remapping; 26.x
50- // uses plain implementation against unobfuscated MC.
5143dependencies {
5244 minecraft " com.mojang:minecraft:${ project.minecraft_version} "
5345
0 commit comments