mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
add new world events: on_block_broken, on_block_placed
This commit is contained in:
parent
4952de4716
commit
ea765ffc0c
6 changed files with 49 additions and 10 deletions
|
|
@ -14,7 +14,9 @@ struct BlockMaterial;
|
|||
struct ItemDef;
|
||||
struct EntityDef;
|
||||
struct ContentPack;
|
||||
|
||||
class ContentBuilder;
|
||||
class ContentPackRuntime;
|
||||
struct ContentPackStats;
|
||||
|
||||
namespace dynamic {
|
||||
|
|
@ -24,6 +26,7 @@ namespace dynamic {
|
|||
|
||||
class ContentLoader {
|
||||
const ContentPack* pack;
|
||||
ContentPackRuntime* runtime;
|
||||
scriptenv env;
|
||||
ContentBuilder& builder;
|
||||
ContentPackStats* stats;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue