I'm making a mod thing and wanna add a config screen that pops up when you click config but the usual way of doing it has changed
ModLoadingContext.get().registerExtensionPoint(ExtensionPoint.CONFIGGUIFACTORY,
() -> (mc, screen) -> new ConfigScreen(screen));
There's now a ConfigGuiHandler.ConfigGuiFactory thing and I have now idea how it's supposed to be used