@@ -73,6 +73,16 @@ val parchmentVersion = VersionDefinition(
7373 " 1.21.1" to " 1.21.1:2024.11.17" ,
7474 " 1.21.3" to " 1.21.3:2024.12.07"
7575)
76+ val fabricApiVersion = VersionDefinition (
77+ " 1.20.1" to " 0.92.3+1.20.1" ,
78+ " 1.21.1" to " 0.114.0+1.21.1" ,
79+ " 1.21.3" to " 0.114.0+1.21.3" ,
80+ )
81+ val modMenuVersion = VersionDefinition (
82+ " 1.20.1" to " 7.2.2" ,
83+ " 1.21.1" to " 11.0.3" ,
84+ " 1.21.3" to " 12.0.0"
85+ )
7686val neoForgeVersion = VersionDefinition (
7787 " 1.21.1" to " 21.1.95" ,
7888 " 1.21.3" to " 21.3.58" ,
@@ -113,7 +123,8 @@ dependencies {
113123 modImplementation(" net.fabricmc:fabric-loader:0.16.10" )
114124
115125 modImplementation(" net.fabricmc:fabric-language-kotlin:${libs.versions.fabric.language.kotlin.get()} " )
116- modCompileOnly(libs.modMenu)
126+ modImplementation(" net.fabricmc.fabric-api:fabric-api:${fabricApiVersion.get(mcPlatform)} " )
127+ modImplementation(" com.terraformersmc:modmenu:${modMenuVersion.get(mcPlatform)} " )
117128 } else if (mcPlatform.isNeoForge) {
118129 " neoForge" (" net.neoforged:neoforge:${neoForgeVersion.get(mcPlatform)} " )
119130
@@ -146,6 +157,8 @@ loom {
146157 convertAccessWideners.set(true )
147158 mixinConfig(" mixins.resourcify.json" )
148159 }
160+
161+ runConfigs[" client" ].isIdeConfigGenerated = true
149162}
150163
151164if (mcPlatform.isForge) configurations.configureEach {
0 commit comments