mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
on_blocks_tick event
This commit is contained in:
parent
0c2b58c8ac
commit
5188ee7bd8
5 changed files with 36 additions and 2 deletions
|
|
@ -22,6 +22,7 @@ namespace scripting {
|
|||
void initialize(Engine* engine);
|
||||
void on_world_load(Level* level, BlocksController* blocks);
|
||||
void on_world_quit();
|
||||
void on_blocks_tick(const Block* block, int tps);
|
||||
void update_block(const Block* block, int x, int y, int z);
|
||||
void random_update_block(const Block* block, int x, int y, int z);
|
||||
void on_block_placed(Player* player, const Block* block, int x, int y, int z);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue