net.minecraft.commands.arguments

public class ObjectiveArgument

implements com.mojang.brigadier.arguments.ArgumentType<String>

fq
net.minecraft.commands.arguments.ObjectiveArgument
net.minecraft.class_2214
net.minecraft.command.argument.ScoreboardObjectiveArgumentType
net.minecraft.commands.arguments.ArgumentScoreboardObjective

Field summary

Modifier and TypeField
private static final Collection<String>
a
EXAMPLES
field_9919
EXAMPLES
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_OBJECTIVE_NOT_FOUND
field_9922
UNKNOWN_OBJECTIVE_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_OBJECTIVE_READ_ONLY
field_9921
READONLY_OBJECTIVE_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static ObjectiveArgument
a()
objective()
method_9391()
scoreboardObjective()
public static Objective
a(com.mojang.brigadier.context.CommandContext<ew> arg0, String arg1)
getObjective(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9395(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getObjective(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
public static Objective
b(com.mojang.brigadier.context.CommandContext<ew> arg0, String arg1)
getWritableObjective(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9393(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getWritableObjective(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
public String
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9396(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
public Collection<String>
getExamples()
getExamples()