Comprehensive guidance for Hytale plugin UI modding using native .ui files, Common.ui styling, layout and markup rules, and the Java UI API (CustomUIHud, MultipleHUD, CustomUIPage, InteractiveCustomUIPage). Use when creating or updating custom HUDs/pages, writing .ui markup, binding UI events, or troubleshooting UI issues.
Use this skill for Hytale's native .ui system and the server-side Java UI API.
Important: use native UI only. Do not use HyUI.
The official type documentation is a generated index. Use it when you need the exact property name, type, or enum values for an element.
Common.ui is the preferred source for cohesive styling. Import it and reference styles instead of duplicating them.
TabNavigation Known Issue: The default styles for TabNavigation in Common.ui are broken. See references/tab-navigation.md for details and workarounds.
CustomUIHud can now be attached to any item, not just players. This enables per-item HUDs that display when a specific item is held or active. Use the normal CustomUIHud API and associate the HUD with the item's lifecycle events.
Key use cases: