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>> ACommandTreeNodethat allows for a min-max range to be set.
- 
- 
Nested Class Summary- 
Nested 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 SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description CommandTreeNode.Range<S>max(@Nullable S max)Sets the maximumCommandTreeNode.Rangeacceptable for this parameter.CommandTreeNode.Range<S>min(@Nullable S min)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 Detail- 
minCommandTreeNode.Range<S> min(@Nullable S min) Sets the minimumCommandTreeNode.Rangeacceptable for this parameter.- Parameters:
- min- The minimum, or- nullif there is no minimum
- Returns:
- This, for chaining
 
 - 
maxCommandTreeNode.Range<S> max(@Nullable S max) Sets the maximumCommandTreeNode.Rangeacceptable for this parameter.- Parameters:
- max- The maximum, or- nullif there is no maximum
- Returns:
- This, for chaining
 
 
- 
 
-