public interface BukkitBrigadierBridge<A extends BukkitCommandActor>
| Modifier and Type | Method and Description |
|---|---|
static @NotNull java.util.List<java.lang.String> |
getAliases(org.bukkit.command.Command command)
Gets the aliases known for the given command.
|
void |
register(revxrsal.commands.command.ExecutableCommand<A> command)
Registers the provided argument data to the dispatcher, against all
aliases defined for the
command. |
@NotNull static @NotNull java.util.List<java.lang.String> getAliases(org.bukkit.command.Command command)
This will include the main label, as well as defined aliases, and aliases including the fallback prefix added by Bukkit.
command - the commandvoid register(revxrsal.commands.command.ExecutableCommand<A> command)
command.command - the command to read aliases from