mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 05:51:51 +00:00
update doc/en/scripting.md
This commit is contained in:
parent
899767c430
commit
92cc208b0a
2 changed files with 24 additions and 7 deletions
|
|
@ -437,7 +437,6 @@ Set specified bits.
|
|||
|
||||
## *item* library
|
||||
|
||||
|
||||
```python
|
||||
item.name(itemid: int) -> str
|
||||
```
|
||||
|
|
@ -512,7 +511,25 @@ Remove an element from the screen
|
|||
hud.get_block_inventory() -> int
|
||||
```
|
||||
|
||||
Get open block inventory ID or 0
|
||||
Get open block inventory ID or 0.
|
||||
|
||||
```python
|
||||
hud.get_player() -> int
|
||||
```
|
||||
|
||||
Gives the ID of the player that the UI is bound to.
|
||||
|
||||
```python
|
||||
hud.pause()
|
||||
```
|
||||
|
||||
Opens the pause menu
|
||||
|
||||
```python
|
||||
hud.resume()
|
||||
```
|
||||
|
||||
Closes the pause menu.
|
||||
|
||||
### *time* library
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue