update doc/en/scripting.md

This commit is contained in:
MihailRis
2024-06-13 20:48:00 +03:00
parent 899767c430
commit 92cc208b0a
2 changed files with 24 additions and 7 deletions
+19 -2
View File
@@ -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