net.minecraft.command.argument

public class ScoreHolderArgument

implements ArgumentType<ScoreHolderArgument$Result>

cz
net.minecraft.class_2233
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_9951
SCORE_HOLDER_SUGGESTIONS
field_201326_a
SUGGEST_ENTITY_SELECTOR
private static final Collection<String>
b
field_9948
EXAMPLES
field_201327_b
EXAMPLES
private static final SimpleCommandExceptionType
c
field_9950
EMPTY_EXCEPTION
field_197215_a
EMPTY_EXCEPTION
private final boolean
d
field_9949
multiple
field_197216_b
allowMultiple

Constructor summary

ModifierConstructor
public (boolean multiple)

Method summary

Modifier and TypeMethod
public static String
a(CommandContext<cd> arg0, String arg1)
method_9452(com.mojang.brigadier.context.CommandContext<class_2168> 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<cd> arg0, String arg1)
method_9458(com.mojang.brigadier.context.CommandContext<class_2168> 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<cd> arg0, String arg1)
method_9449(com.mojang.brigadier.context.CommandContext<class_2168> 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<cd> arg0, String arg1, Supplier<Collection<String>> arg2)
method_9450(com.mojang.brigadier.context.CommandContext<class_2168> 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_9447()
scoreHolder()
func_197209_a()
scoreHolder()
public static ScoreHolderArgument
b()
method_9451()
scoreHolders()
func_197214_b()
scoreHolders()
public ScoreHolderArgument$Result
a(StringReader arg0)
method_9453(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()