1 package me.shedaniel.lightoverlay.forge;
3 import me.shedaniel.lightoverlay.common.ClothScreen;
4 import net.minecraftforge.fml.ModLoadingContext;
5 import net.minecraftforge.fmlclient.ConfigGuiHandler;
7 public class LightOverlayCloth {
8 public static void register() {
9 ModLoadingContext.get().registerExtensionPoint(ConfigGuiHandler.ConfigGuiFactory.class, () -> new ConfigGuiHandler.ConfigGuiFactory((client, parent) -> {
10 return ClothScreen.getConfigScreenByCloth(parent);