mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 06:51:51 +00:00
add GeneratorDef
This commit is contained in:
parent
cae314bc36
commit
5fa6b14f05
6 changed files with 22 additions and 9 deletions
|
|
@ -8,6 +8,7 @@
|
|||
#include "ContentPack.hpp"
|
||||
#include "items/ItemDef.hpp"
|
||||
#include "objects/EntityDef.hpp"
|
||||
#include "world/generator/GeneratorDef.hpp"
|
||||
#include "voxels/Block.hpp"
|
||||
|
||||
template <class T>
|
||||
|
|
@ -59,6 +60,7 @@ public:
|
|||
ContentUnitBuilder<Block> blocks {allNames, ContentType::BLOCK};
|
||||
ContentUnitBuilder<ItemDef> items {allNames, ContentType::ITEM};
|
||||
ContentUnitBuilder<EntityDef> entities {allNames, ContentType::ENTITY};
|
||||
ContentUnitBuilder<GeneratorDef> generators {allNames, ContentType::GENERATOR};
|
||||
ResourceIndicesSet resourceIndices {};
|
||||
|
||||
~ContentBuilder();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue