| Modifier and Type | Field and Description |
|---|---|
private static Collection<String> |
EXAMPLES |
| Constructor and Description |
|---|
TestClassArgumentType() |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getExamples() |
static String |
getTestClass(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context,
String name) |
<S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> |
listSuggestions(com.mojang.brigadier.context.CommandContext<S> commandContext,
com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder) |
String |
parse(com.mojang.brigadier.StringReader stringReader) |
static TestClassArgumentType |
testClass() |
private static final Collection<String> EXAMPLES
public String parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
parse in interface com.mojang.brigadier.arguments.ArgumentType<String>com.mojang.brigadier.exceptions.CommandSyntaxExceptionpublic static TestClassArgumentType testClass()
public static String getTestClass(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> commandContext, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder)
listSuggestions in interface com.mojang.brigadier.arguments.ArgumentType<String>public Collection<String> getExamples()
getExamples in interface com.mojang.brigadier.arguments.ArgumentType<String>