From 2fa3699d0440034b23fd769e81c1965a31dd0fe8 Mon Sep 17 00:00:00 2001 From: Reagan Date: Wed, 24 Jun 2026 03:01:30 +1200 Subject: Update to 26.2 (#551) * Bump version numbers for 26.2 * Update Minecraft references to 26.2 * Remove JAVA_25 compatibility specified in Mixin configs for Forge Not sure why Forge broke it, but e.g. 50ap5ud5/BoatItemView@8b699cc6247d9ae80febdd638f102b0ed38b1873 does the same. * Remove Cloth Config from Forge Cloth Config on Forge is dead: shedaniel/cloth-config#322 and doesn't work, attempting to open the Config screen doesn't work and logs an Exception. Still keep it on NeoForge. * NeoForge: Add Cloth Config as optional dependency for modrinth/cf * (Neo)Forge: Remove local modmenu dependency Neither of these loaders use it anyway, Fabric uses a non-local version. * NeoForge: Switch back to online Cloth Config API artifact This uses the latest version makes runClient configuration work again. * build.gradle: cleanup repositories * Fix Forge build * Use NeoForge Cloth Config for Forge build * List tibequadorian and xbjfk as contributors * List Cloth Config Forge port in project relations --------- Co-authored-by: Aizistral --- .../com/aizistral/nochatreports/forge/NoChatReports.java | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'forge/src/main/java/com') diff --git a/forge/src/main/java/com/aizistral/nochatreports/forge/NoChatReports.java b/forge/src/main/java/com/aizistral/nochatreports/forge/NoChatReports.java index 7ca0815..0c02ce8 100644 --- a/forge/src/main/java/com/aizistral/nochatreports/forge/NoChatReports.java +++ b/forge/src/main/java/com/aizistral/nochatreports/forge/NoChatReports.java @@ -1,18 +1,14 @@ package com.aizistral.nochatreports.forge; import java.nio.file.Path; -import java.util.function.Function; -import com.aizistral.nochatreports.common.NCRClient; import com.aizistral.nochatreports.common.NCRCore; import com.aizistral.nochatreports.common.platform.PlatformProvider; import com.aizistral.nochatreports.common.platform.events.ClientEvents; import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.screens.Screen; import net.minecraft.client.multiplayer.ClientPacketListener; import net.minecraftforge.api.distmarker.Dist; -import net.minecraftforge.client.ConfigScreenHandler; import net.minecraftforge.client.event.ClientPlayerNetworkEvent; import net.minecraftforge.eventbus.api.listener.SubscribeEvent; import net.minecraftforge.fml.common.Mod; @@ -27,15 +23,6 @@ public class NoChatReports implements PlatformProvider { public NoChatReports(FMLJavaModLoadingContext context) { NCRCore.awaken(this); - Function configScreenFactory = NCRClient.getConfigScreen(); - if (isOnClient() && configScreenFactory != null) { - context.registerExtensionPoint( - ConfigScreenHandler.ConfigScreenFactory.class, - () -> new ConfigScreenHandler.ConfigScreenFactory( - (minecraft, parent) -> configScreenFactory.apply(parent) - ) - ); - } } @Override -- cgit v1.2.3