mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Added support to disable built-in HUD elements
This commit is contained in:
parent
33dd267fd9
commit
e703c5b81f
13 changed files with 138 additions and 11 deletions
|
@ -1433,6 +1433,9 @@ Player-only: (no-op for other objects)
|
|||
- hud_change(id, stat, value): change a value of a previously added HUD element
|
||||
^ element stat values: position, name, scale, text, number, item, dir
|
||||
- hud_get(id): gets the HUD element definition structure of the specified ID
|
||||
- hud_builtin_enable(what, flag): enable or disable built-in HUD items
|
||||
^ what: "hotbar", "healthbar", "crosshair", "wielditem"
|
||||
^ flag: true/false
|
||||
|
||||
InvRef: Reference to an inventory
|
||||
methods:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue