Package net.minecraft.command.argument
Class ScoreboardCriterionArgumentType
java.lang.Object
net.minecraft.command.argument.ScoreboardCriterionArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<ScoreboardCriterion>
public class ScoreboardCriterionArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<ScoreboardCriterion>
- Mappings:
Namespace Name official ef
intermediary net/minecraft/class_2216
named net/minecraft/command/argument/ScoreboardCriterionArgumentType
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Collection<String>
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ScoreboardCriterion
getCriterion
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) <T> String
getStatName
(StatType<T> stat, Object value) <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 b
Lef;b:Ljava/util/Collection;
intermediary field_9926
Lnet/minecraft/class_2216;field_9926:Ljava/util/Collection;
named EXAMPLES
Lnet/minecraft/command/argument/ScoreboardCriterionArgumentType;EXAMPLES:Ljava/util/Collection;
-
INVALID_CRITERION_EXCEPTION
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_CRITERION_EXCEPTION- Mappings:
Namespace Name Mixin selector official a
Lef;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_9927
Lnet/minecraft/class_2216;field_9927:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
named INVALID_CRITERION_EXCEPTION
Lnet/minecraft/command/argument/ScoreboardCriterionArgumentType;INVALID_CRITERION_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
-
Constructor Details
-
ScoreboardCriterionArgumentType
private ScoreboardCriterionArgumentType()
-
-
Method Details
-
scoreboardCriterion
- Mappings:
Namespace Name Mixin selector official a
Lef;a()Lef;
intermediary method_9399
Lnet/minecraft/class_2216;method_9399()Lnet/minecraft/class_2216;
named scoreboardCriterion
Lnet/minecraft/command/argument/ScoreboardCriterionArgumentType;scoreboardCriterion()Lnet/minecraft/command/argument/ScoreboardCriterionArgumentType;
-
getCriterion
public static ScoreboardCriterion getCriterion(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) - Mappings:
Namespace Name Mixin selector official a
Lef;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lebf;
intermediary method_9402
Lnet/minecraft/class_2216;method_9402(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_274;
named getCriterion
Lnet/minecraft/command/argument/ScoreboardCriterionArgumentType;getCriterion(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/scoreboard/ScoreboardCriterion;
-
parse
public ScoreboardCriterion parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<ScoreboardCriterion>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lef;a(Lcom/mojang/brigadier/StringReader;)Lebf;
intermediary method_9403
Lnet/minecraft/class_2216;method_9403(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_274;
named parse
Lnet/minecraft/command/argument/ScoreboardCriterionArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/scoreboard/ScoreboardCriterion;
-
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<ScoreboardCriterion>
- Mappings:
Namespace Name Mixin selector official listSuggestions
Lef;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary listSuggestions
Lnet/minecraft/class_2216;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
named listSuggestions
Lnet/minecraft/command/argument/ScoreboardCriterionArgumentType;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
getStatName
- Mappings:
Namespace Name Mixin selector official a
Lef;a(Lalx;Ljava/lang/Object;)Ljava/lang/String;
intermediary method_9400
Lnet/minecraft/class_2216;method_9400(Lnet/minecraft/class_3448;Ljava/lang/Object;)Ljava/lang/String;
named getStatName
Lnet/minecraft/command/argument/ScoreboardCriterionArgumentType;getStatName(Lnet/minecraft/stat/StatType;Ljava/lang/Object;)Ljava/lang/String;
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<ScoreboardCriterion>
-