Skip to content

Fix Oxygenbar and Vanilla Mana Bar Overlap - #2637

Open
ADON15c wants to merge 1 commit into
SkyblockerMod:mainfrom
ADON15c:vanilla-manabar-oxygen-fix
Open

Fix Oxygenbar and Vanilla Mana Bar Overlap#2637
ADON15c wants to merge 1 commit into
SkyblockerMod:mainfrom
ADON15c:vanilla-manabar-oxygen-fix

Conversation

@ADON15c

@ADON15c ADON15c commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Uses workaround to fix vanilla mana bar overlap without breaking bars height. Includes proper fix and comments referencing FabricMC/fabric-api#5517 so it can be implemented properly when the bug is fixed

@LifeIsAParadox LifeIsAParadox added the reviews needed This PR needs reviews label Aug 8, 2026
// Workaround, can be removed when https://github.com/FabricMC/fabric-api/issues/5517 is fixed. See VanillaStylemanaBar.java for proper fix
@ModifyReturnValue(method = "getAirBubbleYLine", at = @At("RETURN"))
private int skyblocker$adjustAirBubbleHeight(int original) {
return VanillaStyleManaBar.isEnabled() ? original - 10 : original;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m a bit confused, shouldn’t this be +10 when enabled?

@Alex33856 Alex33856 added this to the 6.10.0 milestone Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

reviews needed This PR needs reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants