net.minecraft.commands.arguments

public class ColorArgument

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

dr
net.minecraft.commands.arguments.ColorArgument
net.minecraft.class_2177
net.minecraft.command.argument.ColorArgumentType
net.minecraft.src.C_3164_
net.minecraft.commands.arguments.ArgumentChatFormat

Field summary

Modifier and TypeField
private static final Collection<String>
b
EXAMPLES
field_9839
EXAMPLES
f_85460_
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
a
ERROR_INVALID_VALUE
field_9840
INVALID_COLOR_EXCEPTION
f_85459_

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public static ColorArgument
a()
color()
method_9276()
color()
m_85463_()
public static ChatFormatting
a(com.mojang.brigadier.context.CommandContext<dm> arg0, String arg1)
getColor(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9277(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getColor(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_85466_(com.mojang.brigadier.context.CommandContext<C_2969_> p_85467_, String p_85468_)
public ChatFormatting
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9279(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_85474_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()