Skip to content

Test

object Test : CategorySpec

Types

TestEnum

TestNestedSpec

TestSpec

class TestSpec : DataSpec

TestSub

Properties

client

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

id

val id: String

isEnabled

open override val isEnabled: Boolean

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.

testBoolean

testColor

testColorList

testColorMap

testDouble

testDoubleList

testDoubleMap

testEnumSelector

testFloat

testFloatList

testFloatMap

testInt

val testInt: Int

testIntList

testIntMap

testIntSlider

testKeycode

testKeycodeList

testKeycodeMap

testLong

val testLong: Long

testLongList

testLongMap

testLongSlider

testNestedSpec

testRegistry

val testRegistry: BlockItem

testRegistryList

val testRegistryList: List<BlockItem>

testRegistryMap

val testRegistryMap: Map<String, BlockItem>

testSelector

testSpec

testSpecList

testSpecMap

testString

testStringList

testStringMap

title

val title: Component