Package-level declarations

Types

Link copied to clipboard
class BindValue(name: String, aliases: List<String> = emptyList(), defaultValue: InputBind) : Value<InputBind>
Link copied to clipboard
open class Config(name: String, value: MutableCollection<Value<*>> = mutableListOf()) : ValueGroup
Link copied to clipboard
class CurveValue(name: String, value: MutableList<Vector2f>, val xAxis: CurveValue.Axis, val yAxis: CurveValue.Axis, val tension: Float = DEFAULT_TENSION) : ListValue<MutableList<Vector2f>, Vector2f>
Link copied to clipboard

Defines the mode of the file dialog used in a FileValue.

Link copied to clipboard
class FileValue(name: String, default: File?, val dialogMode: FileDialogMode, val supportedExtensions: Set<String>?) : Value<File>

A value file input that supports different file dialog modes and optional file type filtering. It will be treated as a relative path if it starts with ConfigSystem.rootFolder.

Link copied to clipboard
class RangedValue<T : Any>(name: String, aliases: List<String> = emptyList(), defaultValue: T, val range: ClosedRange<*>, val suffix: String, valueType: ValueType) : Value<T>

Ranged value adds support for closed ranges

Link copied to clipboard
open class Value<T : Any>(val name: String, val aliases: List<String> = emptyList(), defaultValue: T, val valueType: ValueType, var independentDescription: Boolean = false)

Value based on generics and support for readable names and descriptions.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Order by name of Value (ignoreCase)

Functions

Link copied to clipboard
fun <V : EventListener, Value<*>> FileValue.toTextureProperty(owner: V, printErrorToChat: Boolean = true): ReadOnlyProperty<Any?, DynamicTexture?>

Convert the FileValue to a ReadOnlyProperty of DynamicTexture.