Oak and Birch Tree Generators (#1382)

* Added Blueprints and SBBs for oak and birch trees

* Whoops! Added .zig to .zon

* Format Change (agh)

* Fixes to generators

* Changed nulls and put trees in Tree folder

* Removed Treefixes

* Update leaf_1.zig.zon

* Omitted chances

* 5 years

* Changed the two oak roots I had neglected
This commit is contained in:
ikabod-kee 2025-05-07 12:37:45 -04:00 committed by GitHub
parent 93d5292338
commit 2991febe3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
110 changed files with 576 additions and 63 deletions

View File

@ -14,30 +14,16 @@
},
.structures = .{
.{
.id = "cubyz:simple_tree",
.leaves = "cubyz:oak_leaves",
.log = "cubyz:oak_log",
.top = "cubyz:oak_top",
.chance = 0.4,
.type = .round,
.height = 6,
.height_variation = 3,
.leafElongation = 1.0,
.deltaLeafElongation = 0.2,
.id = "cubyz:sbb",
.structure = "cubyz:tree/oak/forest_generator",
.placeMode = .degradable,
.chance = 0.1,
},
.{
.id = "cubyz:simple_tree",
.leaves = "cubyz:birch_leaves",
.log = "cubyz:birch_log",
.top = "cubyz:birch_top",
.chance = 0.2,
.type = .round,
.height = 10,
.height_variation = 5,
.leafRadius = 2.5,
.leafRadius_variation = 1.5,
.leafElongation = 1.7,
.deltaLeafElongation = 0.2,
.id = "cubyz:sbb",
.structure = "cubyz:tree/birch/forest_generator",
.placeMode = .degradable,
.chance = 0.1,
},
.{
.id = "cubyz:fallen_tree",

View File

@ -24,33 +24,10 @@
.smoothness = 0.5,
},
.{
.id = "cubyz:simple_tree",
.leaves = "cubyz:birch_leaves",
.log = "cubyz:birch_log",
.top = "cubyz:birch_top",
.chance = 0.15,
.type = .round,
.height = 8,
.height_variation = 10,
.leafRadius = 2.5,
.leafRadius_variation = 1.5,
.leafElongation = 1.7,
.deltaLeafElongation = 0.2,
},
.{
.id = "cubyz:simple_tree",
.leaves = "cubyz:birch_leaves",
.log = "cubyz:birch_branch:0b11",
.top = "cubyz:birch_branch:0b11",
.chance = 0.15,
.type = .round,
.height = 9,
.height_variation = 9,
.leafRadius = 2,
.leafRadius_variation = 1.5,
.leafElongation = 1.7,
.deltaLeafElongation = 0.2,
.branched = false,
.id = "cubyz:sbb",
.structure = "cubyz:tree/birch/birch_forest_generator",
.placeMode = .degradable,
.chance = 0.2,
},
.{
.id = "cubyz:fallen_tree",

View File

@ -127,7 +127,7 @@
.parentBiomes = .{
.{
.id = "cubyz:forest/base",
.chance = 0.5,
.chance = 0.01,
},
},
}

View File

@ -74,7 +74,7 @@
.parentBiomes = .{
.{
.id = "cubyz:forest/base",
.chance = 0.2,
.chance = 0.25,
},
},
}

View File

@ -13,18 +13,6 @@
"2 to 3 cubyz:soil",
},
.structures = .{
.{
.id = "cubyz:simple_tree",
.leaves = "cubyz:oak_leaves",
.log = "cubyz:oak_log",
.top = "cubyz:oak_top",
.chance = 0.0128,
.type = .round,
.height = 6,
.height_variation = 3,
.leafElongation = 1.0,
.deltaLeafElongation = 0.2,
},
.{
.id = "cubyz:boulder",
.chance = 0.00016,
@ -58,5 +46,11 @@
.density = 0.3,
.priority = 0.1,
},
.{
.id = "cubyz:sbb",
.structure = "cubyz:tree/oak/grassland_generator",
.placeMode = .degradable,
.chance = 0.03,
},
},
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:deco/birch_leaf",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:deco/bolete_side",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:deco/ivy_side_2",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:deco/ivy_side_3",
.children = .{},
}

View File

@ -0,0 +1,8 @@
.{
.blueprint = "cubyz:tree/birch/1/branch/1",
.children = .{
.crimson = .{
.{.structure = "cubyz:tree/birch/1/leaf/1"},
},
},
}

View File

