mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
add 'material' entity property
This commit is contained in:
parent
4adf3e2456
commit
53027cf153
3 changed files with 5 additions and 0 deletions
|
|
@ -87,6 +87,7 @@ template<> void ContentUnitLoader<EntityDef>::loadUnit(
|
|||
BodyTypeMeta.getItem(bodyTypeName, def.bodyType);
|
||||
|
||||
root.at("skeleton-name").get(def.skeletonName);
|
||||
root.at("material").get(def.material);
|
||||
root.at("blocking").get(def.blocking);
|
||||
root.at("solid").get(def.solid);
|
||||
root.at("mass").get(def.mass);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue