added surface rules for venus oceans/rivers, cleaned up other sections

This commit is contained in:
Pyritie 2025-11-10 00:52:48 +00:00
parent c11281308b
commit 544a46567f

View file

@ -396,25 +396,414 @@
"biome_is": [ "tfg:venus/sulfuric_ravine" ] "biome_is": [ "tfg:venus/sulfuric_ravine" ]
}, },
"then_run": { "then_run": {
"type": "minecraft:block", "type": "minecraft:condition",
"result_state": { "Name": "minecraft:light_blue_concrete" } "if_true": {
"type": "minecraft:above_preliminary_surface"
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:vertical_gradient",
"random_name": "sulfuric_ravine_sea_level",
"true_at_and_below": {
"absolute": 57
},
"false_at_and_above": {
"absolute": 59
} }
}, },
"then_run": {
"type": "minecraft:block",
"result_state": { "Name": "create:scoria" }
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:noise_threshold",
"noise": "minecraft:powder_snow",
"min_threshold": 0.1,
"max_threshold": 0.2
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 1,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "minecraft:block",
"result_state": { "Name": "tfg:sand/fluorapatite/brown" }
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 3,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "minecraft:block",
"result_state": { "Name": "tfg:sandstone/raw/fluorapatite/brown" }
}
}
]
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:noise_threshold",
"noise": "minecraft:powder_snow",
"min_threshold": -0.1,
"max_threshold": 0.4
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 1,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "minecraft:block",
"result_state": { "Name": "tfg:sand/fluorapatite/orange" }
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 3,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "minecraft:block",
"result_state": { "Name": "tfg:sandstone/raw/fluorapatite/orange" }
}
}
]
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:noise_threshold",
"noise": "minecraft:powder_snow",
"min_threshold": -0.4,
"max_threshold": 0.7
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 1,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "minecraft:block",
"result_state": { "Name": "tfg:sand/fluorapatite/yellow" }
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 3,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "minecraft:block",
"result_state": { "Name": "tfg:sandstone/raw/fluorapatite/yellow" }
}
}
]
}
},
{
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 1,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "minecraft:block",
"result_state": {
"Name": "tfc:sand/black"
}
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 3,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "minecraft:block",
"result_state": {
"Name": "tfc:raw_sandstone/black"
}
}
}
]
}
]
}
}
},
{ {
"type": "minecraft:condition", "type": "minecraft:condition",
"if_true": { "if_true": {
"type": "minecraft:biome", "type": "minecraft:biome",
"biome_is": [ "tfg:venus/fumaroles" ] "biome_is": [ "tfg:venus/fumaroles" ]
}, },
"then_run": {
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:above_preliminary_surface"
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:noise_threshold",
"noise": "minecraft:powder_snow",
"min_threshold": 0.1,
"max_threshold": 0.2
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 1,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": { "then_run": {
"type": "minecraft:block", "type": "minecraft:block",
"result_state": { "Name": "minecraft:purple_concrete" } "result_state": { "Name": "tfg:sand/fluorapatite/brown" }
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 3,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "minecraft:block",
"result_state": { "Name": "tfg:sandstone/raw/fluorapatite/brown" }
}
}
]
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:noise_threshold",
"noise": "minecraft:powder_snow",
"min_threshold": 0.2,
"max_threshold": 0.4
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 1,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "kubejs_tfc:rock",
"rock_block": "sand",
"fallback_state": {
"Name": "ad_astra:venus_sand"
}
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 3,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "kubejs_tfc:rock",
"rock_block": "sandstone",
"fallback_state": {
"Name": "ad_astra:venus_sandstone"
}
}
}
]
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:noise_threshold",
"noise": "minecraft:powder_snow",
"min_threshold": 0.3,
"max_threshold": 0.5
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 1,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "minecraft:block",
"result_state": { "Name": "tfg:sand/fluorapatite/white" }
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 3,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "minecraft:block",
"result_state": { "Name": "tfg:sandstone/raw/fluorapatite/white" }
}
}
]
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:noise_threshold",
"noise": "minecraft:powder_snow",
"min_threshold": -1.0,
"max_threshold": -0.8
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 1,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "kubejs_tfc:rock",
"rock_block": "sand",
"fallback_state": {
"Name": "ad_astra:venus_sand"
}
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 3,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "kubejs_tfc:rock",
"rock_block": "sandstone",
"fallback_state": {
"Name": "ad_astra:venus_sandstone"
}
}
}
]
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 3,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "kubejs_tfc:rock",
"rock_block": "gravel",
"fallback_state": {
"Name": "tfg:rock/gravel_venus"
}
}
}
]
}
} }
}, },
{ {
"type": "minecraft:condition", "type": "minecraft:condition",
"if_true": { "if_true": {
@ -422,15 +811,9 @@
"biome_is": [ "tfg:venus/stromatolite_beach" ] "biome_is": [ "tfg:venus/stromatolite_beach" ]
}, },
"then_run": { "then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition", "type": "minecraft:condition",
"if_true": { "if_true": {
"type": "minecraft:y_above", "type": "minecraft:above_preliminary_surface"
"anchor": { "absolute": 52 },
"surface_depth_multiplier": 0,
"add_stone_depth": false
}, },
"then_run": { "then_run": {
"type": "minecraft:sequence", "type": "minecraft:sequence",
@ -1040,13 +1423,7 @@
] ]
} }
} }
]
}
}, },
{ {
"type": "minecraft:condition", "type": "minecraft:condition",
"if_true": { "if_true": {
@ -1054,15 +1431,9 @@
"biome_is": [ "tfg:venus/fractured_pools" ] "biome_is": [ "tfg:venus/fractured_pools" ]
}, },
"then_run": { "then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition", "type": "minecraft:condition",
"if_true": { "if_true": {
"type": "minecraft:y_above", "type": "minecraft:above_preliminary_surface"
"anchor": { "absolute": 52 },
"surface_depth_multiplier": 0,
"add_stone_depth": false
}, },
"then_run": { "then_run": {
"type": "minecraft:sequence", "type": "minecraft:sequence",
@ -1232,20 +1603,6 @@
"then_run": { "then_run": {
"type": "minecraft:sequence", "type": "minecraft:sequence",
"sequence": [ "sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 0,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "minecraft:block",
"result_state": { "Name": "create:scoria" }
}
},
{ {
"type": "minecraft:condition", "type": "minecraft:condition",
"if_true": { "if_true": {
@ -1257,7 +1614,7 @@
}, },
"then_run": { "then_run": {
"type": "minecraft:block", "type": "minecraft:block",
"result_state": { "Name": "create:scoria" } "result_state": { "Name": "tfg:sandstone/raw/fluorapatite/brown" }
} }
}, },
{ {
@ -1672,19 +2029,13 @@
] ]
} }
} }
]
}
}, },
{ {
"type": "minecraft:condition", "type": "minecraft:condition",
"if_true": { "if_true": {
"type": "minecraft:stone_depth", "type": "minecraft:above_preliminary_surface"
"offset": 12,
"surface_type": "floor",
"add_surface_depth": true,
"secondary_depth_range": 0
}, },
"then_run": { "then_run": {
"type": "kubejs_tfc:rock", "type": "kubejs_tfc:rock",