OneBar

Mods
331 Downloads Last Updated: Jun 12, 2021 Game Version: 1.17

Installation

  1. Install Minecraft 1.17.x
  2. Install Fabric Loader
  3. Download OneBar, Fabric APIMod MenuCloth Config API
  4. Place the JARs you downloaded to your Minecraft's mods folder
  5. Run the game!

How it works

OneBar is meant to be contextual, showing you the values (and bar overlays) only when you need them. The positive effects, including health itself, are displayed left-to-right, negative effects right-to-left.

For example, 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. However, if you are hungry and underwater, the water bar is displayed on top of health and hunger because it is the most important value in this case.

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

 

Bars and values

Positive (left-to-right)

  • Health - red bar, number, where number is your health points
  • Health boost - red bar, number, bar width adapts to the max health
  • Natural regeneration - yellow bar, number where number is the resulting health¹
  • Regeneration - pink bar, number where number is the resulting health¹
  • Absorption - no bar, +number, where number is your absorption health points
  • Resistance - no bar, +⛨number% or +rnumber% where number is the effect level multiplier²
  • Fire Resistance - no bar, -🔥number× or -bnumber× where number is a rough damage multiplier (1× - burning, 2× - burning in fire, 4× - burning in lava)²
  • Water Breathing/Conduit Power - blue bar, -⭘number or -anumber, number is usually zero and bar hidden unless you got water breathing within water²

Negative (right-to-left)

  • Hunger - brown bar, -number, where number is calculated as 20-food points (e.g. if you had 15 food points, it would show 5)
  • Air - blue bar, -⭘number or -anumber, where number is the counter up to 20 until drowning (the equivalent of broken bubbles in vanilla)², drowning will also show number where number is the resulting health¹
  • Freezing - light gray bar, -❄number or -fnumber, where number is the counter up to 20 until freezing (the equivalent of frost fading in vanilla)², freezing damage will also show number where number is the resulting health¹
  • Burning - orange full bar, -🔥number× or -bnumber× where number is a rough damage multiplier (1× - burning, 2× - burning in fire, 4× - burning in lava)², burning on a block will also show number where number is the resulting health¹
  • Hunger effect - yellowish brown bar, number where number is the resulting hunger¹, starvation will also show number where number is the resulting health¹
  • Poison - yellowish green bar, number where number is the resulting health¹
  • Wither - dark gray bar, number where number is the resulting health¹
  • Suffocation - no bar, number where number is the resulting health¹
  • Hardcore mode - no bar, â˜  or HC²

Others

  • Mount health - orange bar above OneBar, similar style
  • Horse jump - brown vertical bar below crosshair
  • Armor - white bar above OneBar, no number
  • Held food restored hunger bar - orange (wasted) or green (exact/less) bar below OneBar, no number (similar to AppleSkin)
  • Experience points - level count and bar to the right of hotbar
  • Vanilla-like fractions (optional) - shows values like vanilla hearts, e.g. 9,5 instead of 19
  • Zero saturation (optional) - no bar,  - shows when saturation is 0 and hunger will decrease with activity

¹ Best-guess estimate based on what the client knows at the time, can change by some server-side values and natural occurrences. Can be disabled in options.

² The emoji are white and look a bit different in-game. Can be disabled in settings to show letters instead.

Mods I recommend with OneBar

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. Then, for each color field you can use this tool for choosing a color and this list for choosing the transparency.

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: Somewhat. It probably runs, but config will crash. You've been warned! 

Comments

  • To post a comment, please or register a new account.
Posts Quoted: