mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
add 'on_breaking', 'on_block_breaking' events
This commit is contained in:
parent
c3f22c6854
commit
4363883728
5 changed files with 60 additions and 82 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue