Package net.minecraft.command.argument
Class ScoreboardObjectiveArgumentType
java.lang.Object
net.minecraft.command.argument.ScoreboardObjectiveArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<String>
public class ScoreboardObjectiveArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<String>
- Mappings:
Namespace Name official ej
intermediary net/minecraft/class_2214
named net/minecraft/command/argument/ScoreboardObjectiveArgumentType
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Collection<String>
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScoreboardObjective
getObjective
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static ScoreboardObjective
getWritableObjective
(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)
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector official a
Lej;a:Ljava/util/Collection;
intermediary field_9919
Lnet/minecraft/class_2214;field_9919:Ljava/util/Collection;
named EXAMPLES
Lnet/minecraft/command/argument/ScoreboardObjectiveArgumentType;EXAMPLES:Ljava/util/Collection;
-
UNKNOWN_OBJECTIVE_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType UNKNOWN_OBJECTIVE_EXCEPTION- Mappings:
Namespace Name Mixin selector official b
Lej;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_9922
Lnet/minecraft/class_2214;field_9922:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
named UNKNOWN_OBJECTIVE_EXCEPTION
Lnet/minecraft/command/argument/ScoreboardObjectiveArgumentType;UNKNOWN_OBJECTIVE_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
READONLY_OBJECTIVE_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType READONLY_OBJECTIVE_EXCEPTION- Mappings:
Namespace Name Mixin selector official c
Lej;c:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_9921
Lnet/minecraft/class_2214;field_9921:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
named READONLY_OBJECTIVE_EXCEPTION
Lnet/minecraft/command/argument/ScoreboardObjectiveArgumentType;READONLY_OBJECTIVE_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
-
Constructor Details
-
ScoreboardObjectiveArgumentType
public ScoreboardObjectiveArgumentType()
-
-
Method Details
-
scoreboardObjective
- Mappings:
Namespace Name Mixin selector official a
Lej;a()Lej;
intermediary method_9391
Lnet/minecraft/class_2214;method_9391()Lnet/minecraft/class_2214;
named scoreboardObjective
Lnet/minecraft/command/argument/ScoreboardObjectiveArgumentType;scoreboardObjective()Lnet/minecraft/command/argument/ScoreboardObjectiveArgumentType;
-
getObjective
public static ScoreboardObjective getObjective(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 official a
Lej;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ldxl;
intermediary method_9395
Lnet/minecraft/class_2214;method_9395(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_266;
named getObjective
Lnet/minecraft/command/argument/ScoreboardObjectiveArgumentType;getObjective(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/scoreboard/ScoreboardObjective;
-
getWritableObjective
public static ScoreboardObjective getWritableObjective(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 official b
Lej;b(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ldxl;
intermediary method_9393
Lnet/minecraft/class_2214;method_9393(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_266;
named getWritableObjective
Lnet/minecraft/command/argument/ScoreboardObjectiveArgumentType;getWritableObjective(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/scoreboard/ScoreboardObjective;
-
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 official a
Lej;a(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
intermediary method_9396
Lnet/minecraft/class_2214;method_9396(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
named parse
Lnet/minecraft/command/argument/ScoreboardObjectiveArgumentType;parse(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 official listSuggestions
Lej;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary listSuggestions
Lnet/minecraft/class_2214;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
named listSuggestions
Lnet/minecraft/command/argument/ScoreboardObjectiveArgumentType;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>
-