Package-level declarations

Types

Link copied to clipboard
class CommandBuildContext(val manager: CommandManager<Audience>, val commandMapper: CommandBuilder.(Command.Builder<Audience>) -> Command.Builder<Audience>, name: String, description: String, aliases: String)
Link copied to clipboard
Link copied to clipboard
interface CommandLike

Functions

Link copied to clipboard
inline fun CommandContext<*>.limb(key: String, notFound: (String) -> ModelRenderer): ModelRenderer
Link copied to clipboard
inline fun CommandContext<*>.model(key: String, notFound: (String) -> ModelRenderer): ModelRenderer
Link copied to clipboard
inline fun <T : Any> CommandContext<*>.nullable(key: String): T?
inline fun <T : Any> CommandContext<*>.nullable(key: String, ifNotFound: T): T
inline fun <T : Any> CommandContext<*>.nullable(key: String, ifNotFound: () -> T): T
Link copied to clipboard
fun <T> CommandContext<*>.nullableString(key: String, mapper: (String) -> T): T?
Link copied to clipboard
fun CommandManager<Audience>.register(name: String, description: String, commandMapper: CommandBuilder.(Command.Builder<Audience>) -> Command.Builder<Audience>, vararg aliases: String, block: CommandBuilder.() -> Unit)
Link copied to clipboard
inline fun <T> CommandContext<*>.string(key: String, mapper: (String) -> T): T