mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
scripting: on_interact (right click on block) callback
This commit is contained in:
parent
2b4e6c1a14
commit
2c75a0bee4
5 changed files with 18 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ struct block_funcs_set {
|
|||
bool update: 1;
|
||||
bool onplaced: 1;
|
||||
bool onbroken: 1;
|
||||
bool oninteract: 1;
|
||||
bool randupdate: 1;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue