net.minecraft.commands.arguments

public class ScoreHolderArgument

implements com.mojang.brigadier.arguments.ArgumentType<ScoreHolderArgument$Result>

dw
net.minecraft.commands.arguments.ScoreHolderArgument
net.minecraft.class_2233
net.minecraft.command.arguments.ScoreHolderArgumentType
net.minecraft.command.arguments.ScoreHolderArgument
net.minecraft.server.v1_16_R1.ArgumentScoreholder

Field summary

Modifier and TypeField
public static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
a
SUGGEST_SCORE_HOLDERS
field_9951
SUGGESTION_PROVIDER
field_201326_a
private static final Collection<String>
b
EXAMPLES
field_9948
EXAMPLES
field_201327_b
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
c
ERROR_NO_RESULTS
field_9950
EMPTY_SCORE_HOLDER_EXCEPTION
field_197215_a
private final boolean
d
multiple
field_9949
multiple
field_197216_b

Constructor summary

ModifierConstructor
public (boolean multiple)

Method summary

Modifier and TypeMethod
public static String
a(com.mojang.brigadier.context.CommandContext<cz> arg0, String arg1)
getName(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9452(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getScoreHolder(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
func_197211_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public static Collection<String>
b(com.mojang.brigadier.context.CommandContext<cz> arg0, String arg1)
getNames(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9458(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getScoreHolders(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
func_197213_b(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public static Collection<String>
c(com.mojang.brigadier.context.CommandContext<cz> arg0, String arg1)
getNamesWithDefaultWildcard(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9449(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getScoreboardScoreHolders(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
func_211707_c(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public static Collection<String>
a(com.mojang.brigadier.context.CommandContext<cz> arg0, String arg1, Supplier<Collection<String>> arg2)
getNames(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1, Supplier<Collection<String>> arg2)
method_9450(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1, Supplier<Collection<String>> arg2)
getScoreHolders(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, Supplier<Collection<String>> players)
func_197210_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1, Supplier<Collection<String>> arg2)
public static ScoreHolderArgument
a()
scoreHolder()
method_9447()
scoreHolder()
func_197209_a()
public static ScoreHolderArgument
b()
scoreHolders()
method_9451()
scoreHolders()
func_197214_b()
public ScoreHolderArgument$Result
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9453(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public Collection<String>
getExamples()
getExamples()
getExamples()
getExamples()
getExamples()