Tango’s Dynamic Hud Lib Mod provides a client-side library for movable HUD widgets on Fabric. It does not add direct gameplay items by itself, instead offering an API that other mods use to register screen elements. For players, this mod renders and saves the screen positions of widgets from compatible mods. You can open an in-game editor with a hotkey to drag and place your HUD boxes anywhere on the screen.

Tango's Dynamic Hud Lib Mod

Features:

  • Movable HUD Widgets: Lets you drag and reposition on-screen widgets with the left mouse button through an in-game HUD editor.
  • Per-Mod HUD Editor Hotkeys: Adds a separate HUD Editor (<Mod Name>) keybind entry under its own controls menu category for each compatible mod.
  • Renders and stores HUD elements that other mods register through this client-side library.
  • Saves all custom widget screen positions inside the config/tangos-hud-lib.json configuration file.

Developer API & Registration Methods:

  • @HudWidget annotation: Marks widget methods inside a class; each annotated method must be static, take no parameters, return HudContent, and define a non-empty id.
  • HudContent.builder(): Builds widget text lines using .line(Text.literal(...)) and formatting options; every HudContent object must contain at least one non-blank line.
  • HudLibrary.registerWidgets(String ownerId, int defaultKey, Class clazz): Registers all @HudWidget methods in the given class inside ClientModInitializer and assigns a default hotkey for the HUD editor.
  • HudLibrary.registerWidgets(String ownerId, Class clazz): Registers all widgets in the class without assigning a default hotkey.
  • HudLibrary.registerWidgets(Class clazz): Registers widgets using the library default owner ID tangos-hud-lib and the default hotkey H.

Configuration:

  • config/tangos-hud-lib.json: Stores the saved screen positions for all registered HUD widgets.

How to Use:

  1. Start the game alongside another mod that registers its widgets through this library.
  2. Open the Minecraft controls menu and find the Tango's HudLib category.
  3. Look for the HUD Editor (<Mod Name>) keybind and check or set your preferred key.
  4. Press the assigned hotkey while in-game to open the HUD editor for that specific mod.
  5. Hold the Left Mouse Button and drag any widget to move it to a new spot on your screen.
  6. Press the same hotkey again or press Esc to close the HUD editor and save the layout.

Tango’s Dynamic Hud Lib Mod Download Links

Filter by

For Minecraft 26.2

For Minecraft 26.1.2, 26.1.1, 26.1

For Minecraft 1.21.11

For Minecraft 1.21.10, 1.21.9

Click to rate this post!
[Total: 0 Average: 0]