public class TestFunctionArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<TestFunction>
Modifier and Type | Field and Description |
---|---|
private static Collection<String> |
EXAMPLES |
Constructor and Description |
---|
TestFunctionArgumentType() |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getExamples() |
static TestFunction |
getFunction(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) |
TestFunction |
parse(com.mojang.brigadier.StringReader stringReader) |
static TestFunctionArgumentType |
testFunction() |
private static final Collection<String> EXAMPLES
public TestFunction parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
parse
in interface com.mojang.brigadier.arguments.ArgumentType<TestFunction>
com.mojang.brigadier.exceptions.CommandSyntaxException
public static TestFunctionArgumentType testFunction()
public static TestFunction getFunction(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<TestFunction>
public Collection<String> getExamples()
getExamples
in interface com.mojang.brigadier.arguments.ArgumentType<TestFunction>