diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 14163e1..cee5bb1 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -28,10 +28,10 @@ jobs: - name: Validate Gradle wrapper uses: gradle/actions/wrapper-validation@v3 - - name: Set up Java 17 + - name: Set up Java 21 uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'microsoft' - name: Grant execute permission for gradlew diff --git a/README.md b/README.md index 3f56058..7556143 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ The zoom from the [Wurst Client](https://www.wurstclient.net/) as a standalone m ## Setup (for developers) -(This assumes that you are using Windows with [Eclipse](https://www.eclipse.org/downloads/) and [Java Development Kit 17](https://adoptium.net/?variant=openjdk17&jvmVariant=hotspot) already installed.) +(This assumes that you are using Windows with [Eclipse](https://www.eclipse.org/downloads/) and [Java Development Kit 21](https://adoptium.net/?variant=openjdk21&jvmVariant=hotspot) already installed.) 1. Clone or download the repository. diff --git a/build.gradle b/build.gradle index 7aeb75f..064af87 100644 --- a/build.gradle +++ b/build.gradle @@ -14,8 +14,8 @@ plugins { def ENV = System.getenv() -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 @@ -48,8 +48,8 @@ processResources { } tasks.withType(JavaCompile).configureEach { - // Minecraft 1.18 (1.18-pre2) upwards uses Java 17. - it.options.release = 17 + // Minecraft 1.20.5 (24w14a) upwards uses Java 21. + it.options.release = 21 } java { @@ -102,7 +102,7 @@ curseforge { changelogType = "html" changelog = file("changelog.txt") releaseType = "release" - addGameVersion "1.20.4" + addGameVersion "1.20.6" addGameVersion "Fabric" mainArtifact(file("${project.buildDir}/libs/${archivesBaseName}-${version}.jar")) diff --git a/changelog.txt b/changelog.txt index 627714d..cd8d789 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,2 +1,2 @@ -

A changelog can be found at: https://www.wimods.net/wi-zoom/wi-zoom-1-5/

-

Note: This mod requires Fabric API for Minecraft 1.20.4.

+

A changelog can be found at: https://www.wimods.net/wi-zoom/wi-zoom-1-5/

+

Note: This mod requires Fabric API for Minecraft 1.20.6.

diff --git a/gradle.properties b/gradle.properties index 82c1db6..d21cbc5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,15 +5,15 @@ org.gradle.parallel=true # Fabric Properties # check these at https://fabricmc.net/develop/ and # https://www.curseforge.com/minecraft/mc-mods/fabric-api -minecraft_version=1.20.4 -yarn_mappings=1.20.4+build.3 +minecraft_version=1.20.6 +yarn_mappings=1.20.6+build.1 loader_version=0.15.10 #Fabric api -fabric_version=0.97.0+1.20.4 +fabric_version=0.97.8+1.20.6 # Mod Properties -mod_version = 1.5-MC1.20.4 +mod_version = 1.5-MC1.20.6 maven_group = net.wurstclient.zoom archives_base_name = WI-Zoom diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index d64cd49..7f93135 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index fb66737..8228236 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -31,9 +31,9 @@ "depends": { "fabricloader": ">=0.15.9", - "fabric-api": ">=0.76.1", - "minecraft": "~1.20-alpha.23.12.a", - "java": ">=17" + "fabric-api": ">=0.96.14", + "minecraft": "~1.20.5-alpha.24.14.a", + "java": ">=21" }, "suggests": { "cameranoclip": "*",