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>
A CommandTreeNode that controls whether multiple entries can be parsed.
  • Method Details

    • 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.