net.minecraft.command.argument

public class ScoreHolderArgument

implements ArgumentType<ScoreHolderArgument$Result>

cp
net.minecraft.class_4186
net.minecraft.command.argument.ScoreHolderArgument
net.minecraft.command.arguments.ScoreHolderArgument
net.minecraft.command.arguments.ScoreHolderArgument

Field summary

Modifier and TypeField
public static final SuggestionProvider<CommandSourceStack>
a
field_20535
SCORE_HOLDER_SUGGESTIONS
field_201326_a
SUGGEST_ENTITY_SELECTOR
private static final Collection<String>
b
field_20536
EXAMPLES
field_201327_b
EXAMPLES
private static final SimpleCommandExceptionType
c
field_20537
EMPTY_EXCEPTION
field_197215_a
EMPTY_EXCEPTION
private final boolean
d
field_20538
multiple
field_197216_b
allowMultiple

Constructor summary

ModifierConstructor
public (boolean multiple)

Method summary

Modifier and TypeMethod
public static String
a(CommandContext<bu> arg0, String arg1)
method_18923(com.mojang.brigadier.context.CommandContext<class_3915> arg0, String arg1)
getName(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String arg)
func_197211_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
getSingleScoreHolderNoObjectives(com.mojang.brigadier.context.CommandContext<CommandSource> context, String name)
public static Collection<String>
b(CommandContext<bu> arg0, String arg1)
method_18929(com.mojang.brigadier.context.CommandContext<class_3915> arg0, String arg1)
getNames(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String arg)
func_197213_b(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
getScoreHolderNoObjectives(com.mojang.brigadier.context.CommandContext<CommandSource> context, String name)
public static Collection<String>
c(CommandContext<bu> arg0, String arg1)
method_18930(com.mojang.brigadier.context.CommandContext<class_3915> arg0, String arg1)
getNamesOrDefault(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String arg)
func_211707_c(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
getScoreHolder(com.mojang.brigadier.context.CommandContext<CommandSource> context, String name)
public static Collection<String>
a(CommandContext<bu> arg0, String arg1, Supplier<Collection<String>> arg2)
method_18924(com.mojang.brigadier.context.CommandContext<class_3915> arg0, String arg1, Supplier<Collection<String>> arg2)
getNames(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String arg, Supplier<Collection<String>> fallback)
func_197210_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1, Supplier<Collection<String>> arg2)
getScoreHolder(com.mojang.brigadier.context.CommandContext<CommandSource> context, String name, Supplier<Collection<String>> objectives)
public static ScoreHolderArgument
a()
method_18919()
scoreHolder()
func_197209_a()
scoreHolder()
public static ScoreHolderArgument
b()
method_18927()
scoreHolders()
func_197214_b()
scoreHolders()
public ScoreHolderArgument$Result
a(StringReader arg0)
method_18921(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader reader)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public Collection<String>
getExamples()
getExamples()
getExamples()
getExamples()