public class VelocityRootCommand extends Object implements com.velocitypowered.api.command.Command, co.aikar.commands.RootCommand
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(co.aikar.commands.BaseCommand command) |
void |
execute(com.velocitypowered.api.command.CommandSource source,
String[] args) |
List<co.aikar.commands.BaseCommand> |
getChildren() |
String |
getCommandName() |
co.aikar.commands.BaseCommand |
getDefCommand() |
co.aikar.commands.CommandManager |
getManager() |
com.google.common.collect.SetMultimap<String,co.aikar.commands.RegisteredCommand> |
getSubCommands() |
List<String> |
suggest(com.velocitypowered.api.command.CommandSource source,
String[] args) |
public String getCommandName()
getCommandName in interface co.aikar.commands.RootCommandpublic void addChild(co.aikar.commands.BaseCommand command)
addChild in interface co.aikar.commands.RootCommandpublic co.aikar.commands.CommandManager getManager()
getManager in interface co.aikar.commands.RootCommandpublic com.google.common.collect.SetMultimap<String,co.aikar.commands.RegisteredCommand> getSubCommands()
getSubCommands in interface co.aikar.commands.RootCommandpublic List<co.aikar.commands.BaseCommand> getChildren()
getChildren in interface co.aikar.commands.RootCommandpublic void execute(com.velocitypowered.api.command.CommandSource source, String[] args)
execute in interface com.velocitypowered.api.command.Commandpublic List<String> suggest(com.velocitypowered.api.command.CommandSource source, String[] args)
suggest in interface com.velocitypowered.api.command.Commandpublic co.aikar.commands.BaseCommand getDefCommand()
getDefCommand in interface co.aikar.commands.RootCommandCopyright © 2019. All rights reserved.