@Contract(mutates = "param1")
  @Deprecated
  static <R extends Buildable<R, B>, B extends Builder<R>> @NotNull R configureAndBuild(final @NotNull B builder, final @Nullable Consumer<? super B> consumer) {
    return AbstractBuilder.configureAndBuild(builder, consumer);
  }
Configures {@code builder} using {@code consumer} and then builds.

@param builder the builder
@param consumer the builder consume
@param <R> the type to be built
@param <B> the builder type
@return the built thing
@since 4.0.0
@deprecated since 4.10.0, use {@link AbstractBuilder#configureAndBuild(AbstractBuilder, Consumer)}
api/src/main/java/net/kyori/adventure/util/Buildable.java