net.minecraft.commands.arguments

public class ColorArgument

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

fe
net.minecraft.commands.arguments.ColorArgument
net.minecraft.class_2177
net.minecraft.command.argument.ColorArgumentType
net.minecraft.commands.arguments.ArgumentChatFormat

Field summary

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

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public static ColorArgument
a()
color()
method_9276()
color()
public static ChatFormatting
a(com.mojang.brigadier.context.CommandContext<ew> 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)
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)
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()