Interface ComponentFormat<C>

All Known Implementing Classes:
AdventureComponentFormat, BungeeComponentFormat, JavaEditionComponentFormat

public interface ComponentFormat<C>
  • Method Details

    • hexSegmentLength

      int hexSegmentLength()
    • hexIndicationChar

      char hexIndicationChar()
    • colorIndicationChar

      char colorIndicationChar()
    • usesColorCharAsHexDelimiter

      boolean usesColorCharAsHexDelimiter()
    • charIsValidColorIndicationChar

      boolean charIsValidColorIndicationChar(char[] fullData, int pos, char current)
    • nextSegmentIsLegacyFormatting

      boolean nextSegmentIsLegacyFormatting(char[] fullData, int pos, char current, char next)
    • nextSegmentIsHexadecimalFormatting

      boolean nextSegmentIsHexadecimalFormatting(char[] fullData, int pos, char current, char next)
    • encodeStringToComponent

      @NonNull C encodeStringToComponent(@NonNull @NonNull String text)
    • converterTo

      @NonNull <T> @NonNull ComponentConverter<T> converterTo(@NonNull @NonNull ComponentFormat<T> targetFormat)