-
Notifications
You must be signed in to change notification settings - Fork 187
Closed
Labels
Milestone
Description
Description
As requested in #1382 (comment)
Allow inlined SBB declarations, so it is not necessary to create SBB zon file when SBB has no children.
Syntax could be:
.{
.blueprint = "cubyz:tree/oak/1/branch_3",
.children = .{
.crimson = .{
.{.structure = "cubyz:tree/oak/1/leaf_1"},
.{.structure = "cubyz:tree/oak/1/leaf_2"},
.{.structure = "cubyz:tree/oak/1/leaf_3"},
},
},
}Where cubyz:tree/oak/1/leaf_1 must map to existing blueprint asset.
Instead of:
.{
.blueprint = "cubyz:tree/oak/1/branch_3",
.children = .{
.crimson = .{
.{.structure = "cubyz:tree/oak/1/leaf_1"},
.{.structure = "cubyz:tree/oak/1/leaf_2"},
.{.structure = "cubyz:tree/oak/1/leaf_3"},
},
},
}And assets/cubyz/sbb/tree/oak/1/leaf_1.zig.zon with:
.{
.blueprint = "cubyz:tree/oak/1/leaf_1",
}