Package net.minecraft.command.argument
Class TeamArgumentType
java.lang.Object
net.minecraft.command.argument.TeamArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<String>
public class TeamArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<String>
- Mappings:
Namespace Name named net/minecraft/command/argument/TeamArgumentType
intermediary net/minecraft/class_2243
official gi
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Collection
<String> private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Team
getTeam
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) <S> CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> listSuggestions
(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) parse
(com.mojang.brigadier.StringReader stringReader) static TeamArgumentType
team()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mojang.brigadier.arguments.ArgumentType
parse
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector named EXAMPLES
Lnet/minecraft/command/argument/TeamArgumentType;EXAMPLES:Ljava/util/Collection;
intermediary field_9964
Lnet/minecraft/class_2243;field_9964:Ljava/util/Collection;
official a
Lgi;a:Ljava/util/Collection;
-
UNKNOWN_TEAM_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType UNKNOWN_TEAM_EXCEPTION- Mappings:
Namespace Name Mixin selector named UNKNOWN_TEAM_EXCEPTION
Lnet/minecraft/command/argument/TeamArgumentType;UNKNOWN_TEAM_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_9963
Lnet/minecraft/class_2243;field_9963:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official b
Lgi;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
-
Constructor Details
-
TeamArgumentType
public TeamArgumentType()
-
-
Method Details
-
team
- Mappings:
Namespace Name Mixin selector named team
Lnet/minecraft/command/argument/TeamArgumentType;team()Lnet/minecraft/command/argument/TeamArgumentType;
intermediary method_9482
Lnet/minecraft/class_2243;method_9482()Lnet/minecraft/class_2243;
official a
Lgi;a()Lgi;
-
getTeam
public static Team getTeam(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named getTeam
Lnet/minecraft/command/argument/TeamArgumentType;getTeam(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/scoreboard/Team;
intermediary method_9480
Lnet/minecraft/class_2243;method_9480(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_268;
official a
Lgi;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lfcx;
-
parse
public String parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<String>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named parse
Lnet/minecraft/command/argument/TeamArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
intermediary method_9483
Lnet/minecraft/class_2243;method_9483(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
official a
Lgi;a(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
-
listSuggestions
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Specified by:
listSuggestions
in interfacecom.mojang.brigadier.arguments.ArgumentType<String>
- Mappings:
Namespace Name Mixin selector named listSuggestions
Lnet/minecraft/command/argument/TeamArgumentType;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary listSuggestions
Lnet/minecraft/class_2243;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
official listSuggestions
Lgi;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<String>
-