One Bar

From MWP Wiki

"OneBar" is a health bar mod with customisation and a different visual look. For images showcasing the different uses/configs check here.

OneBar
Name OneBar
Categories Map and Information,
Cosmetic,
Food,
Utility and QOL
Author robotkoer
Latest version v3.5.0 (for Minecraft 1.16-1.16.5,
1.17-1.17.1
22w13oneBlockAtATime,
1.18-1.18.2,
1.19-1.19.3
1.20)
Mod Loader Fabric
Links
CurseForge project

Video Review

Video covering configuration/customisation

GitHub Wiki

Installation

1. Install Minecraft 1.16 or later

2. Install Fabric Loader

3. Download OneBar, Fabric API, Mod Menu, Cloth Config API

4. Place the JARs you downloaded to your Minecraft's mods folder

5. Run the game!


Currently also works on Quilt, though no effort has yet been made to explicitly support it. See #21.



Mod compatibility

Raised - moves OneBar and hotbar upwards, height of both can be adjusted

Auto HUD - automatically shows and hides certain elements of OneBar as needed

Exordium (beta) - improve HUD performance

OneBar + MCC Island Compat (unofficial) - disables OneBar when you have no health bar on MCC Island

Flour's Various Tweaks and Head-down display - partial compatibility for the auto-hide feature, does not hide OneBar elements



How it works

OneBar is meant to be contextual, showing the values and bars only when you need them. Tips:


• The positive effects, including health itself, are displayed left-to-right; negative effects are displayed right-to-left.


• If you get hungry, the hunger overlay is displayed over the health by its value.


• If you eat, you'll lose the overlay and the value, because you no longer need it.


• If you are also underwater, the water bar is displayed on top of health and hunger because it is the most important value in this case.



• Health is always the first number and hunger is almost always the last number (except when you have the hunger effect).


• Everything in between is an estimate, additional health or damage source (can be disabled).


• You can also enable "Show additional symbols" in options to get icons for those


• Remember old Minecraft without hunger and experience? This mod gives you a visually similar experience without losing modern functionality.


The mod only uses client-side data, so it is never needed on a server. There are also a lot of settings for configuring the colors and visibility of various elements.



Mob arena gameplay with customized OneBar (v2.3.1) by agata_m

Meanings of the colors and icons



FAQ

Q: Why do I have to download Cloth Config API separately?

A: Because it's big, gets updated a lot and you probably have a mod or two that requires it anyway. If one of your mods already bundles it, you don't have to download it at all :)


Q: How do I edit the colors?

A: Click Esc -> Mods -> OneBar -> config button. Colors are formatted as opacity + RGB in HEX, so choose an opacity from this list and use any HEX color picker for choosing a color. For example if I want 80% opacity (CC) on blue (0000FF), I will enter #CC0000FF.


Q: Forge support?

A: No. Feel free to fork according to the license or check out my resource pack that inspired this.


Q: Backports?

A: No, Cloth Config isn't cross-compatible and I don't suggest using old versions anyway.


Q: Snapshots?

A: It probably runs, but config might crash if it's not up to date.