Interface CommandTreeNode.EntitySelection

All Superinterfaces:
CommandTreeNode<CommandTreeNode.EntitySelection>, CommandTreeNode.Argument<CommandTreeNode.EntitySelection>
Enclosing interface:
CommandTreeNode<T extends CommandTreeNode<T>>

public static interface CommandTreeNode.EntitySelection extends CommandTreeNode.Argument<CommandTreeNode.EntitySelection>
A CommandTreeNode that augments entity based parameters.
  • Method Details

    • playersOnly

      Indicates that only players can be selected. If not called, all entities may selected by this element.
      This, for chaining.
    • single

      Indicates that only one entity can be selected by this parameter. If this is not called, this element will default to allowing the selection of multiple entities.
      This, for chaining.