mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
add GeneratorScript
This commit is contained in:
parent
6f5eb6be48
commit
95cf451cc8
12 changed files with 196 additions and 51 deletions
|
|
@ -13,6 +13,7 @@ struct BlockMaterial;
|
|||
struct ItemDef;
|
||||
struct EntityDef;
|
||||
struct ContentPack;
|
||||
struct GeneratorDef;
|
||||
|
||||
class ContentBuilder;
|
||||
class ContentPackRuntime;
|
||||
|
|
@ -39,6 +40,9 @@ class ContentLoader {
|
|||
void loadEntity(
|
||||
EntityDef& def, const std::string& full, const std::string& name
|
||||
);
|
||||
void loadGenerator(
|
||||
GeneratorDef& def, const std::string& full, const std::string& name
|
||||
);
|
||||
|
||||
static void loadCustomBlockModel(Block& def, dynamic::Map* primitives);
|
||||
static void loadBlockMaterial(BlockMaterial& def, const fs::path& file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue