static @NotNull TranslationArgument component(final @NotNull ComponentLike value) {
    if (value instanceof TranslationArgumentLike) return ((TranslationArgumentLike) value).asTranslationArgument();
    return new TranslationArgumentImpl(requireNonNull(requireNonNull(value, "value").asComponent(), "value.asComponent()"));
  }
Create a component argument.

@param value the value
@return the argument
@since 4.15.0
@sinceMinecraft 1.20.3
api/src/main/java/net/kyori/adventure/text/TranslationArgument.java