public static interface Command.Builder
Modifier and Type | Method and Description |
---|---|
Command.Builder |
action(Command.Action action) |
Command.Builder |
addPart(CommandPart part) |
Command.Builder |
addParts(CommandPart... parts) |
Command.Builder |
addParts(java.lang.Iterable<CommandPart> parts) |
Command.Builder |
aliases(java.util.Collection<java.lang.String> aliases) |
Command |
build() |
Command.Builder |
condition(Command.Condition condition) |
Command.Builder |
description(net.kyori.text.Component description) |
Command.Builder |
footer(net.kyori.text.Component footer) |
Command.Builder |
name(java.lang.String name) |
Command.Builder |
parts(java.util.Collection<CommandPart> parts) |
Command.Builder |
suggester(SuggestionProvider suggester) |
Command.Builder name(java.lang.String name)
Command.Builder aliases(java.util.Collection<java.lang.String> aliases)
Command.Builder description(net.kyori.text.Component description)
Command.Builder footer(@Nullable net.kyori.text.Component footer)
Command.Builder parts(java.util.Collection<CommandPart> parts)
Command.Builder addPart(CommandPart part)
Command.Builder addParts(CommandPart... parts)
Command.Builder addParts(java.lang.Iterable<CommandPart> parts)
Command.Builder action(Command.Action action)
Command.Builder condition(Command.Condition condition)
Command.Builder suggester(SuggestionProvider suggester)
Command build()