Companion

object Companion

Functions

Link copied to clipboard
@Contract(value = "_ -> new", pure = true)
fun of(builder: LiteralArgumentBuilder<CommandExecutionContext>): BrigadierCommand

Creates a new command backed by the Brigadier command node built from the given builder.

@Contract(value = "_ -> new", pure = true)
fun of(node: LiteralCommandNode<CommandExecutionContext>): BrigadierCommand

Creates a new command backed by the given Brigadier command node.