@ -0,0 +1,8 @@
.{
.blueprint = "cubyz:tree/birch/1/branch/2",
.children = .{
.crimson = .{
.{.structure = "cubyz:tree/birch/1/leaf/1"},
},
},
}

View File

@ -0,0 +1,8 @@
.{
.blueprint = "cubyz:tree/birch/1/branch/3",
.children = .{
.crimson = .{
.{.structure = "cubyz:tree/birch/1/leaf/1"},
},
},
}

View File

@ -0,0 +1,9 @@
.{
.blueprint = "cubyz:tree/birch/1/leaf/1",
.children = .{
.lime = .{
.{.structure = "cubyz:deco/birch_leaf", .chance = 0.25},
.{.structure = null, .chance = 0.75},
},
},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/birch/1/root/1",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/birch/1/root/1",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/birch/1/root/1",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/birch/1/small_branch/1",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/birch/1/small_branch/2",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/birch/1/small_branch/3",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/birch/1/stub/1",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/birch/1/stub/2",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/birch/1/stub/3",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/birch/1/stub/4",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/birch/1/top/1",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/birch/1/top/2",
.children = .{},
}

View File

@ -0,0 +1,32 @@
.{
.blueprint = "cubyz:tree/birch/1/tree/1",
.children = .{
.crimson = .{
.{.structure = "cubyz:tree/birch/1/branch/1"},
.{.structure = "cubyz:tree/birch/1/branch/2"},
.{.structure = "cubyz:tree/birch/1/branch/3"},
},
.lime = .{
.{.structure = "cubyz:tree/birch/1/stub/1"},
.{.structure = "cubyz:tree/birch/1/stub/2"},
.{.structure = "cubyz:tree/birch/1/stub/3"},
.{.structure = "cubyz:tree/birch/1/stub/4"},
.{.structure = null},
},
.yellow = .{
.{.structure = "cubyz:tree/birch/1/root/1"},
.{.structure = "cubyz:tree/birch/1/root/2"},
.{.structure = "cubyz:tree/birch/1/root/3"},
.{.structure = null},
},
.blue = .{
.{.structure = "cubyz:tree/birch/1/leaf/1"},
},
.pink = .{
.{.structure = "cubyz:deco/ivy_side_2", .chance = 0.1},
.{.structure = "cubyz:deco/ivy_side_3", .chance = 0.05},
.{.structure = "cubyz:deco/bolete_side", .chance = 0.025},
.{.structure = null, .chance = 0.825},
},
},
}

View File

@ -0,0 +1,32 @@
.{
.blueprint = "cubyz:tree/birch/1/tree/2",
.children = .{
.crimson = .{
.{.structure = "cubyz:tree/birch/1/branch/1"},
.{.structure = "cubyz:tree/birch/1/branch/2"},
.{.structure = "cubyz:tree/birch/1/branch/3"},
},
.lime = .{
.{.structure = "cubyz:tree/birch/1/stub/1", .chance = 0.1},
.{.structure = "cubyz:tree/birch/1/stub/2", .chance = 0.1},
.{.structure = "cubyz:tree/birch/1/stub/3", .chance = 0.1},
.{.structure = "cubyz:tree/birch/1/stub/4", .chance = 0.1},
.{.structure = null, .chance = 0.6},
},
.yellow = .{
.{.structure = "cubyz:tree/birch/1/root/1"},
.{.structure = "cubyz:tree/birch/1/root/2"},
.{.structure = "cubyz:tree/birch/1/root/3"},
.{.structure = null},
},
.blue = .{
.{.structure = "cubyz:tree/birch/1/leaf/1"},
},
.pink = .{
.{.structure = "cubyz:deco/ivy_side_2", .chance = 0.1},
.{.structure = "cubyz:deco/ivy_side_3", .chance = 0.05},
.{.structure = "cubyz:deco/bolete_side", .chance = 0.025},
.{.structure = null, .chance = 0.825},
},
},
}

View File

