mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
update doc/*/events.md
This commit is contained in:
parent
21c76c1b0d
commit
13cbe3fb17
2 changed files with 12 additions and 0 deletions
|
|
@ -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)
|
||||
```
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue