net.minecraft.commands.arguments

public class ScoreHolderArgument

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

gb
net.minecraft.commands.arguments.ScoreHolderArgument
net.minecraft.class_2233
net.minecraft.command.argument.ScoreHolderArgumentType
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
private static final Collection<String>
b
EXAMPLES
field_9948
EXAMPLES
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
c
ERROR_NO_RESULTS
field_9950
EMPTY_SCORE_HOLDER_EXCEPTION
final boolean
d
multiple
field_9949
multiple

Constructor summary

ModifierConstructor
public (boolean multiple)

Method summary

Modifier and TypeMethod
public static ScoreHolder
a(com.mojang.brigadier.context.CommandContext<ew> 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)
public static Collection<ScoreHolder>
b(com.mojang.brigadier.context.CommandContext<ew> 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)
public static Collection<ScoreHolder>
c(com.mojang.brigadier.context.CommandContext<ew> 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)
public static Collection<ScoreHolder>
a(com.mojang.brigadier.context.CommandContext<ew> arg0, String arg1, Supplier<Collection<fdc>> arg2)
getNames(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1, Supplier<Collection<ScoreHolder>> arg2)
method_9450(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1, Supplier<Collection<class_9015>> arg2)
getScoreHolders(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, Supplier<Collection<ScoreHolder>> players)
public static ScoreHolderArgument
a()
scoreHolder()
method_9447()
scoreHolder()
public static ScoreHolderArgument
b()
scoreHolders()
method_9451()
scoreHolders()
public ScoreHolderArgument$Result
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_61183(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public <S> ScoreHolderArgument$Result
a(com.mojang.brigadier.StringReader arg0, S arg1)
parse(com.mojang.brigadier.StringReader arg0, S arg1)
method_61184(com.mojang.brigadier.StringReader arg0, S arg1)
parse(com.mojang.brigadier.StringReader arg0, S arg1)
private ScoreHolderArgument$Result
a(com.mojang.brigadier.StringReader arg0, boolean arg1)
parse(com.mojang.brigadier.StringReader arg0, boolean arg1)
method_9453(com.mojang.brigadier.StringReader arg0, boolean arg1)
parse(com.mojang.brigadier.StringReader reader, boolean allowAtSelectors)
public Collection<String>
getExamples()
getExamples()