net.minecraft.commands.arguments

public class ScoreHolderArgument

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

eo
net.minecraft.commands.arguments.ScoreHolderArgument
net.minecraft.class_2233
net.minecraft.command.argument.ScoreHolderArgumentType
net.minecraft.src.C_4081_
net.minecraft.commands.arguments.ArgumentScoreholder

Field summary

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

Constructor summary

ModifierConstructor
public (boolean multiple)

Method summary

Modifier and TypeMethod
public static String
a(com.mojang.brigadier.context.CommandContext<dn> 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)
m_108223_(com.mojang.brigadier.context.CommandContext<C_2969_> p_108224_, String p_108225_)
public static Collection<String>
b(com.mojang.brigadier.context.CommandContext<dn> 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)
m_108243_(com.mojang.brigadier.context.CommandContext<C_2969_> p_108244_, String p_108245_)
public static Collection<String>
c(com.mojang.brigadier.context.CommandContext<dn> 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)
m_108246_(com.mojang.brigadier.context.CommandContext<C_2969_> p_108247_, String p_108248_)
public static Collection<String>
a(com.mojang.brigadier.context.CommandContext<dn> 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)
m_108226_(com.mojang.brigadier.context.CommandContext<C_2969_> p_108227_, String p_108228_, Supplier<Collection<String>> p_108229_)
public static ScoreHolderArgument
a()
scoreHolder()
method_9447()
scoreHolder()
m_108217_()
public static ScoreHolderArgument
b()
scoreHolders()
method_9451()
scoreHolders()
m_108239_()
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()