diff --git a/kubejs/data/tfg/worldgen/biome/mars/martian_mountains.json b/kubejs/data/tfg/worldgen/biome/mars/martian_mountains.json index 8c6e8f2f1..44a07a9b6 100644 --- a/kubejs/data/tfg/worldgen/biome/mars/martian_mountains.json +++ b/kubejs/data/tfg/worldgen/biome/mars/martian_mountains.json @@ -1,8 +1,9 @@ { "carvers": { "air": [ - "tfc:cave", - "tfc:canyon" + "minecraft:cave", + "minecraft:cave_extra_underground", + "minecraft:canyon" ] }, "downfall": 0.0, diff --git a/kubejs/data/tfg/worldgen/biome/mars/martian_plains.json b/kubejs/data/tfg/worldgen/biome/mars/martian_plains.json index 8c6e8f2f1..44a07a9b6 100644 --- a/kubejs/data/tfg/worldgen/biome/mars/martian_plains.json +++ b/kubejs/data/tfg/worldgen/biome/mars/martian_plains.json @@ -1,8 +1,9 @@ { "carvers": { "air": [ - "tfc:cave", - "tfc:canyon" + "minecraft:cave", + "minecraft:cave_extra_underground", + "minecraft:canyon" ] }, "downfall": 0.0, diff --git a/kubejs/data/tfg/worldgen/biome/mars/martian_riverbed.json b/kubejs/data/tfg/worldgen/biome/mars/martian_riverbed.json index a4a86e524..dbdb2d9e8 100644 --- a/kubejs/data/tfg/worldgen/biome/mars/martian_riverbed.json +++ b/kubejs/data/tfg/worldgen/biome/mars/martian_riverbed.json @@ -1,8 +1,9 @@ { "carvers": { "air": [ - "tfc:cave", - "tfc:canyon" + "minecraft:cave", + "minecraft:cave_extra_underground", + "minecraft:canyon" ] }, "downfall": 0.0, diff --git a/kubejs/data/tfg/worldgen/biome/moon/lunar_basalt_maria.json b/kubejs/data/tfg/worldgen/biome/moon/lunar_basalt_maria.json index 20c9bbf37..5bf6b5a97 100644 --- a/kubejs/data/tfg/worldgen/biome/moon/lunar_basalt_maria.json +++ b/kubejs/data/tfg/worldgen/biome/moon/lunar_basalt_maria.json @@ -1,8 +1,9 @@ { "carvers": { "air": [ - "tfc:cave", - "tfc:canyon" + "minecraft:cave", + "minecraft:cave_extra_underground", + "minecraft:canyon" ] }, "downfall": 0.0, @@ -19,25 +20,37 @@ "water_fog_color": 329011 }, "features": [ - [], [], [], [ "tfg:moon/blob/asurine", - "tfg:moon/blob/smooth_basalt" + "tfg:earth/geode/amethyst", + "tfg:earth/geode/barite", + "tfg:earth/geode/calcite", + "tfg:earth/geode/gypsum", + "tfg:earth/geode/opal", + "tfg:earth/geode/pyrite", + "tfg:earth/geode/quartzite" ], + [], + [ + "tfc:vein/gabbro_dike", + "tfc:vein/diorite_dike" + ], + [], + "#tfg:moon_veins", + [], + [], [ "tfg:moon/surface/basalt_delta", - "tfc:vein/gabbro_dike", - "tfc:vein/diorite_dike", "tfg:moon/surface/warped_vine", "tfg:moon/surface/warped_roots_patch", "tfg:moon/surface/warped_sprouts_patch", "tfg:moon/surface/loose_basalt_rocks" ], - [], - "#tfg:moon_veins", - [] + [ + "tfg:moon/hardening" + ] ], "has_precipitation": false, "spawn_costs": {}, diff --git a/kubejs/data/tfg/worldgen/biome/moon/lunar_diorite_delta.json b/kubejs/data/tfg/worldgen/biome/moon/lunar_diorite_delta.json index 5f78f22ab..8829b9b7b 100644 --- a/kubejs/data/tfg/worldgen/biome/moon/lunar_diorite_delta.json +++ b/kubejs/data/tfg/worldgen/biome/moon/lunar_diorite_delta.json @@ -1,8 +1,9 @@ { "carvers": { "air": [ - "tfc:cave", - "tfc:canyon" + "minecraft:cave", + "minecraft:cave_extra_underground", + "minecraft:canyon" ] }, "downfall": 0.0, @@ -21,20 +22,34 @@ "features": [ [], [], + [ + "tfg:moon/blob/asurine", + "tfg:earth/geode/amethyst", + "tfg:earth/geode/barite", + "tfg:earth/geode/calcite", + "tfg:earth/geode/gypsum", + "tfg:earth/geode/opal", + "tfg:earth/geode/pyrite", + "tfg:earth/geode/quartzite" + ], [], - [ - "tfg:moon/blob/asurine" - ], [ "tfc:vein/gabbro_dike", + "tfc:vein/diorite_dike" + ], + [], + "#tfg:moon_veins", + [], + [], + [ "tfg:moon/surface/warped_sprouts_patch", "tfg:moon/surface/dead_coral", "tfg:moon/surface/dead_coral_fans", "tfg:moon/surface/loose_diorite_rocks" ], - [], - "#tfg:moon_veins", - [] + [ + "tfg:moon/hardening" + ] ], "has_precipitation": false, "spawn_costs": {}, diff --git a/kubejs/data/tfg/worldgen/biome/moon/lunar_gabbro_uplift.json b/kubejs/data/tfg/worldgen/biome/moon/lunar_gabbro_uplift.json index d15344292..918a4039f 100644 --- a/kubejs/data/tfg/worldgen/biome/moon/lunar_gabbro_uplift.json +++ b/kubejs/data/tfg/worldgen/biome/moon/lunar_gabbro_uplift.json @@ -1,8 +1,9 @@ { "carvers": { "air": [ - "tfc:cave", - "tfc:canyon" + "minecraft:cave", + "minecraft:cave_extra_underground", + "minecraft:canyon" ] }, "downfall": 0.0, @@ -21,19 +22,33 @@ "features": [ [], [], + [ + "tfg:moon/blob/asurine", + "tfg:earth/geode/amethyst", + "tfg:earth/geode/barite", + "tfg:earth/geode/calcite", + "tfg:earth/geode/gypsum", + "tfg:earth/geode/opal", + "tfg:earth/geode/pyrite", + "tfg:earth/geode/quartzite" + ], [], [ - "tfg:moon/blob/asurine" + "tfc:vein/gabbro_dike", + "tfc:vein/diorite_dike" ], + [], + "#tfg:moon_veins", + [], + [], [ - "tfc:vein/diorite_dike", "tfg:moon/surface/warped_sprouts_patch", "tfg:moon/surface/gabbro_rock_pile", "tfg:moon/surface/loose_gabbro_rocks" ], - [], - "#tfg:moon_veins", - [] + [ + "tfg:moon/hardening" + ] ], "has_precipitation": false, "spawn_costs": {}, diff --git a/kubejs/data/tfg/worldgen/biome/moon/lunar_plains.json b/kubejs/data/tfg/worldgen/biome/moon/lunar_plains.json index 96149fd68..f0dec75b1 100644 --- a/kubejs/data/tfg/worldgen/biome/moon/lunar_plains.json +++ b/kubejs/data/tfg/worldgen/biome/moon/lunar_plains.json @@ -1,8 +1,9 @@ { "carvers": { "air": [ - "tfc:cave", - "tfc:canyon" + "minecraft:cave", + "minecraft:cave_extra_underground", + "minecraft:canyon" ] }, "downfall": 0.0, @@ -21,19 +22,32 @@ "features": [ [], [], + [ + "tfg:moon/blob/asurine", + "tfg:earth/geode/amethyst", + "tfg:earth/geode/barite", + "tfg:earth/geode/calcite", + "tfg:earth/geode/gypsum", + "tfg:earth/geode/opal", + "tfg:earth/geode/pyrite", + "tfg:earth/geode/quartzite" + ], [], - [ - "tfg:moon/blob/asurine" - ], [ "tfc:vein/gabbro_dike", - "tfc:vein/diorite_dike", - "tfg:moon/surface/moon_rock_pile", - "tfg:moon/surface/loose_moon_stone_rocks" + "tfc:vein/diorite_dike" ], [], "#tfg:moon_veins", - [] + [], + [], + [ + "tfg:moon/surface/moon_rock_pile", + "tfg:moon/surface/loose_moon_stone_rocks" + ], + [ + "tfg:moon/hardening" + ] ], "has_precipitation": false, "spawn_costs": { diff --git a/kubejs/data/tfg/worldgen/noise_settings/moon_noise.json b/kubejs/data/tfg/worldgen/noise_settings/moon_noise.json index 728682474..26a426a56 100644 --- a/kubejs/data/tfg/worldgen/noise_settings/moon_noise.json +++ b/kubejs/data/tfg/worldgen/noise_settings/moon_noise.json @@ -1,5 +1,5 @@ { - "sea_level": -100, + "sea_level": -48, "disable_mob_generation": false, "aquifers_enabled": false, "ore_veins_enabled": false, @@ -17,30 +17,10 @@ "size_vertical": 2 }, "noise_router": { - "barrier": { - "type": "minecraft:noise", - "noise": "minecraft:aquifer_barrier", - "xz_scale": 1, - "y_scale": 0.5 - }, - "fluid_level_floodedness": { - "type": "minecraft:noise", - "noise": "minecraft:aquifer_fluid_level_floodedness", - "xz_scale": 1, - "y_scale": 0.67 - }, - "fluid_level_spread": { - "type": "minecraft:noise", - "noise": "minecraft:aquifer_fluid_level_spread", - "xz_scale": 1, - "y_scale": 0.7142857142857143 - }, - "lava": { - "type": "minecraft:noise", - "noise": "minecraft:aquifer_lava", - "xz_scale": 1, - "y_scale": 1 - }, + "barrier": 0, + "fluid_level_floodedness": 0, + "fluid_level_spread": 0, + "lava": 0, "temperature": { "type": "minecraft:shifted_noise", "noise": "minecraft:temperature", @@ -221,11 +201,11 @@ "if_true": { "type": "minecraft:vertical_gradient", "random_name": "minecraft:bedrock_floor", - "true_at_and_below": { - "above_bottom": 0 - }, "false_at_and_above": { "above_bottom": 5 + }, + "true_at_and_below": { + "above_bottom": 0 } }, "then_run": { @@ -238,378 +218,1668 @@ { "type": "minecraft:condition", "if_true": { - "type": "minecraft:vertical_gradient", - "random_name": "minecraft:deepslate", - "true_at_and_below": { - "absolute": 0 + "type": "minecraft:y_above", + "anchor": { + "absolute": 87 }, + "surface_depth_multiplier": 1, + "add_stone_depth": false + }, + "then_run": { + "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:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_1", + "min_threshold": -1.0, + "max_threshold": -0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_2", + "min_threshold": -1.0, + "max_threshold": -0.2 + }, + "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.4 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/basalt" + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/basalt" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/gravel/basalt" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_2", + "min_threshold": -0.2, + "max_threshold": 0.2 + }, + "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.4 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/gabbro" + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/gabbro" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/gravel/gabbro" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_2", + "min_threshold": 0.2, + "max_threshold": 1.0 + }, + "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.4 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfg:rock/hardened_moon_deepslate" + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfg:rock/hardened_moon_deepslate" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:sand/black" + } + } + ] + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_1", + "min_threshold": -0.2, + "max_threshold": 0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_2", + "min_threshold": -1.0, + "max_threshold": -0.2 + }, + "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.4 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/andesite" + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/andesite" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/gravel/andesite" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_2", + "min_threshold": -0.2, + "max_threshold": 0.2 + }, + "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.4 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfg:rock/hardened_moon_stone" + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfg:rock/hardened_moon_stone" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "ad_astra:moon_sand" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_2", + "min_threshold": 0.2, + "max_threshold": 1.0 + }, + "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.4 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/diorite" + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/diorite" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/gravel/diorite" + } + } + ] + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_1", + "min_threshold": 0.2, + "max_threshold": 1.0 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_2", + "min_threshold": -1.0, + "max_threshold": -0.2 + }, + "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.4 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfg:rock/hardened_glacio_stone" + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfg:rock/hardened_glacio_stone" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "ad_astra:glacio_cobblestone" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_2", + "min_threshold": -0.2, + "max_threshold": 0.2 + }, + "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.4 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/rhyolite" + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/rhyolite" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/gravel/rhyolite" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_2", + "min_threshold": 0.2, + "max_threshold": 1.0 + }, + "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.4 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/dacite" + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/dacite" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/gravel/dacite" + } + } + ] + } + } + ] + } + } + ] + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:vertical_gradient", + "random_name": "tfg:between_middle_and_bottom_rock_layers", "false_at_and_above": { - "absolute": 8 + "absolute": 4 + }, + "true_at_and_below": { + "absolute": -4 } }, "then_run": { - "type": "minecraft:block", - "result_state": { - "Name": "ad_astra:moon_deepslate", - "Properties": { - "axis": "y" + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_bottom_1", + "min_threshold": -1.0, + "max_threshold": -0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_bottom_2", + "min_threshold": -1.0, + "max_threshold": -0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/basalt" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/raw/basalt" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_bottom_2", + "min_threshold": -0.2, + "max_threshold": 0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/gabbro" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/raw/gabbro" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_bottom_2", + "min_threshold": 0.2, + "max_threshold": 1.0 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfg:rock/hardened_moon_deepslate" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "ad_astra:moon_deepslate" + } + } + ] + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_bottom_1", + "min_threshold": -0.2, + "max_threshold": 0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_bottom_2", + "min_threshold": -1.0, + "max_threshold": -0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/andesite" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/raw/andesite" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_bottom_2", + "min_threshold": -0.2, + "max_threshold": 0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfg:rock/hardened_moon_stone" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "ad_astra:moon_stone" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_bottom_2", + "min_threshold": 0.2, + "max_threshold": 1.0 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/diorite" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/raw/diorite" + } + } + ] + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_bottom_1", + "min_threshold": 0.2, + "max_threshold": 1.0 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_bottom_2", + "min_threshold": -1.0, + "max_threshold": -0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfg:rock/hardened_glacio_stone" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "ad_astra:glacio_stone" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_bottom_2", + "min_threshold": -0.2, + "max_threshold": 0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/rhyolite" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/raw/rhyolite" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_bottom_2", + "min_threshold": 0.2, + "max_threshold": 1.0 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/dacite" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/raw/dacite" + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:vertical_gradient", + "random_name": "tfg:between_top_and_middle_rock_layers", + "false_at_and_above": { + "absolute": 68 + }, + "true_at_and_below": { + "absolute": 60 + } + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_middle_1", + "min_threshold": -1.0, + "max_threshold": -0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_middle_2", + "min_threshold": -1.0, + "max_threshold": -0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/basalt" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/raw/basalt" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_middle_2", + "min_threshold": -0.2, + "max_threshold": 0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/gabbro" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/raw/gabbro" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_middle_2", + "min_threshold": 0.2, + "max_threshold": 1.0 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfg:rock/hardened_moon_deepslate" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "ad_astra:moon_deepslate" + } + } + ] + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_middle_1", + "min_threshold": -0.2, + "max_threshold": 0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_middle_2", + "min_threshold": -1.0, + "max_threshold": -0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/andesite" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/raw/andesite" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_middle_2", + "min_threshold": -0.2, + "max_threshold": 0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfg:rock/hardened_moon_stone" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "ad_astra:moon_stone" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_middle_2", + "min_threshold": 0.2, + "max_threshold": 1.0 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/diorite" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/raw/diorite" + } + } + ] + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_middle_1", + "min_threshold": 0.2, + "max_threshold": 1.0 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_middle_2", + "min_threshold": -1.0, + "max_threshold": -0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfg:rock/hardened_glacio_stone" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "ad_astra:glacio_stone" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_middle_2", + "min_threshold": -0.2, + "max_threshold": 0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/rhyolite" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/raw/rhyolite" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_middle_2", + "min_threshold": 0.2, + "max_threshold": 1.0 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/dacite" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/raw/dacite" + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_1", + "min_threshold": -1.0, + "max_threshold": -0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_2", + "min_threshold": -1.0, + "max_threshold": -0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/basalt" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/raw/basalt" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_2", + "min_threshold": -0.2, + "max_threshold": 0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/gabbro" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/raw/gabbro" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_2", + "min_threshold": 0.2, + "max_threshold": 1.0 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfg:rock/hardened_moon_deepslate" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "ad_astra:moon_deepslate" + } + } + ] + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_1", + "min_threshold": -0.2, + "max_threshold": 0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_2", + "min_threshold": -1.0, + "max_threshold": -0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/andesite" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/raw/andesite" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_2", + "min_threshold": -0.2, + "max_threshold": 0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfg:rock/hardened_moon_stone" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "ad_astra:moon_stone" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_2", + "min_threshold": 0.2, + "max_threshold": 1.0 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/diorite" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/raw/diorite" + } + } + ] + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_1", + "min_threshold": 0.2, + "max_threshold": 1.0 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_2", + "min_threshold": -1.0, + "max_threshold": -0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfg:rock/hardened_glacio_stone" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "ad_astra:glacio_stone" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_2", + "min_threshold": -0.2, + "max_threshold": 0.2 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/rhyolite" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/raw/rhyolite" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "tfg:stone_layer_top_2", + "min_threshold": 0.2, + "max_threshold": 1.0 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/hardened/dacite" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "tfc:rock/raw/dacite" + } + } + ] + } + } + ] } } - } - }, - { - "type": "minecraft:condition", - "if_true": { - "type": "minecraft:biome", - "biome_is": [ - "tfg:moon/lunar_plains" - ] - }, - "then_run": { - "type": "minecraft:sequence", - "sequence": [ - { - "type": "minecraft:condition", - "if_true": { - "type": "minecraft:stone_depth", - "offset": 0, - "surface_type": "ceiling", - "add_surface_depth": false, - "secondary_depth_range": 0 - }, - "then_run": { - "type": "minecraft:block", - "result_state": { - "Name": "tfg:rock/hardened_moon_stone" - } - } - }, - { - "type": "minecraft:condition", - "if_true": { - "type": "minecraft:y_above", - "anchor": { - "absolute": 87 - }, - "surface_depth_multiplier": 2, - "add_stone_depth": false - }, - "then_run": { - "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": "ad_astra:moon_sand" - } - } - } - } - ] - } - }, - { - "type": "minecraft:condition", - "if_true": { - "type": "minecraft:biome", - "biome_is": [ - "tfg:moon/lunar_basalt_maria" - ] - }, - "then_run": { - "type": "minecraft:sequence", - "sequence": [ - { - "type": "minecraft:condition", - "if_true": { - "type": "minecraft:stone_depth", - "offset": 0, - "surface_type": "ceiling", - "add_surface_depth": false, - "secondary_depth_range": 0 - }, - "then_run": { - "type": "minecraft:block", - "result_state": { - "Name": "tfc:rock/hardened/basalt" - } - } - }, - { - "type": "minecraft:condition", - "if_true": { - "type": "minecraft:y_above", - "anchor": { - "absolute": 87 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false - }, - "then_run": { - "type": "minecraft:condition", - "if_true": { - "type": "minecraft:stone_depth", - "offset": 2, - "surface_type": "floor", - "add_surface_depth": false, - "secondary_depth_range": 0 - }, - "then_run": { - "type": "minecraft:sequence", - "sequence": [ - { - "type": "minecraft:condition", - "if_true": { - "type": "minecraft:noise_threshold", - "noise": "minecraft:powder_snow", - "min_threshold": 0.4, - "max_threshold": 0.1 - }, - "then_run": { - "type": "minecraft:block", - "result_state": { - "Name": "tfc:sand/black" - } - } - }, - { - "type": "minecraft:block", - "result_state": { - "Name": "tfc:rock/gravel/basalt" - } - } - ] - } - } - }, - { - "type": "minecraft:condition", - "if_true": { - "type": "minecraft:not", - "invert": { - "type": "minecraft:vertical_gradient", - "random_name": "minecraft:deepslate", - "true_at_and_below": { - "absolute": 0 - }, - "false_at_and_above": { - "absolute": 8 - } - } - }, - "then_run": { - "type": "minecraft:block", - "result_state": { - "Name": "tfc:rock/raw/basalt" - } - } - } - ] - } - }, - { - "type": "minecraft:condition", - "if_true": { - "type": "minecraft:biome", - "biome_is": [ - "tfg:moon/lunar_gabbro_uplift" - ] - }, - "then_run": { - "type": "minecraft:sequence", - "sequence": [ - { - "type": "minecraft:condition", - "if_true": { - "type": "minecraft:stone_depth", - "offset": 0, - "surface_type": "ceiling", - "add_surface_depth": false, - "secondary_depth_range": 0 - }, - "then_run": { - "type": "minecraft:block", - "result_state": { - "Name": "tfc:rock/hardened/gabbro" - } - } - }, - { - "type": "minecraft:condition", - "if_true": { - "type": "minecraft:y_above", - "anchor": { - "absolute": 80 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false - }, - "then_run": { - "type": "minecraft:condition", - "if_true": { - "type": "minecraft:stone_depth", - "offset": 2, - "surface_type": "floor", - "add_surface_depth": false, - "secondary_depth_range": 0 - }, - "then_run": { - "type": "minecraft:sequence", - "sequence": [ - { - "type": "minecraft:condition", - "if_true": { - "type": "minecraft:noise_threshold", - "noise": "minecraft:powder_snow", - "min_threshold": 0.4, - "max_threshold": 1 - }, - "then_run": { - "type": "minecraft:block", - "result_state": { - "Name": "ad_astra:moon_sand" - } - } - }, - { - "type": "minecraft:block", - "result_state": { - "Name": "tfc:rock/gravel/gabbro" - } - } - ] - } - } - }, - { - "type": "minecraft:condition", - "if_true": { - "type": "minecraft:not", - "invert": { - "type": "minecraft:vertical_gradient", - "random_name": "minecraft:deepslate", - "true_at_and_below": { - "absolute": 0 - }, - "false_at_and_above": { - "absolute": 8 - } - } - }, - "then_run": { - "type": "minecraft:block", - "result_state": { - "Name": "tfc:rock/raw/gabbro" - } - } - } - ] - } - }, - { - "type": "minecraft:condition", - "if_true": { - "type": "minecraft:biome", - "biome_is": [ - "tfg:moon/lunar_diorite_delta" - ] - }, - "then_run": { - "type": "minecraft:sequence", - "sequence": [ - { - "type": "minecraft:condition", - "if_true": { - "type": "minecraft:stone_depth", - "offset": 0, - "surface_type": "ceiling", - "add_surface_depth": false, - "secondary_depth_range": 0 - }, - "then_run": { - "type": "minecraft:block", - "result_state": { - "Name": "tfc:rock/hardened/diorite" - } - } - }, - { - "type": "minecraft:condition", - "if_true": { - "type": "minecraft:y_above", - "anchor": { - "absolute": 87 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false - }, - "then_run": { - "type": "minecraft:condition", - "if_true": { - "type": "minecraft:stone_depth", - "offset": 2, - "surface_type": "floor", - "add_surface_depth": false, - "secondary_depth_range": 0 - }, - "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.4 - }, - "then_run": { - "type": "minecraft:block", - "result_state": { - "Name": "tfc:sand/white" - } - } - }, - { - "type": "minecraft:block", - "result_state": { - "Name": "tfc:rock/gravel/diorite" - } - } - ] - } - } - }, - { - "type": "minecraft:condition", - "if_true": { - "type": "minecraft:not", - "invert": { - "type": "minecraft:vertical_gradient", - "random_name": "minecraft:deepslate", - "true_at_and_below": { - "absolute": 0 - }, - "false_at_and_above": { - "absolute": 8 - } - } - }, - "then_run": { - "type": "minecraft:block", - "result_state": { - "Name": "tfc:rock/raw/diorite" - } - } - } - ] - } + ] } ] }, diff --git a/kubejs/data/tfg/worldgen/placed_feature/moon/hardening.json b/kubejs/data/tfg/worldgen/placed_feature/moon/hardening.json new file mode 100644 index 000000000..520c05ff3 --- /dev/null +++ b/kubejs/data/tfg/worldgen/placed_feature/moon/hardening.json @@ -0,0 +1,123 @@ +{ + "feature": { + "type": "minecraft:replace_single_block", + "config": { + "targets": [ + { + "target": { + "predicate_type": "minecraft:block_match", + "block": "ad_astra:moon_stone" + }, + "state": { + "Name": "tfg:rock/hardened_moon_stone" + } + }, + { + "target": { + "predicate_type": "minecraft:block_match", + "block": "ad_astra:moon_deepslate" + }, + "state": { + "Name": "tfg:rock/hardened_moon_deepslate" + } + }, + { + "target": { + "predicate_type": "minecraft:block_match", + "block": "ad_astra:glacio_stone" + }, + "state": { + "Name": "tfg:rock/hardened_glacio_stone" + } + }, + { + "target": { + "predicate_type": "minecraft:block_match", + "block": "tfc:rock/raw/dacite" + }, + "state": { + "Name": "tfc:rock/hardened/dacite" + } + }, + { + "target": { + "predicate_type": "minecraft:block_match", + "block": "tfc:rock/raw/rhyolite" + }, + "state": { + "Name": "tfc:rock/hardened/rhyolite" + } + }, + { + "target": { + "predicate_type": "minecraft:block_match", + "block": "tfc:rock/raw/diorite" + }, + "state": { + "Name": "tfc:rock/hardened/diorite" + } + }, + { + "target": { + "predicate_type": "minecraft:block_match", + "block": "tfc:rock/raw/andesite" + }, + "state": { + "Name": "tfc:rock/hardened/andesite" + } + }, + { + "target": { + "predicate_type": "minecraft:block_match", + "block": "tfc:rock/raw/gabbro" + }, + "state": { + "Name": "tfc:rock/hardened/gabbro" + } + }, + { + "target": { + "predicate_type": "minecraft:block_match", + "block": "tfc:rock/raw/basalt" + }, + "state": { + "Name": "tfc:rock/hardened/basalt" + } + }, + { + "target": { + "predicate_type": "minecraft:tag_match", + "tag": "tfc:can_landslide" + }, + "state": { + "Name": "tfg:rock/hardened_moon_stone" + } + } + ] + } + }, + "placement": [ + { + "type": "minecraft:carving_mask", + "step": "air" + }, + { + "type": "minecraft:environment_scan", + "direction_of_search": "up", + "max_steps": 1, + "target_condition": { + "type": "minecraft:any_of", + "predicates": [ + { + "type": "minecraft:matching_block_tag", + "tag": "ad_astra:moon_stone_replaceables" + }, + { + "type": "minecraft:matching_block_tag", + "tag": "tfc:can_landslide" + } + ] + } + } + ] +} \ No newline at end of file