@Retention(value=RUNTIME) @Documented @Target(value=TYPE) public @interface Command
Modifier and Type | Required Element and Description |
---|---|
TranslatableText |
description
The command description
|
String |
name
The command name
|
Modifier and Type | Optional Element and Description |
---|---|
Argument[] |
arguments
Command Arguments
|
boolean |
documented
Indicates if the command is documented
|
Option[] |
options
Command Options
|
boolean |
processArgs
Indicates that the command wishes to consume the command line arguments itself, without using
options() or
arguments() |
public abstract String name
public abstract TranslatableText description
public abstract boolean documented
public abstract boolean processArgs
options()
or
arguments()