ModsFinder

Resource Bar API

by TheRedBrain

Resource Bar API is a Fabric library for building complete resource bar HUD elements, such as a mana bar, from a single set of parameters.

FabricClient and serverMIT LicenseOpen source1.20.1 – 26.1.2

What it does

Other mods use the API to set up a full resource bar on the HUD. A method draws the element according to the parameters a mod passes in, and a mod can decide under which conditions the element is rendered. Required dependency: Fzzy Config. The code is open source under the MIT License, and the environment is client and server, so the server and every player need it. Files cover game versions 1.20.1, 1.21.1, 1.21.10, 1.21.11, 26.1, 26.1.1 and 26.1.2, with 4.0.0 for 26.1.2 as the latest file.

Key features

  1. HUD resource bars

    Mods can set up a complete resource bar on the HUD, with the example of a mana bar.

  2. Parameterized drawing

    A provided method draws the bar element from the parameters a mod gives it.

  3. Conditional rendering

    A mod decides under which conditions the bar element is rendered.

Compatibility

Latest build for each game version and loader.

26.1.24.0.0
26.1.14.0.0
26.14.0.0
1.21.113.2.0
1.21.103.0.0
1.21.12.7.0
1.20.11.6.2
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fzzy ConfigConfig API with automatic GUIs, powerful validation options, server-client sync, and more!
Required

Required by 4 mods

How it compares

Full comparison

Tango's Dynamic Hud Lib is a Fabric library for 1.21.10 – 26.2, client-side only, released under the GNU General Public License v3.0 only. Rules4Worlds is a server-side Fabric library for 1.19 – 1.21.1 under the Apache License 2.0.

ModLoadersGame versionsEnvironmentUpdated
Resource Bar APIFabric1.20.1 – 26.1.2Client and server2026-04-15
Tango's Dynamic Hud LibFabric1.21.10 – 26.2Client-side only2026-07-24
Rules4WorldsFabric1.19 – 1.21.1Server-side only2024-08-17

Questions

Does Resource Bar API need Fzzy Config?

Yes. Fzzy Config is a required dependency and must be installed alongside Resource Bar API on Fabric.

Must the server run Resource Bar API?

Yes. Installation covers the server and each player's game.

In the catalog

Resource Bar API is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,189 mods support Minecraft 26.1.2.

More from TheRedBrain

All projects

Similar mods

What the author says

A small java API mod that allows mods to easily set up a complete resource bar HUD element. This API does not do all the work. All this API does is provide a method that draws the HUD element according to the given parameters.
TheRedBrain, on the Modrinth page

Official listing

Owner
TheRedBrain
Published
2024-11-21
Updated on Modrinth
2026-04-15
Facts verified
2026-10-15

Tags