DynamicHUD

Quick rating

DynamicHUD

No reviews yet

A HUD library to create, display, load, save, interact and do much more with HUD elements (aka - widgets).

API/Library
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Client Only

Runs entirely on the client. Works on vanilla servers.

About

Project Details

Type
Mod
License
MIT License
Latest Version
5.0.0

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

About

Description

DynamicHUD for Minecraft Fabric

DynamicHUD is a library for mod creators using Fabric (Minecraft 1.19.4+). It lets developers create customizable HUD elements that players can modify and interact with, making visuals and gameplay more interesting. It is an API for developers.

Features

  • Automatic Loading & Saving: Widgets automatically save their state and reload upon game restart, providing a seamless experience for players.
  • Dynamic Values: Widgets can display real-time information, adapting to in-game events and data changes.
  • Inbuilt Widgets: Start with TextWidget for easy text display and expand with more specialized widgets.
  • Utility Classes: Utilize DrawHelper, ColorHelper, and TextureHelper for efficient and streamlined development.
  • ContextMenu: A general context menu featuring boolean, slider, runnable, color options, and list/enum selections for widget customization.
  • Screen Border Control: Keeps widgets within screen boundaries.
  • Snapping: Hold Shift to snap widgets to an imaginary grid.
  • Multi-Mod Support: Built for compatibility across mods.
  • Easy Integration: Simple setup for quick implementation into your projects.
  • Wiki: A detailed guide and reference for all features of DynamicHUD, available at https://tanishisherewith.gitbook.io/dynamic-hud.

DynamicHUD has a dedicated settings button when you open the option screen beside the 'FOV' slider which you can use to customise your widgets and menus.

Keybinds

Currently these keybinds are unmodifiable. These keybinds are only available version 4.0.0 onwards.

1. Grouping and multi-selection

Keyboard shortcuts

  • Drag selection window: Click and drag on empty space to draw a selection window. Any widget that overlaps this area will be selected.
  • CTRL + Left Click multi-selection: Hold CTRL and left click on individual widgets to toggle their selection state.
  • Group or ungroup toggle: Press CTRL + G to group the selected widgets. Press CTRL + G again to ungroup them.

Notes

  • Dragging any widget in a group moves all unlocked widgets in that group.
  • Locked widgets with isLocked set to true do not move with the group.
  • Hovering a group shows a dashed green bounding box around all grouped widgets.

2. Scaling widgets

Widgets can be scaled individually in the editor in two ways:

  • Scaling keybind: Hover a widget and use CTRL + Mouse Wheel Scroll to increase or decrease its local scale.
  • Scale dot: Selected widgets render a small scale dot in the bottom-right corner. Drag that dot to scale the widget.

Disclaimer

DynamicHUD provides tools for developers but does not add HUD elements by itself.

Users looking for in-game HUD elements should refer to mods that use DynamicHUD like

Fabric only — no plans for Forge support.

Showcase

Showcase Video

Installation for Users

To ensure mods that depend on DynamicHUD work correctly, follow these steps to add DynamicHUD to your Minecraft installation:

  1. Make sure you have Fabric and Fabric-API installed. You may also need to install YACL.
  2. Download the dynamichud-<version>.jar file from the official release page.
  3. OPen your Minecraft directory's mod folder.
  4. Place the downloaded DynamicHUD .jar file into the mods folder.
  5. Run Minecraft. DynamicHUD will now be loaded, and any mods with DynamicHUD as a dependency can function properly. Enjoy :)

Getting Started For Developers

Visit our wiki for more detailed documentation.

To get started, begin with adding DynamicHUD as a dependency in your build.gradle file:

allprojects {
	repositories {
		maven { url 'https://jitpack.io' }
	}
	maven {
		name 'Xander Maven'
		url 'https://maven.isxander.dev/releases'
	}
}

dependencies {
	// Dynamic HUD
	modImplementation 'com.github.V-Fast:DynamicHUD:<Version>'
}

Contributing

Contributions are welcome! If you’re interested in improving DynamicHUD or adding new features, please review our contributing guidelines. I myself am a solo developer in college and still learning to code. Updating to latest versions may take time. Any help will be greatly appreciated!

License

DynamicHUD is released under the MIT License. Feel free to use and modify it in your mods, with proper attribution back to this repository.

Support

Need assistance or have suggestions? Join our Discord community or submit an issue on our GitHub repository.

Screenshots

Gallery

  • Featured backdrop
    Featured backdrop
  • Editor screen
    Editor screen Some of the widgets added. ContextMenu and color option display. Note: This is only for showcase purposes. These widgets are not added by the mod.
  • TitleScreen
    TitleScreen This demonstrates how widgets can be rendered on any in-game screen according to the developer's requirements. Note: These widgets are once again not included with the mod and only for demonstration purpose.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~20,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works