Annotation Interface Argument


Describes a required argument of a Command. The final argument of a command may optionally take more than one value.
Author:
cdivilly
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Translatable description of the argument's purpose
    The name of the argument
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The type of the argument's value
  • Element Details

    • name

      String name
      The name of the argument
      Returns:
      The argument name
    • description

      TranslatableText description
      Translatable description of the argument's purpose
      Returns:
      description of argument
    • type

      Class<?> type
      The type of the argument's value
      Returns:
      The argument value's type
      Default:
      java.lang.String.class