mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
add on_replaced block event and on_block_replaced world event
This commit is contained in:
parent
b40c8c4b4c
commit
f2e7a54180
7 changed files with 54 additions and 0 deletions
|
|
@ -71,6 +71,9 @@ namespace scripting {
|
|||
void on_block_placed(
|
||||
Player* player, const Block& block, const glm::ivec3& pos
|
||||
);
|
||||
void on_block_replaced(
|
||||
Player* player, const Block& block, const glm::ivec3& pos
|
||||
);
|
||||
void on_block_broken(
|
||||
Player* player, const Block& block, const glm::ivec3& pos
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue