mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
add block/item tags
This commit is contained in:
parent
d59a901ae0
commit
8bdf31d7bb
9 changed files with 53 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include <glm/glm.hpp>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "data/dv.hpp"
|
||||
#include "typedefs.hpp"
|
||||
|
|
@ -64,11 +65,15 @@ struct ItemDef {
|
|||
|
||||
std::string scriptFile;
|
||||
|
||||
std::vector<std::string> tags;
|
||||
|
||||
struct {
|
||||
itemid_t id;
|
||||
blockid_t placingBlock;
|
||||
ItemFuncsSet funcsset {};
|
||||
bool emissive = false;
|
||||
|
||||
std::vector<int> tags;
|
||||
} rt {};
|
||||
|
||||
ItemDef(const std::string& name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue