mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-21 09:59:44 +00:00
add 'translucent' entity property
This commit is contained in:
parent
35e3d80f35
commit
1ec159d2f6
3 changed files with 5 additions and 0 deletions
|
|
@ -94,6 +94,7 @@ template<> void ContentUnitLoader<EntityDef>::loadUnit(
|
|||
root.at("mass").get(def.mass);
|
||||
root.at("elasticity").get(def.elasticity);
|
||||
root.at("step-height").get(def.stepHeight);
|
||||
root.at("translucent").get(def.translucent);
|
||||
|
||||
std::string lightingModeName;
|
||||
root.at("lighting-mode").get(lightingModeName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue