Annotation Type AllowEmptySelection


@Target(PARAMETER) @Retention(RUNTIME) @API(status=STABLE, since="1.8.0") public @interface AllowEmptySelection
Annotation used to specify if an empty result is allowed for MultiplePlayerSelectorParser and MultipleEntitySelectorParser.
Since:
1.8.0
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether to allow empty results.
  • Element Details

    • value

      boolean value
      Whether to allow empty results.
      Returns:
      value
      Default:
      true