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 ElementsModifier and TypeRequired ElementDescriptionTranslatabledescription of the argument's purposeThe name of the argument -
Optional Element Summary
Optional Elements
-
Element Details
-
name
String nameThe name of the argument- Returns:
- The argument name
-
description
TranslatableText descriptionTranslatabledescription of the argument's purpose- Returns:
- description of argument
-
-
-
type
Class<?> typeThe type of the argument's value- Returns:
- The argument value's type
- Default:
- java.lang.String.class
-