Skip to content

ConfigNode

sealed interface ConfigNode

Something a ConfigContainer or ConfigGroup can hold as a child and show as a row in its Cloth Config screen: a ConfigSpec (an "Edit" row opening its own screen), a ConfigGroup (a folder - an "Edit" row opening a subscreen listing its own children), or a ConfigSpecCollection (an "Edit" row opening an add/remove list screen).

Inheritors

Properties

id

abstract val id: String

Stable identifier - this node's path segment when nested under a ConfigGroup.

title

abstract val title: Component

Display title shown for this node's row in its parent's screen.