Resource Bar API
A small helper add-on created in Java that provides other mods with a convenient tool for displaying various resource indicators in the game's HUD interface.
This API serves as a foundation for developers of modifications who want to add various status bars to the game - whether it's a mana indicator, stamina level, or any other resource requiring visual representation.
It's important to understand that the library itself only handles the graphical component - it contains a ready-made method for drawing HUD elements according to set parameters. Determining the conditions under which a particular indicator should be displayed completely falls on the shoulders of the developer of the specific mod using this API.
This architecture ensures maximum flexibility when integrating the library into various projects, allowing each modifier to independently decide when and which indicators should be visible to the player.