mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
Block.scriptName, ItemDef.scriptName
This commit is contained in:
parent
9119caca65
commit
b12d242335
3 changed files with 7 additions and 3 deletions
|
|
@ -81,7 +81,7 @@ public:
|
|||
std::vector<glm::vec3> modelExtraPoints = {}; //initially made for tetragons
|
||||
std::vector<UVRegion> modelUVs = {}; // boxes' tex-UVs also there
|
||||
uint8_t emission[4] {0, 0, 0, 0};
|
||||
unsigned char drawGroup = 0;
|
||||
ubyte drawGroup = 0;
|
||||
BlockModel model = BlockModel::block;
|
||||
bool lightPassing = false;
|
||||
bool skyLightPassing = false;
|
||||
|
|
@ -95,6 +95,7 @@ public:
|
|||
AABB hitbox;
|
||||
BlockRotProfile rotations;
|
||||
std::string pickingItem = name+BLOCK_ITEM_SUFFIX;
|
||||
std::string scriptName = name.substr(name.find(':')+1);
|
||||
|
||||
struct {
|
||||
blockid_t id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue