mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
add block/item tags
This commit is contained in:
parent
d59a901ae0
commit
8bdf31d7bb
9 changed files with 53 additions and 1 deletions
|
|
@ -261,6 +261,8 @@ public:
|
|||
|
||||
std::unique_ptr<Variants> variants;
|
||||
|
||||
std::vector<std::string> tags;
|
||||
|
||||
/// @brief Runtime indices (content indexing results)
|
||||
struct {
|
||||
/// @brief block runtime integer id
|
||||
|
|
@ -285,6 +287,8 @@ public:
|
|||
itemid_t pickingItem = 0;
|
||||
|
||||
blockid_t surfaceReplacement = 0;
|
||||
|
||||
std::vector<int> tags;
|
||||
} rt {};
|
||||
|
||||
Block(const std::string& name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue