mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
add 'translucent' block property
This commit is contained in:
parent
a7833a780d
commit
b23d31a321
4 changed files with 7 additions and 1 deletions
|
|
@ -333,6 +333,7 @@ void ContentLoader::loadBlock(
|
|||
root.at("inventory-size").get(def.inventorySize);
|
||||
root.at("tick-interval").get(def.tickInterval);
|
||||
root.at("overlay-texture").get(def.overlayTexture);
|
||||
root.at("translucent").get(def.translucent);
|
||||
|
||||
if (root.has("fields")) {
|
||||
def.dataStruct = std::make_unique<StructLayout>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue