Buttons, Colors and Keybinds
Learn about the button, color and keybind elements that can be used in a config.
Buttons
Common button
@Button(
name = "I'm a button", // name beside the button
text = "Click me!" // text on the button itself
)
Runnable runnable = () -> { // using a lambda to create the runnable interface.
System.out.println("I was clicked!");
FMLCommonHandler.instance().exitJava(69, false);
}
Keybinds

Colors


Last updated
Was this helpful?