mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
new player.* functions
This commit is contained in:
parent
0ad3dd7ab8
commit
1917cbba8b
16 changed files with 306 additions and 224 deletions
|
|
@ -69,6 +69,20 @@ player.get_inventory(playerid: int) -> int, int
|
|||
|
||||
Returns player inventory ID and selected slot index (0-9)
|
||||
|
||||
```python
|
||||
player.is_flight() -> bool
|
||||
player.set_flight(bool)
|
||||
```
|
||||
|
||||
Getter and setter for player flight mode
|
||||
|
||||
```python
|
||||
player.is_noclip() -> bool
|
||||
player.set_noclip(bool)
|
||||
```
|
||||
|
||||
Getter and setter for player noclip mode (physics disabled)
|
||||
|
||||
## *world* library
|
||||
|
||||
```python
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue