Cloth Config
CtrlK
  • Introduction to Cloth Config
  • Frequently Asked Questions
  • Setup Cloth Config
    • Setup with Fabric
    • Setup with Forge
  • Using Cloth Config
    • Creating a Config Screen
    • Saving the Config
    • Creating a Config Category
    • Creating a Config Option
    • Building the Config Screen
  • Advanced
    • Creating a Dropdown Menu
    • ModMenu Integration
  • Auto Config
    • Introduction to Auto Config 1u
    • Setup with Gradle
    • Creating a Config Class
    • Registering the Config
    • Reading the Config
    • Generating a Cloth Config Screen
    • Annotations
    • Post-Validation
    • Partitioning the Config
    • Custom Gui Handlers
Powered by GitBook
On this page

Was this helpful?

  1. Using Cloth Config

Building the Config Screen

Here is how you can get the finished screen from the builder.

[...]
Screen screen = builder.build();

And you can show it to the player.

[...]
MinecraftClient.getInstance().openScreen(screen);
PreviousCreating a Config OptionNextCreating a Dropdown Menu

Last updated 5 years ago

Was this helpful?