Annotation Type Command
-
@Retention(RUNTIME) @Documented @Target(TYPE) public @interface CommandDescribes a command line command- Author:
- cdivilly
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description TranslatableTextdescriptionThe command descriptionjava.lang.StringnameThe command name
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Argument[]argumentsCommand ArgumentsbooleandocumentedIndicates if the command is documentedOption[]optionsCommand OptionsbooleanprocessArgsIndicates that the command wishes to consume the command line arguments itself, without usingoptions()orarguments()
-
-
-
-
description
TranslatableText description
The command description- Returns:
- command description
-
-
-
processArgs
boolean processArgs
Indicates that the command wishes to consume the command line arguments itself, without usingoptions()orarguments()- Returns:
- true if this Command wants to process the command line arguments itself
- Since:
- 20.2
- Default:
- false
-
-