Interface IConfigScreenFactory

All Superinterfaces:
net.neoforged.fml.IExtensionPoint

public interface IConfigScreenFactory extends net.neoforged.fml.IExtensionPoint
Register an instance to ModContainer.registerExtensionPoint(Class, Supplier) to supply a config screen for your mod.

The config screen will be accessible from the mod list menu.

  • Method Details

    • createScreen

      Screen createScreen(Minecraft minecraft, Screen modListScreen)
      Creates a new config screen. The modListScreen parameter can be used for a "back" button.
    • getForMod

      static Optional<IConfigScreenFactory> getForMod(net.neoforged.neoforgespi.language.IModInfo selectedMod)