Creating a Config Screen

Call ConfigBuilder.create() to create a new config builder, from there you can set the background, create new categories, disable smooth scrolling, etc.

The title will be automatically translated to the language the user selects, make sure you localize the language in the language file.

ConfigBuilder builder = ConfigBuilder.create()
        .setParentScreen(parent)
        .setTitle(new TranslatableText("title.examplemod.config"));

Last updated

Was this helpful?