@@ -70,6 +70,7 @@ val shadeModImplementation: Configuration by configurations.creating {
7070
7171// Version definitions
7272val mcVersion = VersionDefinition ( // Used for pre releases and release candidates
73+ " 1.21.9" to " 1.21.9-pre3" ,
7374 default = mcPlatform.versionString
7475)
7576val compatibleMcVersion = VersionDefinition (
@@ -79,7 +80,8 @@ val compatibleMcVersion = VersionDefinition(
7980 // NeoForge changed stuff going from .3 to .4
8081 " 1.21.4-neoforge" to VersionRange (" 1.21.4" , " 1.21.4" , name = " 1.21.4" ),
8182 " 1.21.5" to VersionRange (" 1.21.5" , " 1.21.5" , name = " 1.21.5" ),
82- " 1.21.8" to VersionRange (" 1.21.6" , " 1.21.8" , name = " 1.21.8" , openEnd = true )
83+ " 1.21.8" to VersionRange (" 1.21.6" , " 1.21.8" , name = " 1.21.8" ),
84+ " 1.21.9" to VersionRange (" 1.21.9" , " 1.21.9" , name = " 1.21.9" , openEnd = true , allowAll = true ), // TODO: disable allow all when ready for release
8385)
8486val javaVersion = VersionDefinition (
8587 " 1.20.1" to " 17" ,
@@ -88,21 +90,25 @@ val javaVersion = VersionDefinition(
8890val parchmentVersion = VersionDefinition (
8991 " 1.20.1" to " 1.20.1:2023.09.03" ,
9092 " 1.21.1" to " 1.21.1:2024.11.17" ,
91- " 1.21.4" to " 1.21.4:2025.02.16"
93+ " 1.21.4" to " 1.21.4:2025.03.23" ,
94+ " 1.21.5" to " 1.21.5:2025.06.15" ,
95+ " 1.21.8" to " 1.21.8:2025.09.14" ,
9296)
9397val fabricApiVersion = VersionDefinition (
9498 " 1.20.1" to " 0.92.3+1.20.1" ,
9599 " 1.21.1" to " 0.114.0+1.21.1" ,
96100 " 1.21.4" to " 0.118.0+1.21.4" ,
97101 " 1.21.5" to " 0.119.4+1.21.5" ,
98102 " 1.21.8" to " 0.129.0+1.21.8" ,
103+ " 1.21.9" to " 0.133.10+1.21.9" ,
99104)
100105val modMenuVersion = VersionDefinition (
101106 " 1.20.1" to " 7.2.2" ,
102107 " 1.21.1" to " 11.0.3" ,
103108 " 1.21.4" to " 13.0.2" ,
104109 " 1.21.5" to " 14.0.0-rc.2" ,
105- " 1.21.8" to " 15.0.0-beta.3" ,
110+ " 1.21.8" to " 15.0.0" ,
111+ " 1.21.9" to " 15.0.0" ,
106112)
107113val neoForgeVersion = VersionDefinition (
108114 " 1.21.1" to " 21.1.95" ,
@@ -129,10 +135,9 @@ val kotlinForForgeVersion = VersionDefinition(
129135 " 1.21.8" to " 5.9.0" ,
130136)
131137val universalVersion = VersionDefinition (
132- " 1.21.1" to " 1.21-${mcPlatform.loaderString} :421" ,
133- " 1.21.8" to " 1.21.7-${mcPlatform.loaderString} :421" ,
134- " 1.21.8-forge" to " 1.21.7-forge:422+feature-1.21.7-forge-neoforge" ,
135- " 1.21.8-neoforge" to " 1.21.7-neoforge:422+feature-1.21.7-forge-neoforge" ,
138+ " 1.21.1" to " 1.21-${mcPlatform.loaderString} :427" ,
139+ " 1.21.8" to " 1.21.7-${mcPlatform.loaderString} :427" ,
140+ " 1.21.9" to " 1.21.9-${mcPlatform.loaderString} :428+feature-1.21.9-fabric" ,
136141 default = " ${mcPlatform.name} :421"
137142)
138143
@@ -148,7 +153,7 @@ dependencies {
148153 })
149154
150155 if (mcPlatform.isFabric) {
151- modImplementation(" net.fabricmc:fabric-loader:0.16.13 " )
156+ modImplementation(" net.fabricmc:fabric-loader:0.17.2 " )
152157
153158 modImplementation(" net.fabricmc:fabric-language-kotlin:${libs.versions.fabric.language.kotlin.get()} " )
154159 modImplementation(" net.fabricmc.fabric-api:fabric-api:${fabricApiVersion.get(mcPlatform)} " )
@@ -177,7 +182,14 @@ dependencies {
177182 }
178183}
179184
180- val accesWidener = if (mcPlatform.minor == 21 ) " 1.21.resourcify" else " 1.20.resourcify"
185+ val accesWidener = if (mcPlatform.version >= 1_21_09 ) {
186+ " 1.21.9.resourcify"
187+ } else if (mcPlatform.minor == 21 ) {
188+ " 1.21.resourcify"
189+ } else {
190+ " 1.20.resourcify"
191+ }
192+
181193loom {
182194 accessWidenerPath = rootProject.file(" src/main/resources/$accesWidener .accesswidener" )
183195
0 commit comments