mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
ref: name in libworld.cpp & docs
This commit is contained in:
parent
a1283d7f7b
commit
75344023d8
3 changed files with 14 additions and 15 deletions
|
|
@ -98,13 +98,6 @@ player.get_spawnpoint(playerid: int) -> number, number, number
|
|||
|
||||
Point setter and getter added by player
|
||||
|
||||
```python
|
||||
player.set_jump_force(playerid: int, force: number)
|
||||
player.get_jump_force(playerid: int) -> number
|
||||
```
|
||||
|
||||
Player jump force setter and getter
|
||||
|
||||
```python
|
||||
player.get_selected_block(playerid: int) -> x,y,z
|
||||
```
|
||||
|
|
@ -137,10 +130,16 @@ world.set_day_time(time: number)
|
|||
Set day time value.
|
||||
|
||||
```python
|
||||
world.set_speed_time(value: number)
|
||||
world.set_day_time_speed(value: number)
|
||||
```
|
||||
|
||||
Sets the specified speed for the game time
|
||||
Sets the specified speed for game time.
|
||||
|
||||
```python
|
||||
world.get_day_time_speed() -> number
|
||||
```
|
||||
|
||||
Returns the speed for game time.
|
||||
|
||||
```python
|
||||
world.get_total_time() -> number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue