mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add player.get_selected_entity(...) & update docs
This commit is contained in:
parent
c17f3fec54
commit
e73ccaded1
5 changed files with 72 additions and 43 deletions
|
|
@ -105,6 +105,18 @@ player.get_selected_block(playerid: int) -> x,y,z
|
|||
|
||||
Returns position of the selected block or nil
|
||||
|
||||
```python
|
||||
player.get_selected_entity(playerid: int) -> int
|
||||
```
|
||||
|
||||
Returns unique indentifier of the entity selected by player
|
||||
|
||||
```python
|
||||
player.get_entity(playerid: int) -> int
|
||||
```
|
||||
|
||||
Returns unique identifier of the player entity
|
||||
|
||||
## *world* library
|
||||
|
||||
## Библиотека *world*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue