Package-level declarations
Types
Link copied to clipboard
abstract class Mode(name: String, aliases: List<String> = emptyList()) : ValueGroup, EventListener, Tagged, MinecraftShortcuts
Link copied to clipboard
class ModeValueGroup<T : Mode>(val eventListener: EventListener, name: String, activeModeIndexCallback: ToIntFunction<List<T>>, modesCallback: (ModeValueGroup<T>) -> Array<T>) : ValueGroup
Allows configuring and manage modes
Link copied to clipboard
Empty mode without any functionality. Use as a disable mode.
Link copied to clipboard
abstract class ToggleableValueGroup(val parent: EventListener? = null, name: String, enabled: Boolean, aliases: List<String> = emptyList()) : ValueGroup, EventListener, Toggleable, MinecraftShortcuts
A ToggleableValueGroup has a state that can be toggled on and off. It also allows you to register event handlers that are only active when the state is on, it also features onEnabled and onDisabled which are called when the state is toggled.
Link copied to clipboard
open class ValueGroup(name: String, value: MutableCollection<Value<*>> = mutableListOf(), valueType: ValueType = ValueType.CONFIGURABLE, independentDescription: Boolean = false, aliases: List<String> = emptyList()) : Value<MutableCollection<Value<*>>>