From 97b280c62120174eea14bf7b23e26a8cfcd783fd Mon Sep 17 00:00:00 2001 From: BlazingTwist Date: Sat, 6 Jul 2024 23:12:46 +0200 Subject: [PATCH] mirror 1.21.0 changes --- README.md | 2 +- build.gradle | 6 +++--- gradle.properties | 8 ++++---- gradle/wrapper/gradle-wrapper.properties | 2 +- src/main/resources/fabric.mod.json | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index bbe598e..c4f48a6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Anti Tool Break A Minecraft [Fabric](https://fabricmc.net/) mod stops you from breaking your tools. -Built for version 1.20.0 +Built for version 1.21.0 [Curseforge release](https://www.curseforge.com/minecraft/mc-mods/anti-tool-break-fabric) diff --git a/build.gradle b/build.gradle index 44609ac..4242940 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'fabric-loom' version '1.1-SNAPSHOT' + id 'fabric-loom' version '1.7-SNAPSHOT' id 'maven-publish' } @@ -29,10 +29,10 @@ dependencies { // Fabric API. This is technically optional, but you probably want it anyway. modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" - modImplementation("me.shedaniel.cloth:cloth-config-fabric:[11.0,12.0)") { + modImplementation("me.shedaniel.cloth:cloth-config-fabric:[15.0,16.0)") { exclude(group: "net.fabricmc.fabric-api") } - modImplementation("com.terraformersmc:modmenu:[7.0,8.0)") { + modImplementation("com.terraformersmc:modmenu:[11.0,12.0)") { exclude group: "net.fabricmc.fabric-api" } } diff --git a/gradle.properties b/gradle.properties index 03ab421..f7411e0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,9 +3,9 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/versions.html - minecraft_version=1.20 - yarn_mappings=1.20+build.1 - loader_version=0.14.21 + minecraft_version=1.21 + yarn_mappings=1.21+build.2 + loader_version=0.15.11 # Mod Properties mod_version = 1.0.0 @@ -13,4 +13,4 @@ org.gradle.jvmargs=-Xmx1G archives_base_name = antitoolbreak # Dependencies - fabric_version=0.83.0+1.20 + fabric_version=0.100.3+1.21 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index fae0804..0d18421 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index d432286..3d64999 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -30,9 +30,9 @@ ], "depends": { - "fabricloader": ">=0.14.21", + "fabricloader": ">=0.15.11", "fabric": "*", - "minecraft": "~1.20", + "minecraft": "~1.21", "java": ">=17" }, "suggests": {