Overlay output: vanilla titles, actionbar, and the mod’s notification pills.
Titles and actionbar accept a text component or a plain string.
Server-synced overlays (boss bars, tab list) are read via server.
| Function | What it does |
|---|---|
hud.actionbar(t) |
Actionbar above the hotbar |
hud.title(t) |
Full-screen title (hud.subtitle(t) sets the line below) |
hud.title_times(i, s, o) |
Fade-in / stay / fade-out ticks (vanilla default 10, 70, 20) |
hud.clear_title() |
Removes the current title immediately |
hud.notify(title, subtext?, kind?, duration?) |
Notification pill. kind: "info" (default), "success", "error". duration in seconds |
hud.title_times(5, 40, 10)
hud.subtitle("prepare yourself")
hud.title(text.literal("Round 2"):bold(true))
hud.notify("Saved", nil, "success")