summaryrefslogtreecommitdiffstats
path: root/forge/src/main/java
diff options
context:
space:
mode:
authorReagan2026-06-24 03:01:30 +1200
committerGitHub2026-06-23 17:01:30 +0200
commit2fa3699d0440034b23fd769e81c1965a31dd0fe8 (patch)
treeb826380dc0dcdbc855a20f8216bb9114a97fb1b6 /forge/src/main/java
parent6ae2536dfe3e89bb88a952a7e02dea0a2b4c6f7c (diff)
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 <admin@aizistral.com>
Diffstat (limited to 'forge/src/main/java')
-rw-r--r--forge/src/main/java/com/aizistral/nochatreports/forge/NoChatReports.java13
1 files changed, 0 insertions, 13 deletions
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<Screen, Screen> configScreenFactory = NCRClient.getConfigScreen();
- if (isOnClient() && configScreenFactory != null) {
- context.registerExtensionPoint(
- ConfigScreenHandler.ConfigScreenFactory.class,
- () -> new ConfigScreenHandler.ConfigScreenFactory(
- (minecraft, parent) -> configScreenFactory.apply(parent)
- )
- );
- }
}
@Override