diff --git a/build.gradle b/build.gradle index fa86d04..99d9003 100644 --- a/build.gradle +++ b/build.gradle @@ -28,8 +28,8 @@ repositories { maven { url 'https://maven.quiltmc.org/repository/release' } } -sourceCompatibility = JavaVersion.VERSION_17 -targetCompatibility = JavaVersion.VERSION_17 +sourceCompatibility = JavaVersion.VERSION_21 +targetCompatibility = JavaVersion.VERSION_21 archivesBaseName = project.archives_base_name version = project.mod_version + "-" + project.minecraft_version + "+" diff --git a/gradle.properties b/gradle.properties index 7aaf77c..4b351b0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,16 +2,16 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/develop/ -minecraft_version=1.20.5 -yarn_mappings=1.20.5+build.1 -loader_version=0.15.10 +minecraft_version=1.21 +yarn_mappings=1.21+build.2 +loader_version=0.15.11 # Mod Properties -mod_version=1.4.15 +mod_version=1.4.16 maven_group=us.potatoboy archives_base_name=InvView # Dependencies # check this on https://fabricmc.net/develop/ -fabric_version=0.97.5+1.20.5 -trinkets_version=3.8.0 -apoli_version=2.10.3 -sgui_version=1.5.0+1.20.5 +fabric_version=0.100.1+1.21 +trinkets_version=3.9.0 +apoli_version=2.11.11 +sgui_version=1.6.0+1.21 diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 1cfd5e9..f3a29d3 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -32,8 +32,8 @@ "invview.mixins.json" ], "depends": { - "fabricloader": ">=0.15.10", + "fabricloader": ">=0.15.11", "fabric": "*", - "minecraft": ">=1.20.5" + "minecraft": ">=1.21" } -} \ No newline at end of file +} diff --git a/src/main/resources/invview.mixins.json b/src/main/resources/invview.mixins.json index 109cc66..ce829ce 100644 --- a/src/main/resources/invview.mixins.json +++ b/src/main/resources/invview.mixins.json @@ -2,7 +2,7 @@ "required": true, "minVersion": "0.8", "package": "us.potatoboy.invview.mixin", - "compatibilityLevel": "JAVA_17", + "compatibilityLevel": "JAVA_21", "mixins": [ "EntityAccessor" ],