public class ModIdArgument
extends java.lang.Object
implements com.mojang.brigadier.arguments.ArgumentType<java.lang.String>
Modifier and Type | Field and Description |
---|---|
private static java.util.List<java.lang.String> |
EXAMPLES |
Constructor and Description |
---|
ModIdArgument() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
getExamples() |
<S> java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> |
listSuggestions(com.mojang.brigadier.context.CommandContext<S> context,
com.mojang.brigadier.suggestion.SuggestionsBuilder builder) |
static ModIdArgument |
modIdArgument() |
java.lang.String |
parse(com.mojang.brigadier.StringReader reader) |
public static ModIdArgument modIdArgument()
public java.lang.String parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
parse
in interface com.mojang.brigadier.arguments.ArgumentType<java.lang.String>
com.mojang.brigadier.exceptions.CommandSyntaxException
public <S> java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
listSuggestions
in interface com.mojang.brigadier.arguments.ArgumentType<java.lang.String>
public java.util.Collection<java.lang.String> getExamples()
getExamples
in interface com.mojang.brigadier.arguments.ArgumentType<java.lang.String>