Class LiteralTreeCommand<S>
java.lang.Object
de.placeblock.commandapi.core.tree.TreeCommand<S>
de.placeblock.commandapi.core.tree.LiteralTreeCommand<S>
Author: Placeblock
-
Constructor Summary
ConstructorsConstructorDescriptionLiteralTreeCommand(Command<S> command, String name, List<TreeCommand<S>> children, net.kyori.adventure.text.TextComponent description, String permission, CommandExecutor<S> run, List<String> aliases) -
Method Summary
Modifier and TypeMethodDescriptionnet.kyori.adventure.text.TextComponentnet.kyori.adventure.text.TextComponentgetSuggestions(ParsedCommandBranch<S> context, S source) protected voidparse(ParsedCommandBranch<S> command, S source) Methods inherited from class de.placeblock.commandapi.core.tree.TreeCommand
getBranches, hasNoPermission, parseRecursive
-
Constructor Details
-
LiteralTreeCommand
-
-
Method Details
-
parse
- Specified by:
parsein classTreeCommand<S>- Throws:
CommandParseException
-
getSuggestions
- Specified by:
getSuggestionsin classTreeCommand<S>
-
getHelpComponent
public net.kyori.adventure.text.TextComponent getHelpComponent()- Specified by:
getHelpComponentin classTreeCommand<S>
-
getHelpExtraDescription
public net.kyori.adventure.text.TextComponent getHelpExtraDescription()- Specified by:
getHelpExtraDescriptionin classTreeCommand<S>
-