@ -0,0 +1,32 @@
.{
.blueprint = "cubyz:tree/birch/1/tree/3",
.children = .{
.crimson = .{
.{.structure = "cubyz:tree/birch/1/branch/1"},
.{.structure = "cubyz:tree/birch/1/branch/2"},
.{.structure = "cubyz:tree/birch/1/branch/3"},
},
.lime = .{
.{.structure = "cubyz:tree/birch/1/stub/1", .chance = 0.1},
.{.structure = "cubyz:tree/birch/1/stub/2", .chance = 0.1},
.{.structure = "cubyz:tree/birch/1/stub/3", .chance = 0.1},
.{.structure = "cubyz:tree/birch/1/stub/4", .chance = 0.1},
.{.structure = null, .chance = 0.6},
},
.yellow = .{
.{.structure = "cubyz:tree/birch/1/root/1"},
.{.structure = "cubyz:tree/birch/1/root/2"},
.{.structure = "cubyz:tree/birch/1/root/3"},
.{.structure = null},
},
.blue = .{
.{.structure = "cubyz:tree/birch/1/leaf/1"},
},
.pink = .{
.{.structure = "cubyz:deco/ivy_side_2", .chance = 0.1},
.{.structure = "cubyz:deco/ivy_side_3", .chance = 0.05},
.{.structure = "cubyz:deco/bolete_side", .chance = 0.025},
.{.structure = null, .chance = 0.825},
},
},
}

View File

@ -0,0 +1,36 @@
.{
.blueprint = "cubyz:tree/birch/1/tree/4",
.children = .{
.crimson = .{
.{.structure = "cubyz:tree/birch/1/small_branch/1"},
.{.structure = "cubyz:tree/birch/1/small_branch/2"},
.{.structure = "cubyz:tree/birch/1/small_branch/3"},
.{.structure = "cubyz:tree/birch/1/branch/1"},
.{.structure = "cubyz:tree/birch/1/branch/2"},
.{.structure = "cubyz:tree/birch/1/branch/3"},
},
.blue = .{
.{.structure = "cubyz:tree/birch/1/top/1"},
},
.yellow = .{
.{.structure = null},
.{.structure = "cubyz:tree/birch/1/root/1"},
.{.structure = "cubyz:tree/birch/1/root/2"},
.{.structure = "cubyz:tree/birch/1/root/3"},
},
.magenta = .{
.{.structure = "cubyz:tree/birch/1/small_branch/1", .chance = 0.23},
.{.structure = "cubyz:tree/birch/1/small_branch/2", .chance = 0.33},
.{.structure = "cubyz:tree/birch/1/small_branch/3", .chance = 0.44},
},
.lime = .{
.{.structure = "cubyz:tree/birch/1/top/2"},
},
.pink = .{
.{.structure = "cubyz:deco/ivy_side_2", .chance = 0.1},
.{.structure = "cubyz:deco/ivy_side_3", .chance = 0.05},
.{.structure = "cubyz:deco/bolete_side", .chance = 0.025},
.{.structure = null, .chance = 0.825},
},
},
}

View File

@ -0,0 +1,11 @@
.{
.blueprint = "cubyz:generator",
.children = .{
.crimson = .{
.{.structure = "cubyz:tree/birch/1/tree/1", .chance = 0.2},
.{.structure = "cubyz:tree/birch/1/tree/2", .chance = 0.2},
.{.structure = "cubyz:tree/birch/1/tree/3", .chance = 0.2},
.{.structure = "cubyz:tree/birch/1/tree/4", .chance = 0.4},
},
},
}

View File

@ -0,0 +1,11 @@
.{
.blueprint = "cubyz:generator",
.children = .{
.crimson = .{
.{.structure = "cubyz:tree/birch/1/tree/1"},
.{.structure = "cubyz:tree/birch/1/tree/2"},
.{.structure = "cubyz:tree/birch/1/tree/3"},
.{.structure = "cubyz:tree/birch/1/tree/4"},
},
},
}

View File

@ -0,0 +1,33 @@
.{
.blueprint = "cubyz:tree/oak/1/base/1",
.children = .{
.crimson = .{
.{.structure = "cubyz:tree/oak/1/root/1", .chance = 0.35},
.{.structure = "cubyz:tree/oak/1/root/2", .chance = 0.25},
.{.structure = "cubyz:tree/oak/1/root/5", .chance = 0.075},
.{.structure = "cubyz:tree/oak/1/root/6", .chance = 0.075},
.{.structure = null, .chance = 0.25},
},
.red = .{
.{.structure = "cubyz:tree/oak/1/root/1", .chance = 0.125},
.{.structure = "cubyz:tree/oak/1/root/2", .chance = 0.125},
.{.structure = "cubyz:tree/oak/1/root/3", .chance = 0.125},
.{.structure = "cubyz:tree/oak/1/root/4", .chance = 0.125},
.{.structure = "cubyz:tree/oak/1/root/5", .chance = 0.125},
.{.structure = "cubyz:tree/oak/1/root/6", .chance = 0.125},
.{.structure = null, .chance = 0.25},
},
.blue = .{
.{.structure = "cubyz:tree/oak/1/root/1", .chance = 0.75},
.{.structure = null, .chance = 0.25},
},
.brown = .{
.{.structure = "cubyz:tree/oak/1/trunk/1"},
.{.structure = "cubyz:tree/oak/1/trunk/2"},
.{.structure = "cubyz:tree/oak/1/trunk/3"},
.{.structure = "cubyz:tree/oak/1/trunk/4"},
.{.structure = "cubyz:tree/oak/1/trunk/5"},
.{.structure = "cubyz:tree/oak/1/trunk/6"},
},
},
}

