#✅ | How do i make my oxygen bar desapear if i'm not in water?

1 messages · Page 1 of 1 (latest)

shy mauve
#

is there anyway to make my oxygen progress bar deseapear when i'm not in water?

burnt axleBOT
# shy mauve is there anyway to make my oxygen progress bar deseapear when i'm not in water?

You can hide the oxygen bar whenever you’re not underwater by giving that Progress Bar a loading requirement that only lets it show when your current oxygen isn’t full.

  1. Right-click the Oxygen Progress Bar → Loading Requirements.
  2. Add the Is Number requirement.
  3. For the value you’re comparing, paste the placeholder {"placeholder":"current_player_oxygen_percent"} (see the placeholder list here: SpiffyHUD/FancyMenu placeholders).
  4. Set the comparison mode to “smaller than” and enter 100.

Now the element only appears while oxygen is below max—i.e., when you’re actually breathing underwater. 😊

shy mauve
#

when i go underwater my bar doesn't appear back

burnt axleBOT
# shy mauve when i go underwater my bar doesn't appear back

If your oxygen bar never comes back once you go underwater, it’s probably because the loading requirement still says “show when oxygen is less than 100%.” Oxygen only starts dropping once you’re underwater, so when you first submerge it still reads 100% → element stays hidden.

Instead, use the Is Player Under Water requirement:

  1. Right-click the oxygen Progress Bar → Loading Requirements.
  2. Add Is Player Under Water so it only shows when Minecraft thinks you’re actually submerged.

You can optionally keep a second requirement (Is Number) if you want the bar to hide again once you surface and your oxygen resets.

For reference: FancyMenu loading requirements.

shy mauve
#

it isn't working, the requirements i've putted are is number mode normal value: ["mode":"smaller-than","number":"100","compare_with":""]$ and is player underwater

burnt axleBOT
# shy mauve it isn't working, the requirements i've putted are is number mode normal value: ...

Looks like the “Is Number” requirement never had a valid Compare With value, so it never evaluated to true again (that’s why it stays hidden). You can fix it in two ways:

  1. Use only the “Is Player Under Water” requirement. Delete the “Is Number” requirement and leave just that one—then the bar only shows when Minecraft says you’re underwater.

  2. Or keep the number check but set it up properly:

    • Right-click the oxygen Progress Bar → Loading Requirements.
    • Edit the Is Number requirement and set:
      • Mode: smaller-than
      • Number: {"placeholder":"current_player_oxygen_percent"}
      • Compare With: 100
    • Save that, and optionally keep “Is Player Under Water” as a second requirement so it hides again once you surface.

That should make the bar reappear as soon as your oxygen drops underwater. You can read more about loading requirement settings in the FancyMenu docs.

shy mauve
#

it worked thanks, but i have another question, how do i make mount hp only show up when i'm at a mount?

burnt axleBOT
# shy mauve it worked thanks, but i have another question, how do i make mount hp only show ...

You can gate the mount health bar with a loading requirement that only passes when you’re actually riding something.

  1. Right-click the mount health element → Loading Requirements.
  2. Add Is Player Riding Entity With Health (or Is Player Riding Entity if you just need “any mount”).
  3. Save the layout.

Now the bar stays hidden until you’re mounted, and disappears again once you dismount. 👍

More on FancyMenu’s requirements: FancyMenu Conditions.

shy mauve
#

thanks, but i have another question, i have a progress bar for health, but when i eat enchanted golden apples there isn't any sign of the overhealth i got, how do i make it show up?

burnt axleBOT
# shy mauve thanks, but i have another question, i have a progress bar for health, but when ...

To show the extra hearts from enchanted golden apples, add another Progress Bar (or overlay) that reads the absorption value.

  • For the progress value, use {"placeholder":"current_player_absorption_health_percent"} (or current_player_absorption_health if you prefer raw points). That makes the bar fill based on your golden heart buffer.
  • You can also keep the bar hidden when there’s no absorption by using an Is Number requirement like “greater than 0” on {"placeholder":"current_player_absorption_health"}.

That way your base health bar stays its usual look, and the absorption bar only appears when the enchants give you bonus hearts. 😊

(See the current_player_absorption_health placeholders in the placeholder list: FancyMenu Placeholders.)

#

✅ | How do i make my oxygen bar desapear if i'm not in water?