update doc/*/events.md
This commit is contained in:
parent
21c76c1b0d
commit
13cbe3fb17
@ -108,6 +108,12 @@ function on_block_placed(blockid, x, y, z, playerid)
|
|||||||
|
|
||||||
Called on block placed by player
|
Called on block placed by player
|
||||||
|
|
||||||
|
```lua
|
||||||
|
function on_block_replaced(blockid, x, y, z, playerid)
|
||||||
|
```
|
||||||
|
|
||||||
|
Called on block replaced with other by player
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
function on_block_broken(blockid, x, y, z, playerid)
|
function on_block_broken(blockid, x, y, z, playerid)
|
||||||
```
|
```
|
||||||
|
|||||||
@ -108,6 +108,12 @@ function on_block_placed(blockid, x, y, z, playerid)
|
|||||||
|
|
||||||
Вызывается после установки блока игроком
|
Вызывается после установки блока игроком
|
||||||
|
|
||||||
|
```lua
|
||||||
|
function on_block_replaced(blockid, x, y, z, playerid)
|
||||||
|
```
|
||||||
|
|
||||||
|
Вызывается после замены блока игроком
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
function on_block_broken(blockid, x, y, z, playerid)
|
function on_block_broken(blockid, x, y, z, playerid)
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user