add block 'ambient-occlusion' property

This commit is contained in:
MihailRis
2024-07-27 18:37:18 +03:00
parent f485ba5e54
commit 71e20ff805
10 changed files with 149 additions and 53 deletions
+1
View File
@@ -217,6 +217,7 @@ void ContentLoader::loadBlock(Block& def, const std::string& name, const fs::pat
root->flag("light-passing", def.lightPassing);
root->flag("sky-light-passing", def.skyLightPassing);
root->flag("shadeless", def.shadeless);
root->flag("ambient-occlusion", def.ambientOcclusion);
root->flag("breakable", def.breakable);
root->flag("selectable", def.selectable);
root->flag("grounded", def.grounded);