mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
emissive items
This commit is contained in:
parent
213eba6072
commit
05fe86e64c
5 changed files with 25 additions and 9 deletions
|
|
@ -21,6 +21,7 @@ public:
|
|||
std::string const name;
|
||||
|
||||
bool generated = false;
|
||||
uint8_t emission[4] {0, 0, 0, 0};
|
||||
|
||||
item_icon_type iconType = item_icon_type::sprite;
|
||||
std::string icon = "block:notfound";
|
||||
|
|
@ -31,6 +32,7 @@ public:
|
|||
itemid_t id;
|
||||
item_funcs_set funcsset {};
|
||||
blockid_t placingBlock;
|
||||
bool emissive = false;
|
||||
} rt;
|
||||
|
||||
ItemDef(std::string name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue