Interface CommandTreeNode.Amount
-
- All Superinterfaces:
CommandTreeNode<CommandTreeNode.Amount>
,CommandTreeNode.Argument<CommandTreeNode.Amount>
- Enclosing interface:
- CommandTreeNode<T extends CommandTreeNode<T>>
public static interface CommandTreeNode.Amount extends CommandTreeNode.Argument<CommandTreeNode.Amount>
ACommandTreeNode
that controls whether multiple entries can be parsed.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.command.registrar.tree.CommandTreeNode
CommandTreeNode.Amount, CommandTreeNode.Argument<T extends CommandTreeNode<T>>, CommandTreeNode.Basic, CommandTreeNode.EntitySelection, CommandTreeNode.NodeFactory, CommandTreeNode.Range<S extends java.lang.Number>, CommandTreeNode.Root, CommandTreeNode.StringParser
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommandTreeNode.Amount
single()
Indicates that only one object can be selected by this parameter.-
Methods inherited from interface org.spongepowered.api.command.registrar.tree.CommandTreeNode
child, child, child, completions, completions, customCompletions, executable, redirect, requires
-
-
-
-
Method Detail
-
single
CommandTreeNode.Amount single()
Indicates that only one object can be selected by this parameter. If this is not called, this element will default to allowing the selection of multiple objects.- Returns:
- This, for chaining.
-
-