Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
DynamicHUD for Minecraft Fabric
DynamicHUD is a special tool for Minecraft mod creators who use Fabric. It works with Minecraft 1.19.4 and newer versions. With DynamicHUD, you can make your own HUD parts that players can change and interact with, making their game look and feel better.
It may be ported back upto 1.16 fabric on demand.
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
, andTextureHelper
for efficient and streamlined development. - ContextMenu: A versatile context menu featuring boolean, slider, runnable, color options, and list/enum selections for comprehensive widget customization.
- Screen Border Control: Widgets are confined within the screen boundaries to prevent off-screen drift.
- Snapping: Widgets automatically snap to a grid corner in a imaginary grid pattern on the screen when the shift key is pressed.
- Multi-Mod Support: Designed for compatibility and easy integration across various mods.
- Easy Integration: Simple setup for quick implementation into your projects.
- Comprehensive Wiki: A detailed guide and reference for all features of DynamicHUD, available at https://tanishisherewith.gitbook.io/dynamic-hud.
Disclaimer
DynamicHUD is a library for Minecraft Fabric designed to provide developers with the tools to create customizable HUD elements. It does not add widgets or any functionality on its own. Interaction with DynamicHUD's internals and utilization of its features can only be done through mods that implement this library. Users looking for in-game HUD elements should refer to mods that use DynamicHUD.
This mod / library is fabric only and has no future plans to be ported to forge.
Installation for Users
To ensure mods that depend on DynamicHUD work correctly, follow these steps to add DynamicHUD to your Minecraft installation:
- Make sure you have Fabric and Fabric-API installed.
- Download the
dynamichud-<version>.jar
file from the official release page. - Navigate to your Minecraft directory. The default path is usually:
- Windows:
%APPDATA%\.minecraft
- macOS:
~/Library/Application Support/minecraft
- Linux:
~/.minecraft
- Windows:
- Locate the
mods
folder within your Minecraft directory. If it doesn't exist, create it. - Place the downloaded DynamicHUD
.jar
file into themods
folder. - Run Minecraft with the Fabric loader. DynamicHUD will now be loaded, and any mods with DynamicHUD as a dependency can function properly.
Enjoy the enhanced HUD experience provided by mods utilizing DynamicHUD!
Getting Started For Developers
Visit our wiki for more detailed information about the library!
To integrate DynamicHUD into your mod, add it as a dependency in your build.gradle
file:
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
maven { url "https://maven.terraformersmc.com/releases/" }
maven {
name 'Xander Maven'
url 'https://maven.isxander.dev/releases'
}
}
dependencies {
// Dynamic HUD
modImplementation 'com.github.V-Fast:DynamicHUD:<Version>'
}
Old archived wiki
https://tanishisherewith.gitbook.io/archived-legacy-dynamichud/
Contributing
Contributions are welcome! If you’re interested in improving DynamicHUD or adding new features, please review our contributing guidelines.
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.