From bd205b5ae6b422f253a0f1957bfa89f8c2e5e0e6 Mon Sep 17 00:00:00 2001 From: Zacharias Date: Tue, 1 Apr 2025 02:03:05 +0200 Subject: [PATCH] Updated to 2.6.4 Changed the ClickEvent constructor for the missing cloth error with the new ClickEvent#OpenFile --- .../main/java/me/zacharias/speedometer/Client.java | 2 +- gradle.properties | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/common/src/main/java/me/zacharias/speedometer/Client.java b/common/src/main/java/me/zacharias/speedometer/Client.java index 7012cda..ce40c30 100644 --- a/common/src/main/java/me/zacharias/speedometer/Client.java +++ b/common/src/main/java/me/zacharias/speedometer/Client.java @@ -67,7 +67,7 @@ public class Client { .append(Component .literal("Open Config") .withStyle(ChatFormatting.UNDERLINE) - .withStyle((style) -> style.withClickEvent(new ClickEvent(ClickEvent.Action.OPEN_FILE, Config.getConfigPath()))) + .withStyle((style) -> style.withClickEvent(new ClickEvent.OpenFile(Config.getConfigPath()))) ), false); LOGGER.warn(Component.translatable("speedometer.error.missing_cloth").getString()); } diff --git a/gradle.properties b/gradle.properties index 1a1ce70..699a8cf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,29 +1,29 @@ org.gradle.jvmargs=-Xmx8G -minecraft_version=1.21.4 +minecraft_version=1.21.5 archives_base_name=speedometer -mod_version=6.2.3 +mod_version=6.2.4 maven_group=me.zacharias # https://modrinth.com/mod/architectury-api/versions -architectury_version=15.0.3 +architectury_version=16.0.3 # https://modrinth.com/mod/cloth-config/versions -cloth_config_version = 17.0.144 +cloth_config_version = 18.0.145 # NeoForged Only # https://neoforged.net/ -neoforge_version = 21.4.123 +neoforge_version = 21.5.14-beta # Fabric Only # https://fabricmc.net/develop/ fabric_loader_version=0.16.10 -fabric_api_version=0.119.2 +fabric_api_version=0.119.6 # Fabric Only # https://modrinth.com/mod/modmenu/versions -modmenu_version = 13.0.3 +modmenu_version = 14.0.0-rc.2 # Version of the org.json json library json_version = 20240303 \ No newline at end of file