Interface CommandTreeNode.Range<S extends Number>
- All Superinterfaces:
- CommandTreeNode<CommandTreeNode.Range<S>>,- CommandTreeNode.Argument<CommandTreeNode.Range<S>>
- Enclosing interface:
- CommandTreeNode<T extends CommandTreeNode<T>>
public static interface CommandTreeNode.Range<S extends Number>
extends CommandTreeNode.Argument<CommandTreeNode.Range<S>>
A 
CommandTreeNode that allows for a min-max range to be set.- 
Nested Class SummaryNested classes/interfaces inherited from interface org.spongepowered.api.command.registrar.tree.CommandTreeNodeCommandTreeNode.Amount, CommandTreeNode.Argument<T extends CommandTreeNode<T>>, CommandTreeNode.Basic, CommandTreeNode.EntitySelection, CommandTreeNode.NodeFactory, CommandTreeNode.Range<S extends Number>, CommandTreeNode.Root, CommandTreeNode.StringParser
- 
Method SummaryModifier and TypeMethodDescriptionSets the maximumCommandTreeNode.Rangeacceptable for this parameter.Sets the minimumCommandTreeNode.Rangeacceptable for this parameter.Methods inherited from interface org.spongepowered.api.command.registrar.tree.CommandTreeNodechild, child, child, completions, completions, customCompletions, executable, redirect, requires
- 
Method Details- 
minSets the minimumCommandTreeNode.Rangeacceptable for this parameter.- Parameters:
- min- The minimum, or- nullif there is no minimum
- Returns:
- This, for chaining
 
- 
maxSets the maximumCommandTreeNode.Rangeacceptable for this parameter.- Parameters:
- max- The maximum, or- nullif there is no maximum
- Returns:
- This, for chaining
 
 
-