net.minecraft.commands.arguments

public class ObjectiveArgument

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

fj
net.minecraft.commands.arguments.ObjectiveArgument
net.minecraft.class_2214
net.minecraft.command.argument.ScoreboardObjectiveArgumentType
net.minecraft.src.C_3792_
net.minecraft.commands.arguments.ArgumentScoreboardObjective

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static ObjectiveArgument
a()
objective()
method_9391()
scoreboardObjective()
m_101957_()
public static Objective
a(com.mojang.brigadier.context.CommandContext<ep> 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)
m_101960_(com.mojang.brigadier.context.CommandContext<C_2969_> p_101961_, String p_101962_)
public static Objective
b(com.mojang.brigadier.context.CommandContext<ep> 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)
m_101965_(com.mojang.brigadier.context.CommandContext<C_2969_> p_101966_, String p_101967_)
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> p_101975_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()