public interface ArgumentType<T>
| Modifier and Type | Method and Description |
|---|---|
default Collection<String> |
getExamples() |
default <S> CompletableFuture<Suggestions> |
listSuggestions(CommandContext<S> context,
SuggestionsBuilder builder) |
T |
parse(StringReader reader) |
T parse(StringReader reader) throws CommandSyntaxException
CommandSyntaxExceptiondefault <S> CompletableFuture<Suggestions> listSuggestions(CommandContext<S> context, SuggestionsBuilder builder)
default Collection<String> getExamples()
Copyright © 2018. All rights reserved.