类 GameProfileArgumentType
- java.lang.Object
-
- net.minecraft.command.argument.GameProfileArgumentType
-
- 所有已实现的接口:
com.mojang.brigadier.arguments.ArgumentType<GameProfileArgumentType.GameProfileArgument>
public class GameProfileArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<GameProfileArgumentType.GameProfileArgument>
- Mappings:
Namespace Name official dsintermediary net/minecraft/class_2191named net/minecraft/command/argument/GameProfileArgumentType
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static interfaceGameProfileArgumentType.GameProfileArgumentstatic classGameProfileArgumentType.SelectorBacked
-
字段概要
字段 修饰符和类型 字段 说明 private static Collection<String>EXAMPLESstatic com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeUNKNOWN_PLAYER_EXCEPTION
-
构造器概要
构造器 构造器 说明 GameProfileArgumentType()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static GameProfileArgumentTypegameProfile()Collection<String>getExamples()static Collection<com.mojang.authlib.GameProfile>getProfileArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)<S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)GameProfileArgumentType.GameProfileArgumentparse(com.mojang.brigadier.StringReader stringReader)
-
-
-
字段详细资料
-
EXAMPLES
private static final Collection<String> EXAMPLES
- Mappings:
Namespace Name Mixin selector official bLds;b:Ljava/util/Collection;intermediary field_9868Lnet/minecraft/class_2191;field_9868:Ljava/util/Collection;named EXAMPLESLnet/minecraft/command/argument/GameProfileArgumentType;EXAMPLES:Ljava/util/Collection;
-
UNKNOWN_PLAYER_EXCEPTION
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType UNKNOWN_PLAYER_EXCEPTION
- Mappings:
Namespace Name Mixin selector official aLds;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_9869Lnet/minecraft/class_2191;field_9869:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named UNKNOWN_PLAYER_EXCEPTIONLnet/minecraft/command/argument/GameProfileArgumentType;UNKNOWN_PLAYER_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
方法详细资料
-
getProfileArgument
public static Collection<com.mojang.authlib.GameProfile> getProfileArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLds;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/Collection;intermediary method_9330Lnet/minecraft/class_2191;method_9330(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/Collection;named getProfileArgumentLnet/minecraft/command/argument/GameProfileArgumentType;getProfileArgument(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/Collection;
-
gameProfile
public static GameProfileArgumentType gameProfile()
- Mappings:
Namespace Name Mixin selector official aLds;a()Lds;intermediary method_9329Lnet/minecraft/class_2191;method_9329()Lnet/minecraft/class_2191;named gameProfileLnet/minecraft/command/argument/GameProfileArgumentType;gameProfile()Lnet/minecraft/command/argument/GameProfileArgumentType;
-
parse
public GameProfileArgumentType.GameProfileArgument parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- 指定者:
parse在接口中com.mojang.brigadier.arguments.ArgumentType<GameProfileArgumentType.GameProfileArgument>- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLds;a(Lcom/mojang/brigadier/StringReader;)Lds$a;intermediary method_9331Lnet/minecraft/class_2191;method_9331(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2191$class_2192;named parseLnet/minecraft/command/argument/GameProfileArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/GameProfileArgumentType$GameProfileArgument;
-
listSuggestions
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
- 指定者:
listSuggestions在接口中com.mojang.brigadier.arguments.ArgumentType<GameProfileArgumentType.GameProfileArgument>- Mappings:
Namespace Name Mixin selector official listSuggestionsLds;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;intermediary listSuggestionsLnet/minecraft/class_2191;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;named listSuggestionsLnet/minecraft/command/argument/GameProfileArgumentType;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
getExamples
public Collection<String> getExamples()
- 指定者:
getExamples在接口中com.mojang.brigadier.arguments.ArgumentType<GameProfileArgumentType.GameProfileArgument>- Mappings:
Namespace Name Mixin selector official getExamplesLds;getExamples()Ljava/util/Collection;intermediary getExamplesLnet/minecraft/class_2191;getExamples()Ljava/util/Collection;named getExamplesLnet/minecraft/command/argument/GameProfileArgumentType;getExamples()Ljava/util/Collection;
-
-