fixing floating glacian trees

This commit is contained in:
Pyritie
2025-10-05 22:57:56 +01:00
parent 686b689ef1
commit 7c4f416b00
14 changed files with 42 additions and 7 deletions

View File

@@ -2,6 +2,21 @@
"type": "afc:trunkless_stacked_tree",
"config": {
"layers": [
{
"templates": [
"tfg:trees/mossy_glowshroom_roots_1",
"tfg:trees/mossy_glowshroom_roots_2",
"tfg:trees/mossy_glowshroom_roots_3",
"tfg:trees/mossy_glowshroom_roots_4",
"tfg:trees/mossy_glowshroom_roots_5",
"tfg:trees/mossy_glowshroom_roots_6",
"tfg:trees/mossy_glowshroom_roots_7",
"tfg:trees/mossy_glowshroom_roots_8",
"tfg:trees/mossy_glowshroom_roots_9"
],
"min_count": 1,
"max_count": 1
},
{
"templates": [
"tfg:trees/mossy_glowshroom_stem_1",

View File

@@ -2,6 +2,21 @@
"type": "afc:trunkless_stacked_tree",
"config": {
"layers": [
{
"templates": [
"tfg:trees/mossy_glowshroom_roots_1",
"tfg:trees/mossy_glowshroom_roots_2",
"tfg:trees/mossy_glowshroom_roots_3",
"tfg:trees/mossy_glowshroom_roots_4",
"tfg:trees/mossy_glowshroom_roots_5",
"tfg:trees/mossy_glowshroom_roots_6",
"tfg:trees/mossy_glowshroom_roots_7",
"tfg:trees/mossy_glowshroom_roots_8",
"tfg:trees/mossy_glowshroom_roots_9"
],
"min_count": 1,
"max_count": 1
},
{
"templates": [
"tfg:trees/mossy_glowshroom_stem_1",
@@ -28,7 +43,7 @@
},
"placement": {
"width": 1,
"height": 1,
"height": 10,
"allow_submerged": true,
"allow_deeply_submerged": false
}

View File

@@ -5,6 +5,11 @@
"type": "tfc:flat_enough",
"flatness": 0.8,
"radius": 4
},
{
"type": "minecraft:random_offset",
"xz_spread": 0,
"y_spread": -7
}
]
}

View File

@@ -5,6 +5,11 @@
"type": "tfc:flat_enough",
"flatness": 0.8,
"radius": 4
},
{
"type": "minecraft:random_offset",
"xz_spread": 0,
"y_spread": -7
}
]
}

View File

@@ -151,7 +151,6 @@ TFCEvents.worldgenData(event => {
null,
null,
[
//"betterend:glacian_hymenophore[facing=up]",
"tfg:glacian_leaves_fallen",
'tfg:groundcover/glacian_stick'
],
@@ -160,14 +159,10 @@ TFCEvents.worldgenData(event => {
'tfg:mars/tree/glacian',
null, null, null, null, null, null,
placement => {
placement.flatEnough(flatness => {
flatness.flatness(0.8)
flatness.radius(4)
})
placement.jsonPlacement({
"type": "minecraft:random_offset",
"xz_spread": 0,
"y_spread": -2
"y_spread": -7
})
}
)