Package org.spongepowered.api.command
Interface Command.Raw
- All Superinterfaces:
Command
- Enclosing interface:
- Command
A raw command that also contains a
CommandTreeNode
to provide
hints to the client for command completion.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.command.Command
Command.Builder, Command.Parameterized, Command.Raw
-
Method Summary
Modifier and TypeMethodDescriptiondefault CommandTreeNode.Root
Gets theCommandTreeNode
that represents the argument pattern for this command.Methods inherited from interface org.spongepowered.api.command.Command
canExecute, complete, extendedDescription, help, process, shortDescription, usage
-
Method Details
-
commandTree
Gets theCommandTreeNode
that represents the argument pattern for this command.Defaults to a command with an optional string argument string that is greedy.
- Returns:
- The tree.
-