Skip to content

Widgets and Types

Bizarre Cube edited this page Aug 14, 2026 · 2 revisions

Widgets and Types

The field type determines the widget automatically:

Field type Widget
boolean / Boolean Toggle button (@BooleanConfig)
int/Integer + @Slider Slider
int/Integer + @Color Color picker
enum Cycle button to select a value
String Text field
numeric (long, float, double, ...) Text field with number parsing
Component Display only (label text, not saved)
List<...> Editable list (@ListConfig)
nested object + @Category A separate category/tab

Lists

Supported list elements: String, Integer, Long, Float, Double, Boolean, Component, as well as nested objects. For List<Integer> you can combine it with @Slider or @Color.

Clone this wiki locally