Annotation Type Argument
-
@Retention(RUNTIME) @Documented @Target(ANNOTATION_TYPE) public @interface Argument
Describes a required argument of aCommand
. 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 TranslatableText
description
Translatable
description of the argument's purposejava.lang.String
name
The name of the argument
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Class<?>
type
The type of the argument's value
-
-
-
-
description
TranslatableText description
Translatable
description of the argument's purpose- Returns:
- description of argument
-
-