IntegerCommandArgument

Constructors

Link copied to clipboard
public void IntegerCommandArgument(List<Integer> validValues, String hint)
public void IntegerCommandArgument(String hint)

Inherited properties

Link copied to clipboard
protected String hint
Link copied to clipboard
protected final List<String> validValues

Functions

Link copied to clipboard
public boolean matchesInput(String input)

Inherited functions

Link copied to clipboard
public List<String> getSuggestions(CommandSender sender, String partialInput)
Link copied to clipboard
public String hint()
Link copied to clipboard
public boolean isLiteral()
Link copied to clipboard
public boolean isOptional()
Whether this argument may be omitted by the user.
Link copied to clipboard
public boolean isVarargs()
Whether this definition consumes every remaining command-line token.
Link copied to clipboard
public List<String> literals()