Skip to content

General

Properties

client

Client-side mirror of this category, used to build the Cloth Config UI.

id

val id: String

isEnabled

open val isEnabled: Boolean = true

Whether this category is currently active. When false, Cloth Config hides/disables the category's fields in the UI. Override with a get() that reads another field (e.g. a parent toggle) to make this category conditional.

subcategories

Nested CategorySpec objects declared inside this one, for grouping in the UI.

tests

val tests: Boolean

title

val title: Component