public class GameProfileArgument extends java.lang.Object implements com.mojang.brigadier.arguments.ArgumentType<GameProfileArgument.IProfileProvider>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GameProfileArgument.IProfileProvider |
static class |
GameProfileArgument.ProfileProvider |
| Modifier and Type | Field and Description |
|---|---|
static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
field_197111_a |
| Constructor and Description |
|---|
GameProfileArgument() |
| Modifier and Type | Method and Description |
|---|---|
static GameProfileArgument |
gameProfile() |
java.util.Collection<java.lang.String> |
getExamples() |
static java.util.Collection<com.mojang.authlib.GameProfile> |
getGameProfiles(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name) |
<S> java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> |
listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_listSuggestions_1_,
com.mojang.brigadier.suggestion.SuggestionsBuilder p_listSuggestions_2_) |
GameProfileArgument.IProfileProvider |
parse(com.mojang.brigadier.StringReader p_parse_1_) |
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType field_197111_a
public static java.util.Collection<com.mojang.authlib.GameProfile> getGameProfiles(com.mojang.brigadier.context.CommandContext<CommandSource> context, java.lang.String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionpublic static GameProfileArgument gameProfile()
public GameProfileArgument.IProfileProvider parse(com.mojang.brigadier.StringReader p_parse_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
parse in interface com.mojang.brigadier.arguments.ArgumentType<GameProfileArgument.IProfileProvider>com.mojang.brigadier.exceptions.CommandSyntaxExceptionpublic <S> java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_listSuggestions_1_,
com.mojang.brigadier.suggestion.SuggestionsBuilder p_listSuggestions_2_)
listSuggestions in interface com.mojang.brigadier.arguments.ArgumentType<GameProfileArgument.IProfileProvider>public java.util.Collection<java.lang.String> getExamples()
getExamples in interface com.mojang.brigadier.arguments.ArgumentType<GameProfileArgument.IProfileProvider>