diff --git a/build.gradle b/build.gradle index 11fd16be..1d74a1c7 100644 --- a/build.gradle +++ b/build.gradle @@ -57,8 +57,7 @@ processResources { } tasks.withType(JavaCompile).configureEach { - // Minecraft 1.18 (1.18-pre2) upwards uses Java 17. - it.options.release = 17 + it.options.release = 21 } tasks.register('sourcesJar', Jar) { diff --git a/gradle.properties b/gradle.properties index 4b04bdda..5ca57008 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,15 +1,15 @@ # suppress inspection "AlphaUnsortedPropertiesFile" for whole file # Done to increase the memory available to gradle. -org.gradle.jvmargs=-Xmx2G +org.gradle.jvmargs=-Xmx4G # Fabric Properties # check these on https://modmuss50.me/fabric.html -minecraft_version=1.21 -yarn_mappings=1.21+build.9 +minecraft_version=1.21.1 +yarn_mappings=1.21.1+build.3 loader_version=0.16.0 # Mod Properties -mod_version=1.10.1 +mod_version=1.10.2 maven_group=net.cyberflame archives_base_name=viewmodel # Dependencies # check this on https://modmuss50.me/fabric.html -fabric_version=0.100.7+1.21 +fabric_version=0.102.1+1.21.1 diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index cc3af3dc..fc584939 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -24,7 +24,7 @@ ], "depends": { "fabricloader": ">=0.15.1", - "minecraft": "~1.21", + "minecraft": "~1.21.1", "java": ">=21", "fabric-api": "*" } diff --git a/src/main/resources/viewmodel.mixins.json b/src/main/resources/viewmodel.mixins.json index c9542e57..92c2acec 100644 --- a/src/main/resources/viewmodel.mixins.json +++ b/src/main/resources/viewmodel.mixins.json @@ -2,7 +2,7 @@ "required": true, "minVersion": "0.8", "package": "net.cyberflame.viewmodel.mixin", - "compatibilityLevel": "JAVA_17", + "compatibilityLevel": "JAVA_21", "mixins": [ "MixinHeldItemRenderer", "MixinKeyboard"