View File

@ -0,0 +1,22 @@
.{
.blueprint = "cubyz:tree/oak/1/base/2",
.children = .{
.crimson = .{
.{.structure = "cubyz:tree/oak/1/root/1", .chance = 0.125},
.{.structure = "cubyz:tree/oak/1/root/2", .chance = 0.125},
.{.structure = "cubyz:tree/oak/1/root/3", .chance = 0.125},
.{.structure = "cubyz:tree/oak/1/root/4", .chance = 0.125},
.{.structure = "cubyz:tree/oak/1/root/5", .chance = 0.125},
.{.structure = "cubyz:tree/oak/1/root/6", .chance = 0.125},
.{.structure = null, .chance = 0.25},
},
.brown = .{
.{.structure = "cubyz:tree/oak/1/trunk/1"},
.{.structure = "cubyz:tree/oak/1/trunk/2"},
.{.structure = "cubyz:tree/oak/1/trunk/3"},
.{.structure = "cubyz:tree/oak/1/trunk/4"},
.{.structure = "cubyz:tree/oak/1/trunk/5"},
.{.structure = "cubyz:tree/oak/1/trunk/6"},
},
},
}

View File

@ -0,0 +1,22 @@
.{
.blueprint = "cubyz:tree/oak/1/base/3",
.children = .{
.crimson = .{
.{.structure = "cubyz:tree/oak/1/root/1", .chance = 0.125},
.{.structure = "cubyz:tree/oak/1/root/2", .chance = 0.125},
.{.structure = "cubyz:tree/oak/1/root/3", .chance = 0.125},
.{.structure = "cubyz:tree/oak/1/root/4", .chance = 0.125},
.{.structure = "cubyz:tree/oak/1/root/5", .chance = 0.125},
.{.structure = "cubyz:tree/oak/1/root/6", .chance = 0.125},
.{.structure = null, .chance = 0.25},
},
.brown = .{
.{.structure = "cubyz:tree/oak/1/trunk/1"},
.{.structure = "cubyz:tree/oak/1/trunk/2"},
.{.structure = "cubyz:tree/oak/1/trunk/3"},
.{.structure = "cubyz:tree/oak/1/trunk/4"},
.{.structure = "cubyz:tree/oak/1/trunk/5"},
.{.structure = "cubyz:tree/oak/1/trunk/6"},
},
},
}

View File

@ -0,0 +1,10 @@
.{
.blueprint = "cubyz:tree/oak/1/branch/1",
.children = .{
.crimson = .{
.{.structure = "cubyz:tree/oak/1/leaf/1"},
.{.structure = "cubyz:tree/oak/1/leaf/2"},
.{.structure = "cubyz:tree/oak/1/leaf/3"},
},
},
}

View File

@ -0,0 +1,10 @@
.{
.blueprint = "cubyz:tree/oak/1/branch/2",
.children = .{
.crimson = .{
.{.structure = "cubyz:tree/oak/1/leaf/1"},
.{.structure = "cubyz:tree/oak/1/leaf/2"},
.{.structure = "cubyz:tree/oak/1/leaf/3"},
},
},
}

View File

@ -0,0 +1,10 @@
.{
.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"},
},
},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/oak/1/leaf/1",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/oak/1/leaf/2",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/oak/1/leaf/3",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/oak/1/root/1",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/oak/1/root/2",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/oak/1/root/3",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/oak/1/root/4",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/oak/1/root/5",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/oak/1/root/6",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/oak/1/stub/1",
.children = .{},
}

View File

@ -0,0 +1,4 @@
.{
.blueprint = "cubyz:tree/oak/1/stub/2",
.children = .{},
}

Some files were not shown because too many files have changed in this diff Show More