ModsFinder

HUD Lib

by wooferz

HUD Lib is a Fabric library for the HUD elements other mods draw on screen, letting each one be moved, anchored and configured in one editor.

FabricClient-side onlyMIT LicenseOpen source1.20.1 – 1.21.11

What it does

Other mods use HUD Lib to register their own HUD elements, which then gain repositioning, anchoring and configuration without extra code. Three catalog mods already depend on it, including Armor HUD, Status Effect HUD and Generic HUD. Drawing a element takes a DrawContext call at an X and Y coordinate, while the library handles where the screen is rendered.

Pressing RIGHT SHIFT, or a rebound key, opens the editor, where elements can be dragged, pinned to a screen corner so they keep their place when the window resizes, or disabled. A settings screen, built with YetAnotherConfigLib, lets players configure each element and reset positions. Holding CTRL stops snapping, and the settings button can be hidden. The mod is client-side only and needs no server install. It is released under the MIT License and is open source, with the source code and issue tracker public. Fabric API, Mod Menu and YetAnotherConfigLib (YACL) are required, and the Generic HUD options come from the Generic HUD mod.

Key features

  1. Element registration API

    Other mods register their own HUD elements, which the library then positions and displays on screen.

  2. Editor with snapping

    The editor moves elements, snaps them to a grid and stays hidden until opened, while CTRL disables snapping.

  3. Screen corner anchoring

    Elements can be anchored to a corner, such as the top right, so they keep their place as the screen size changes.

  4. Configuration screen

    A settings screen built with YetAnotherConfigLib lets players disable elements or reset their positions.

Compatibility

Latest build for each game version and loader.

1.21.x12 of 12 versions with builds
1.21.111.2.1+1.21.9
1.21.101.2.1+1.21.9
1.21.91.2.1+1.21.9
1.21.81.2.1+1.21.6
1.21.71.2.1+1.21.6
1.21.61.2.1+1.21.6
1.21.51.2.1+1.21.1
1.21.41.2.1+1.21.1
1.21.31.2.1+1.21.1
1.21.21.2.1+1.21.1
1.21.11.2.1+1.21.1
1.211.2.1+1.21
1.20.x4 of 4 versions with builds
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 3

Mod MenuAdds a mod menu to view the list of mods you have installed.
Required
YetAnotherConfigLib (YACL)A builder-based configuration library for Minecraft!
Required
Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Required by 3 mods

Questions

Does HUD Lib need Fabric API?

Yes. Fabric API is a required dependency, along with Mod Menu and YetAnotherConfigLib (YACL).

Does HUD Lib have to be installed on the server?

No. It is installed on the player's side alone, so servers need nothing.

Which game versions does HUD Lib support?

The Fabric file for 1.21.11 is 1.2.1+1.21.9, dated 2025-12-07, and builds cover 1.20.1 – 1.21.11 across 16 release versions.

In the catalog

HUD Lib is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 19,862 mods support Minecraft 1.21.11.

More from wooferz

All projects

Similar mods

What the author says

This mod is a library for other mods to register their own HUD Elements. These HUD Elements has inbuilt repositioning, anchoring, and configuration. They can all be edited after pressing RIGHT SHIFT (Can be rebinded in Key Binds). This mod has no default elements, you will need a mod such as Generic Hud (mentioned…
wooferz, on the Modrinth page

Official listing

Owner
wooferz
Published
2024-11-12
Updated on Modrinth
2025-12-07
Facts verified
2026-10-15

Tags