update doc/*/events.md

This commit is contained in:
MihailRis 2024-12-01 10:37:27 +03:00
parent 21c76c1b0d
commit 13cbe3fb17
2 changed files with 12 additions and 0 deletions

View File

@ -108,6 +108,12 @@ function on_block_placed(blockid, x, y, z, playerid)
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
function on_block_broken(blockid, x, y, z, playerid)
```

View File

@ -108,6 +108,12 @@ function on_block_placed(blockid, x, y, z, playerid)
Вызывается после установки блока игроком
```lua
function on_block_replaced(blockid, x, y, z, playerid)
```
Вызывается после замены блока игроком
```lua
function on_block_broken(blockid, x, y, z, playerid)
```