mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
add block.has_tag, item.has_tag
This commit is contained in:
parent
8bdf31d7bb
commit
185b6cc661
7 changed files with 41 additions and 6 deletions
|
|
@ -4,6 +4,7 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
#include <array>
|
||||
#include <set>
|
||||
|
||||
#include "data/dv.hpp"
|
||||
#include "maths/UVRegion.hpp"
|
||||
|
|
@ -288,7 +289,7 @@ public:
|
|||
|
||||
blockid_t surfaceReplacement = 0;
|
||||
|
||||
std::vector<int> tags;
|
||||
std::set<int> tags;
|
||||
} rt {};
|
||||
|
||||
Block(const std::string& name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue