docs update
This commit is contained in:
@@ -278,6 +278,12 @@ Open block UI and inventory. Throws an exception if block has no UI layout.
|
||||
|
||||
Returns block inventory ID (if *"inventory-size"=0* a virtual inventory will be created), and UI layout ID.
|
||||
|
||||
```python
|
||||
hud.show_overlay(layoutid: str, playerinv: bool)
|
||||
```
|
||||
|
||||
Show overlay with layout specified. Shows player inventory also if playerinv is **true**
|
||||
|
||||
> [!NOTE]
|
||||
> Only one block may be open at same time
|
||||
|
||||
|
||||
Reference in New Issue
Block a user