Class TextColorArgument.TextColorParser<C>

java.lang.Object
cloud.commandframework.minecraft.extras.TextColorArgument.TextColorParser<C>
All Implemented Interfaces:
cloud.commandframework.arguments.parser.ArgumentParser<C,​net.kyori.adventure.text.format.TextColor>
Enclosing class:
TextColorArgument<C>

public static final class TextColorArgument.TextColorParser<C> extends Object implements cloud.commandframework.arguments.parser.ArgumentParser<C,​net.kyori.adventure.text.format.TextColor>
  • Field Summary

    Fields inherited from interface cloud.commandframework.arguments.parser.ArgumentParser

    DEFAULT_ARGUMENT_COUNT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<@NonNull net.kyori.adventure.text.format.TextColor>
    parse​(@NonNull cloud.commandframework.context.CommandContext<@NonNull C> commandContext, @NonNull Queue<@NonNull String> inputQueue)
     
    @NonNull List<@NonNull String>
    suggestions​(@NonNull cloud.commandframework.context.CommandContext<C> commandContext, @NonNull String input)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface cloud.commandframework.arguments.parser.ArgumentParser

    getRequestedArgumentCount, isContextFree, map
  • Constructor Details

    • TextColorParser

      public TextColorParser()
  • Method Details

    • parse

      public @NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<@NonNull net.kyori.adventure.text.format.TextColor> parse(@NonNull cloud.commandframework.context.CommandContext<@NonNull C> commandContext, @NonNull Queue<@NonNull String> inputQueue)
      Specified by:
      parse in interface cloud.commandframework.arguments.parser.ArgumentParser<C,​net.kyori.adventure.text.format.TextColor>
    • suggestions

      public @NonNull List<@NonNull String> suggestions(@NonNull cloud.commandframework.context.CommandContext<C> commandContext, @NonNull String input)
      Specified by:
      suggestions in interface cloud.commandframework.arguments.parser.ArgumentParser<C,​net.kyori.adventure.text.format.TextColor>