Skip to content

feature(api): Remove BossBarViewer#1370

Open
TurboJax wants to merge 18 commits into
PaperMC:main/5from
TurboJax:turbo/no_bbv
Open

feature(api): Remove BossBarViewer#1370
TurboJax wants to merge 18 commits into
PaperMC:main/5from
TurboJax:turbo/no_bbv

Conversation

@TurboJax

Copy link
Copy Markdown

Simply removes the BossBarViewer class and moves its one function over to the Audience class. All references to BossBarViewer have been made compatible with the Audience class.

Original Issue: #1349

@kashike

kashike commented Feb 14, 2026

Copy link
Copy Markdown
Member

The existing methods need deprecation in 4.x.

@TurboJax

Copy link
Copy Markdown
Author

I don't think I can do that on this pr, so I'll make a second one in to add the deprecation warnings. I'll link it here when it's been made.

@TurboJax

Copy link
Copy Markdown
Author

Just made a pr that deprecates functions on the main/4 branch
#1376

Comment thread build-logic/src/main/kotlin/adventure.common-conventions.gradle.kts Outdated
Comment thread api/src/main/java/net/kyori/adventure/audience/ForwardingAudience.java Outdated
Comment thread api/src/main/java/net/kyori/adventure/audience/Audience.java Outdated
Comment thread api/src/main/java/net/kyori/adventure/audience/ForwardingAudience.java Outdated
@TurboJax

Copy link
Copy Markdown
Author

Awesome, thanks for the reviews! Sorry that I missed that merge conflict, I'll double check the implementations again to make sure I didn't miss anything else. About #1376, I'll rebase that soon.

@TurboJax

TurboJax commented May 29, 2026

Copy link
Copy Markdown
Author

Hey thinking about making the BossBar#viewers and Audience#activeBossBars functions return Set<[class]> instead of Iterable<? extends [class]>. Is anyone opposed to this?

@TurboJax TurboJax mentioned this pull request May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants