@Contract(value = "_, _ -> new", pure = true)
  static @NotNull SelectorComponent selector(final @NotNull String pattern, final @Nullable ComponentLike separator) {
    return SelectorComponentImpl.create(Collections.emptyList(), Style.empty(), pattern, separator);
  }
Creates a selector component with a pattern.

@param pattern the selector pattern
@param separator the separator
@return a selector component
@since 4.8.0
api/src/main/java/net/kyori/adventure/text/Component.java