add: docs for en, ru
This commit is contained in:
parent
7a1c035f01
commit
62a2360d2b
@ -91,6 +91,20 @@ player.set_noclip(bool)
|
||||
|
||||
Getter and setter for player noclip mode (collisions disabled)
|
||||
|
||||
``` python
|
||||
player.set_spawnpoint(playerid: int, x: number, y: number, z: number)
|
||||
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
|
||||
```
|
||||
@ -122,6 +136,12 @@ world.set_day_time(time: number)
|
||||
|
||||
Set day time value.
|
||||
|
||||
```python
|
||||
world.set_speed_time(value: number)
|
||||
```
|
||||
|
||||
Sets the specified speed for the game time
|
||||
|
||||
```python
|
||||
world.get_total_time() -> number
|
||||
```
|
||||
@ -134,6 +154,18 @@ world.get_seed() -> int
|
||||
|
||||
Returns world seed.
|
||||
|
||||
``` python
|
||||
world.is_day() -> boolean
|
||||
```
|
||||
|
||||
Proves that this is the current time during the day. From 0.2(8 am) to 0.8(8 pm)
|
||||
|
||||
``` python
|
||||
world.is_night() -> bool
|
||||
```
|
||||
|
||||
Checks that it is the current time at night. From 0.8(8 pm) to 0.2(8 am)
|
||||
|
||||
```python
|
||||
world.exists() -> bool
|
||||
```
|
||||
|
||||
@ -87,6 +87,20 @@ player.set_noclip(bool)
|
||||
|
||||
Геттер и сеттер noclip режима (выключенная коллизия игрока)
|
||||
|
||||
```python
|
||||
player.set_spawnpoint(playerid: int, x: number, y: number, z: number)
|
||||
player.get_spawnpoint(playerid: int) -> number, number, number
|
||||
```
|
||||
|
||||
Сеттер и геттер точки спавна игрока
|
||||
|
||||
```python
|
||||
player.set_jump_force(playerid: int, force: number)
|
||||
player.get_jump_force(playerid: int) -> number
|
||||
```
|
||||
|
||||
Сеттер и геттер силы прыжка игрока
|
||||
|
||||
```python
|
||||
player.get_selected_block(playerid: int) -> x,y,z
|
||||
```
|
||||
@ -116,6 +130,12 @@ world.set_day_time(time: number)
|
||||
|
||||
Устанавливает указанное игровое время.
|
||||
|
||||
```python
|
||||
world.set_speed_time(value: number)
|
||||
```
|
||||
|
||||
Устанавливает указанную скорость для игрового времени.
|
||||
|
||||
```python
|
||||
world.get_total_time() -> number
|
||||
```
|
||||
@ -134,6 +154,18 @@ world.exists() -> bool
|
||||
|
||||
Проверяет существование мира по имени.
|
||||
|
||||
```python
|
||||
world.is_day() -> bool
|
||||
```
|
||||
|
||||
Проверяет является ли текущее время днём. От 0.2(8 утра) до 0.8(8 вечера)
|
||||
|
||||
```python
|
||||
world.is_night() -> bool
|
||||
```
|
||||
|
||||
Проверяет является ли текущее время ночью. От 0.8(8 вечера) до 0.2(8 утра)
|
||||
|
||||
## Библиотека *pack*
|
||||
|
||||
```python
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user