Class TreeCommand<S>
java.lang.Object
de.placeblock.commandapi.core.tree.TreeCommand<S>
- Direct Known Subclasses:
LiteralTreeCommand,ParameterTreeCommand
Author: Placeblock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<List<TreeCommand<S>>>getBranches(S source) abstract net.kyori.adventure.text.TextComponentabstract net.kyori.adventure.text.TextComponentgetSuggestions(ParsedCommandBranch<S> command, S source) booleanhasNoPermission(S source) protected abstract voidparse(ParsedCommandBranch<S> command, S source) parseRecursive(ParsedCommandBranch<S> command, S source)
-
Constructor Details
-
TreeCommand
public TreeCommand()
-
-
Method Details
-
parse
protected abstract void parse(ParsedCommandBranch<S> command, S source) throws CommandParseException - Throws:
CommandParseException
-
parseRecursive
-
getBranches
-
hasNoPermission
-
getSuggestions
-
getHelpComponent
public abstract net.kyori.adventure.text.TextComponent getHelpComponent() -
getHelpExtraDescription
public abstract net.kyori.adventure.text.TextComponent getHelpExtraDescription()
-