mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 23:11:49 +00:00
update en docs
This commit is contained in:
parent
8ae35c0a5e
commit
4ee97434a2
1 changed files with 6 additions and 0 deletions
|
|
@ -54,6 +54,9 @@ hud.close(layoutid: str)
|
||||||
-- Get open block inventory ID or 0.
|
-- Get open block inventory ID or 0.
|
||||||
hud.get_block_inventory() -> int
|
hud.get_block_inventory() -> int
|
||||||
|
|
||||||
|
-- Gives the ID of the second open inventory (block, virtual inventory...) or 0.
|
||||||
|
hud.get_second_inventory() -> int
|
||||||
|
|
||||||
-- Gives the ID of the player that the UI is bound to.
|
-- Gives the ID of the player that the UI is bound to.
|
||||||
hud.get_player() -> int
|
hud.get_player() -> int
|
||||||
|
|
||||||
|
|
@ -69,6 +72,9 @@ hud.is_paused() -> bool
|
||||||
-- Returns true if inventory is open or overlay is shown.
|
-- Returns true if inventory is open or overlay is shown.
|
||||||
hud.is_inventory_open() -> bool
|
hud.is_inventory_open() -> bool
|
||||||
|
|
||||||
|
-- Returns true if the player's inventory is open.
|
||||||
|
hud.is_player_inventory_open() -> boolean
|
||||||
|
|
||||||
-- Sets whether to allow pausing. If false, the pause menu will not pause the game.
|
-- Sets whether to allow pausing. If false, the pause menu will not pause the game.
|
||||||
hud.set_allow_pause(flag: bool)
|
hud.set_allow_pause(flag: bool)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue