add 'on_breaking', 'on_block_breaking' events

This commit is contained in:
MihailRis
2024-12-21 14:09:17 +03:00
parent c3f22c6854
commit 4363883728
5 changed files with 60 additions and 82 deletions
+6 -5
View File
@@ -96,11 +96,12 @@ struct ContentPackStats {
};
struct WorldFuncsSet {
bool onblockplaced : 1;
bool onblockreplaced : 1;
bool onblockbroken : 1;
bool onblockinteract : 1;
bool onplayertick : 1;
bool onblockplaced;
bool onblockreplaced;
bool onblockbreaking;
bool onblockbroken;
bool onblockinteract;
bool onplayertick;
};
class ContentPackRuntime {