static @NotNull BossBar bossBar(final @NotNull ComponentLike name, final float progress, final @NotNull Color color, final @NotNull Overlay overlay) {
    BossBarImpl.checkProgress(progress);
    return bossBar(name.asComponent(), progress, color, overlay);
  }
Creates a new bossbar.

@param name the name
@param progress the progress, between 0 and 1
@param color the color
@param overlay the overlay
@return a bossbar
@throws IllegalArgumentException if progress is less than 0 or greater than 1
@since 4.3.0
api/src/main/java/net/kyori/adventure/bossbar/BossBar.java