add 'model-name' item property

This commit is contained in:
MihailRis
2024-10-30 12:46:36 +03:00
parent d3def8e741
commit 0618028df1
4 changed files with 14 additions and 0 deletions
+1
View File
@@ -429,6 +429,7 @@ void ContentLoader::loadItem(
root.at("icon").get(def.icon);
root.at("placing-block").get(def.placingBlock);
root.at("script-name").get(def.scriptName);
root.at("model-name").get(def.modelName);
root.at("stack-size").get(def.stackSize);
// item light emission [r, g, b] where r,g,b in range [0..15]