@Nonnull
    @Override
    public BossBar newBossBar() {
        return new ViaBossBar(Via.getAPI().createBossBar("null", convertColor(BossBarColor.defaultColor()), convertStyle(BossBarStyle.defaultStyle())));
    }
Implementation of {@link BossBarFactory} using ViaVersion.
helper/src/main/java/me/lucko/helper/bossbar/ViaBossBarFactory.java