From a54cb428a70f76705eace3ae25bd98a3d0e82444 Mon Sep 17 00:00:00 2001 From: Madis Otenurm Date: Thu, 1 Dec 2022 03:59:32 +0200 Subject: 1.19.3-pre3 + Cloth update (#307) * 1.19.3-pre3 + cloth config * Update gradle.properties--- build.gradle | 8 ++++---- gradle.properties | 14 +++++++------- .../aizistral/nochatreports/config/ModMenuIntegration.java | 9 ++++----- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/build.gradle b/build.gradle index 9ed6839..1a6698c 100644 --- a/build.gradle +++ b/build.gradle @@ -28,10 +28,10 @@ dependencies { mappings loom.officialMojangMappings() modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" - //modImplementation "com.terraformersmc:modmenu:${project.mod_menu_version}" - //modApi("me.shedaniel.cloth:cloth-config-fabric:${project.cloth_config_version}") { - // exclude(group: "net.fabricmc.fabric-api") - //} + modImplementation "com.terraformersmc:modmenu:${project.mod_menu_version}" + modApi("me.shedaniel.cloth:cloth-config-fabric:${project.cloth_config_version}") { + exclude(group: "net.fabricmc.fabric-api") + } include(fabricApi.module("fabric-api-base", project.fabric_version)) modImplementation include(fabricApi.module("fabric-networking-api-v1", project.fabric_version)) diff --git a/gradle.properties b/gradle.properties index b9c1e9e..d9903d2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,9 +4,9 @@ org.gradle.daemon=false # Fabric Properties # check these on https://fabricmc.net/develop -minecraft_version=1.19.3-pre2 -yarn_mappings=1.19.3-pre2+build.6 -loader_version=0.14.10 +minecraft_version=1.19.3-pre3 +yarn_mappings=1.19.3-pre3+build.1 +loader_version=0.14.11 # Mod Properties mod_version=1.19.3-pre2-v1.16.0 @@ -14,10 +14,10 @@ maven_group=com.aizistral.nochatreports archives_base_name=NoChatReports-FABRIC # Dependencies -fabric_version=0.67.1+1.19.3 -mod_menu_version=5.0.0-alpha.3 -cloth_config_version=9.0.92 +fabric_version=0.68.0+1.19.3 +mod_menu_version=5.0.0-alpha.4 +cloth_config_version=9.0.93 # Publishing curse_id=634062 -curse_release=beta \ No newline at end of file +curse_release=beta diff --git a/src/main/java/com/aizistral/nochatreports/config/ModMenuIntegration.java b/src/main/java/com/aizistral/nochatreports/config/ModMenuIntegration.java index ff9a6a8..86275ae 100644 --- a/src/main/java/com/aizistral/nochatreports/config/ModMenuIntegration.java +++ b/src/main/java/com/aizistral/nochatreports/config/ModMenuIntegration.java @@ -1,4 +1,4 @@ -/* package com.aizistral.nochatreports.config; +package com.aizistral.nochatreports.config; import com.aizistral.nochatreports.core.ServerSafetyState; import com.aizistral.nochatreports.gui.FontHelper; @@ -17,13 +17,13 @@ import net.minecraft.network.chat.Component; import net.minecraft.network.chat.HoverEvent; import java.util.List; -*/ + /** * Implementation of ModMenu and ClothConfig support for the mod. * * @author MODKILLER1001 */ -/* + @Environment(EnvType.CLIENT) public final class ModMenuIntegration implements ModMenuApi { @@ -240,5 +240,4 @@ public final class ModMenuIntegration implements ModMenuApi { }; } -} -*/ \ No newline at end of file +} \ No newline at end of file -- cgit v1.2.3