@@ -91,11 +91,11 @@ val compatibleMcVersion = VersionDefinition(
9191 " 1.21.8" to VersionRange (" 1.21.6" , " 1.21.8" , name = " 1.21.8" ),
9292 " 1.21.10" to VersionRange (" 1.21.9" , " 1.21.10" , name = " 1.21.10" ),
9393 " 1.21.11" to VersionRange (" 1.21.11" , " 1.21.11" , name = " 1.21.11" ),
94- " 26.1" to VersionRange (" 26.1" , " 26.1" , exclusiveUpperBound = " 26.2" , name = " 26.1" )
94+ " 26.1.2 " to VersionRange (" 26.1" , " 26.1" , exclusiveUpperBound = " 26.2" , name = " 26.1" )
9595)
9696val javaVersion = VersionDefinition (
9797 " 1.20.1" to " 17" ,
98- " 26.1" to " 25" ,
98+ " 26.1.2 " to " 25" ,
9999 default = " 21" ,
100100)
101101val parchmentVersion = VersionDefinition (
@@ -113,7 +113,7 @@ val fabricApiVersion = VersionDefinition(
113113 " 1.21.8" to " 0.129.0+1.21.8" ,
114114 " 1.21.10" to " 0.136.0+1.21.10" ,
115115 " 1.21.11" to " 0.139.4+1.21.11" ,
116- " 26.1" to " 0.143.14 +26.1" ,
116+ " 26.1.2 " to " 0.150.0 +26.1.2 " ,
117117)
118118val modMenuVersion = VersionDefinition (
119119 " 1.20.1" to " 7.2.2" ,
@@ -123,13 +123,14 @@ val modMenuVersion = VersionDefinition(
123123 " 1.21.8" to " 15.0.0" ,
124124 " 1.21.10" to " 16.0.0-rc.1" ,
125125 " 1.21.11" to " 17.0.0-alpha.1" ,
126- " 26.1" to " 18.0.0-alpha.6" ,
126+ " 26.1.2 " to " 18.0.0-alpha.6" ,
127127)
128128val neoForgeVersion = VersionDefinition (
129129 " 1.21.1" to " 21.1.95" ,
130130 " 1.21.4" to " 21.4.124" ,
131131 " 1.21.5" to " 21.5.95" ,
132132 " 1.21.8" to " 21.8.49" ,
133+ " 26.1.2" to " 26.1.2.73"
133134)
134135val minimumNeoForgeVersion = VersionDefinition (
135136 // We need this version or higher on 1.21.4, on other versions we don't care
@@ -148,13 +149,20 @@ val kotlinForForgeVersion = VersionDefinition(
148149 " 1.21.4" to " 5.7.0" ,
149150 " 1.21.5" to " 5.7.0" ,
150151 " 1.21.8" to " 5.9.0" ,
152+ " 26.1.2" to " 6.2.0" ,
151153)
152154val universalVersion = VersionDefinition (
153155 " 1.21.1" to " 1.21" ,
154156 " 1.21.8" to " 1.21.7" ,
155157 " 1.21.10" to " 1.21.9" ,
158+ " 26.1.2" to " 26.1" ,
156159 default = mcPlatform.versionString
157- ).let { VersionDefinition (default = " ${it.get(mcPlatform)} -${mcPlatform.loaderString} :499" ) }
160+ ).let {
161+ VersionDefinition (
162+ " 26.1.2-neoforge" to " 26.1-fabric:499" ,
163+ default = " ${it.get(mcPlatform)} -${mcPlatform.loaderString} :499"
164+ )
165+ }
158166
159167dependencies {
160168 minecraft(" com.mojang:minecraft:${mcVersion.get(mcPlatform)} " )
@@ -288,6 +296,7 @@ tasks {
288296 configurations = listOf (shade, shadeModImplementation)
289297 duplicatesStrategy = DuplicatesStrategy .EXCLUDE
290298
299+ if (! mcPlatform.isFabric) exclude(" fabric.mod.json" )
291300 mergeServiceFiles()
292301 relocate(" gg.essential.universal" , " dev.dediamondpro.resourcify.libs.universal" )
293302 relocate(" gg.essential.elementa" , " dev.dediamondpro.resourcify.libs.elementa" )
0 commit comments