Resource packs should support defining custom HUD elements with their own layout and appearance.
A resource pack could define HUD components with an ID, texture/font/style, screen anchor (top-left, top-right, bottom-left, bottom-right, center, etc.), and pixel offsets from the edges of the game window. Data packs and servers could then update only the dynamic value of a component, such as text, a number, progress, or visibility.
Today, servers often emulate custom HUDs using BossBars, ActionBar messages, titles, or custom-font tricks. These work, but they are limited and inefficient. Frequently changing values require repeatedly sending the whole displayed text/component again, including formatting that has not changed. For HUDs such as health, mana, currency, cooldowns, quests, or server statistics, this creates unnecessary network traffic and makes layouts difficult to control.
The client should keep the static HUD definition after loading the resource pack, while data packs or servers only send updates to individual component values. This would provide a clean, efficient, vanilla-supported way to create custom interfaces without client mods.
Please sign in to leave a comment.
0 Comments