@@ -39,31 +39,29 @@ repositories {
3939
4040tasks.withType<Jar > { duplicatesStrategy = DuplicatesStrategy .INCLUDE }
4141
42+ configurations.all {
43+ resolutionStrategy {
44+ // Check for updates every build
45+ cacheChangingModulesFor(0 , " seconds" )
46+ }
47+ }
48+
4249dependencies {
43- // minecraft ("com.mojang:minecraft:1.17.1")
44- // mappings ("net.fabricmc:yarn:1.17.1+build.65:v2")
45- // modImplementation ("net.fabricmc:fabric-loader:0.16.9")
46- // modImplementation "net.fabricmc.fabric-api:fabric-api:0.28.5+1.15"
47-
48- // 1.19.4
49- // minecraft("com.mojang:minecraft:1.19.4")
50- // mappings("net.fabricmc:yarn:1.19.4+build.1:v2")
51- // modImplementation("net.fabricmc:fabric-loader:0.14.18")
52-
50+
5351 // 1.20
5452 minecraft(" com.mojang:minecraft:1.20.1" )
5553 mappings(" net.fabricmc:yarn:1.20.1+build.10" )
56- modImplementation(" net.fabricmc:fabric-loader:0.16.9 " )
54+ modImplementation(" net.fabricmc:fabric-loader:0.18.3 " )
5755
5856 modImplementation(" xyz.nucleoid:fantasy:0.4.11+1.20-rc1" )
5957 modImplementation(" curse.maven:cyber-permissions-407695:4640544" )
6058 modImplementation(" me.lucko:fabric-permissions-api:0.2-SNAPSHOT" )
61- modImplementation(" net.fabricmc.fabric-api:fabric-api-deprecated:0.92.5+1.20.1" )
59+ // modImplementation("net.fabricmc.fabric-api:fabric-api-deprecated:0.92.5+1.20.1")
6260
6361 val ic = DefaultExternalModuleDependency (
6462 " com.javazilla.mods" ,
65- " icommon-fabric-1.21.4 " ,
66- " 1.21.4 " ,
63+ " icommon-fabric-1.21.1 " ,
64+ " 1.21.1 " ,
6765 null
6866 ).apply {
6967 isChanging = true // Make sure we get the latest version of iCommon
@@ -74,9 +72,10 @@ dependencies {
7472
7573 setOf (
7674 " fabric-api-base" ,
77- // "fabric-command-api-v1",
7875 " fabric-lifecycle-events-v1" ,
79- " fabric-networking-api-v1"
76+ " fabric-networking-api-v1" ,
77+ " fabric-events-interaction-v0" ,
78+ " fabric-command-api-v2"
8079 ).forEach {
8180 // Add each module as a dependency
8281 modImplementation(fabricApi.module(it, " 0.92.5+1.20.1" ))
0 commit comments