net.minecraft.commands.arguments

public class ColorArgument

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

ct
net.minecraft.commands.arguments.ColorArgument
net.minecraft.class_2177
net.minecraft.command.arguments.ColorArgumentType
net.minecraft.command.arguments.ColorArgument
net.minecraft.server.v1_15_R1.ArgumentChatFormat

Field summary

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

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public static ColorArgument
a()
color()
method_9276()
color()
func_197063_a()
public static ChatFormatting
a(com.mojang.brigadier.context.CommandContext<cq> 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)
func_197064_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
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> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()
getExamples()