mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 18:05:22 +02:00
Add ObjectRef.hud_set_hotbar_itemcount and add TOCLIENT_HUD_SET_PARAM
This commit is contained in:
@@ -1399,6 +1399,8 @@ Player-only: (no-op for other objects)
|
||||
^ flags: (is visible) hotbar, healthbar, crosshair, wielditem
|
||||
^ pass a table containing a true/false value of each flag to be set or unset
|
||||
^ if a flag is nil, the flag is not modified
|
||||
- hud_set_hotbar_itemcount(count): sets number of items in builtin hotbar
|
||||
^ count: number of items, must be between 1 and 23
|
||||
|
||||
InvRef: Reference to an inventory
|
||||
methods:
|
||||
|
Reference in New Issue
Block a user