add on_replaced block event and on_block_replaced world event

This commit is contained in:
MihailRis
2024-11-22 12:31:45 +03:00
parent b40c8c4b4c
commit f2e7a54180
7 changed files with 54 additions and 0 deletions
+3
View File
@@ -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
);