sub
fun sub(name: String, creator: CommandCreator<LiteralArgumentBuilder<CommandSourceStack>>.() -> Unit): CommandCreator<T>
Adds a sub-command structure defined by a literal.
Return
this CommandCreator instance for chaining
Parameters
name
the literal for the sub-command
creator
the configuration block for the sub-command