mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 17:35:37 +02:00
Added support to disable built-in HUD elements
This commit is contained in:
committed by
Perttu Ahola
parent
33dd267fd9
commit
e703c5b81f
@@ -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:
|
||||
|
Reference in New Issue
Block a user