Class TextColorArgument<C>

  • Type Parameters:
    C - Command sender type
    All Implemented Interfaces:
    CloudKeyHolder<net.kyori.adventure.text.format.TextColor>, Comparable<CommandArgument<?,​?>>

    public final class TextColorArgument<C>
    extends CommandArgument<C,​net.kyori.adventure.text.format.TextColor>
    Parser for color codes.

    Accepts NamedTextColors, Legacy Minecraft & color codes, and Hex Codes (#RRGGBB or RRGGBB)

    Since:
    1.1.0