add GeneratorDef

This commit is contained in:
MihailRis
2024-08-14 01:23:14 +03:00
parent cae314bc36
commit 5fa6b14f05
6 changed files with 22 additions and 9 deletions
+2
View File
@@ -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();