From a3e06b5389a139cf2cc47e2d65e880de5a064003 Mon Sep 17 00:00:00 2001 From: Chloe Dawn Date: Fri, 14 Jul 2023 04:11:32 +0100 Subject: [PATCH] Update to 1.20 - Updated Gradle and dependencies - Updated mod metadata --- build.gradle.kts | 10 +++++----- src/main/resources/fabric.mod.json | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 8b04f37..4290e28 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ plugins { } group = "dev.sapphic" -version = "1.9.3+1.19.4" +version = "1.9.4+1.20" if ("CI" in System.getenv()) { version = "$version-${versioning.info.build}" @@ -50,7 +50,7 @@ repositories { } dependencies { - minecraft("com.mojang:minecraft:1.19.4") + minecraft("com.mojang:minecraft:1.20") mappings(loom.layered { officialMojangMappings { @@ -60,8 +60,8 @@ dependencies { modImplementation("net.fabricmc:fabric-loader:0.14.21") - modImplementation(include(fabricApi.module("fabric-api-base", "0.85.0+1.19.4"))!!) - modImplementation(include(fabricApi.module("fabric-networking-api-v1", "0.85.0+1.19.4"))!!) + modImplementation(include(fabricApi.module("fabric-api-base", "0.83.0+1.20"))!!) + modImplementation(include(fabricApi.module("fabric-networking-api-v1", "0.83.0+1.20"))!!) implementation(include("com.electronwill.night-config:core:3.6.6")!!) implementation(include("com.electronwill.night-config:toml:3.6.6")!!) @@ -69,7 +69,7 @@ dependencies { implementation("org.jetbrains:annotations:24.0.1") implementation("org.checkerframework:checker-qual:3.36.0") - modRuntimeOnly("com.terraformersmc:modmenu:6.2.3") + modRuntimeOnly("com.terraformersmc:modmenu:7.0.1") } tasks { diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 53db3e9..adbafc7 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -8,9 +8,9 @@ "icon": "pack.png", "depends": { "fabricloader": ">=0.14.21", - "fabric-api-base": ">=0.4.27", - "fabric-networking-api-v1": ">=1.3.4", - "minecraft": "~1.19.4", + "fabric-api-base": ">=0.4.29", + "fabric-networking-api-v1": ">=1.3.8", + "minecraft": "~1.20", "java": ">=17" }, "entrypoints": {