net.minecraft.commands.arguments

public class ObjectiveArgument

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

dq
net.minecraft.commands.arguments.ObjectiveArgument
net.minecraft.class_2214
net.minecraft.command.arguments.ObjectiveArgumentType
net.minecraft.command.arguments.ObjectiveArgument
net.minecraft.server.v1_16_R1.ArgumentScoreboardObjective

Field summary

Modifier and TypeField
private static final Collection<String>
b
EXAMPLES
field_9919
EXAMPLES
field_201317_b
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_OBJECTIVE_NOT_FOUND
field_9922
UNKNOWN_OBJECTIVE_EXCEPTION
field_197159_a
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
d
ERROR_OBJECTIVE_READ_ONLY
field_9921
READONLY_OBJECTIVE_EXCEPTION
field_197160_b
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
a
ERROR_OBJECTIVE_NAME_TOO_LONG
field_9920
LONG_NAME_EXCEPTION
field_200379_a

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static ObjectiveArgument
a()
objective()
method_9391()
objective()
func_197157_a()
public static Objective
a(com.mojang.brigadier.context.CommandContext<cz> 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)
func_197158_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public static Objective
b(com.mojang.brigadier.context.CommandContext<cz> 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)
func_197156_b(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
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)
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)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()
getExamples()
getExamples()