From a304ac916d2665cd4f28b0f07c7541b333f1083f Mon Sep 17 00:00:00 2001 From: Tunfisch96 <65600302+Tunfisch96@users.noreply.github.com> Date: Thu, 9 Jan 2025 21:45:02 +0100 Subject: [PATCH 1/2] bump to minecraft 1.21.3 (#355) --- .../mod/fabric/mixins/MinecraftServerMixin.java | 2 +- gradle.properties | 10 +++++----- gradle/wrapper/gradle-wrapper.properties | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/fabric/src/main/java/net/pcal/fastback/mod/fabric/mixins/MinecraftServerMixin.java b/fabric/src/main/java/net/pcal/fastback/mod/fabric/mixins/MinecraftServerMixin.java index 6978bd16..87964a5d 100644 --- a/fabric/src/main/java/net/pcal/fastback/mod/fabric/mixins/MinecraftServerMixin.java +++ b/fabric/src/main/java/net/pcal/fastback/mod/fabric/mixins/MinecraftServerMixin.java @@ -41,7 +41,7 @@ public class MinecraftServerMixin { * Intercept the call to saveAll that triggers on autosave, pass it through and then send out notification that * the autosave is done. */ - @Redirect(method = "tickServer(Ljava/util/function/BooleanSupplier;)V", + @Redirect(method = "autoSave()V", at = @At(value = "INVOKE", target = "Lnet/minecraft/server/MinecraftServer;saveEverything(ZZZ)Z")) public boolean fastback_saveAll(MinecraftServer instance, boolean suppressLogs, boolean flush, boolean force) { boolean result = instance.saveEverything(suppressLogs, flush, force); diff --git a/gradle.properties b/gradle.properties index b311dcca..b50953a5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ # # Fastback # -mod_version = 0.20.1+1.21.1-prerelease +mod_version = 0.19.2+1.21.3-prerelease maven_group = net.pcal maven_name = fastback archives_base_name = fastback @@ -10,9 +10,9 @@ archives_base_name = fastback # # Fabric & Minecraft - https://fabricmc.net/develop # -minecraft_version=1.21.1 -loader_version=0.16.10 -fabric_version=0.114.0+1.21.1 +minecraft_version=1.21.3 +loader_version=0.16.4 +fabric_version=0.106.1+1.21.3 # # Forge @@ -54,7 +54,7 @@ fabric_permissions_version = 0.3.1 # https://github.com/NucleoidMC/Server-Translations/releases # https://maven.nucleoid.xyz/xyz/nucleoid/server-translations-api/ -server_translations_version = 2.3.1+1.21-pre2 +server_translations_version = 2.4.0+1.21.2-rc1 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index df97d72b..9355b415 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME From 49389cad3174ba1156e0b7332e1b30a5b480dcd4 Mon Sep 17 00:00:00 2001 From: Patrick Calahan Date: Fri, 10 Jan 2025 18:03:56 -0800 Subject: [PATCH 2/2] touch up bump --- gradle.properties | 6 +++--- gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gradle.properties b/gradle.properties index b50953a5..423cfba4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ # # Fastback # -mod_version = 0.19.2+1.21.3-prerelease +mod_version = 0.21.0+1.21.3-prerelease maven_group = net.pcal maven_name = fastback archives_base_name = fastback @@ -11,8 +11,8 @@ archives_base_name = fastback # Fabric & Minecraft - https://fabricmc.net/develop # minecraft_version=1.21.3 -loader_version=0.16.4 -fabric_version=0.106.1+1.21.3 +loader_version=0.16.10 +fabric_version=0.114.0+1.21.3 # # Forge diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 9355b415..df97d72b 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME