diff --git a/assets/chunk_gen_settings.json b/assets/chunk_gen_settings.json index 1e6aed8ee..c72429084 100644 --- a/assets/chunk_gen_settings.json +++ b/assets/chunk_gen_settings.json @@ -1,13146 +1 @@ -{ - "amplified": { - "noise": { - "min_y": -64, - "height": 384, - "size_horizontal": 1, - "size_vertical": 2 - }, - "default_block": { - "Name": "minecraft:stone" - }, - "default_fluid": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "noise_router": { - "barrier": { - "noise": "minecraft:aquifer_barrier", - "xz_scale": 1.0, - "y_scale": 0.5, - "type": "minecraft:noise" - }, - "fluid_level_floodedness": { - "noise": "minecraft:aquifer_fluid_level_floodedness", - "xz_scale": 1.0, - "y_scale": 0.67, - "type": "minecraft:noise" - }, - "fluid_level_spread": { - "noise": "minecraft:aquifer_fluid_level_spread", - "xz_scale": 1.0, - "y_scale": 0.7142857142857143, - "type": "minecraft:noise" - }, - "lava": { - "noise": "minecraft:aquifer_lava", - "xz_scale": 1.0, - "y_scale": 1.0, - "type": "minecraft:noise" - }, - "temperature": { - "shift_x": "minecraft:shift_x", - "shift_y": 0.0, - "shift_z": "minecraft:shift_z", - "xz_scale": 0.25, - "y_scale": 0.0, - "noise": "minecraft:temperature", - "type": "minecraft:shifted_noise" - }, - "vegetation": { - "shift_x": "minecraft:shift_x", - "shift_y": 0.0, - "shift_z": "minecraft:shift_z", - "xz_scale": 0.25, - "y_scale": 0.0, - "noise": "minecraft:vegetation", - "type": "minecraft:shifted_noise" - }, - "continents": "minecraft:overworld/continents", - "erosion": "minecraft:overworld/erosion", - "depth": "minecraft:overworld_amplified/depth", - "ridges": "minecraft:overworld/ridges", - "preliminary_surface_level": { - "density": { - "argument1": -0.390625, - "argument2": { - "argument1": 0.4, - "argument2": { - "argument1": { - "from_y": -64, - "to_y": -40, - "from_value": 0.0, - "to_value": 1.0, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument1": -0.4, - "argument2": { - "argument1": -0.078125, - "argument2": { - "argument1": { - "from_y": 304, - "to_y": 320, - "from_value": 1.0, - "to_value": 0.0, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument1": 0.078125, - "argument2": { - "input": { - "argument1": -0.703125, - "argument2": { - "argument1": 4.0, - "argument2": { - "argument": { - "argument1": { - "argument1": { - "from_y": -64, - "to_y": 320, - "from_value": 1.5, - "to_value": -1.5, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument": "minecraft:overworld_amplified/offset", - "type": "minecraft:cache_2d" - }, - "type": "minecraft:add" - }, - "argument2": { - "argument": "minecraft:overworld_amplified/factor", - "type": "minecraft:cache_2d" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:quarter_negative" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "min": -64.0, - "max": 64.0, - "type": "minecraft:clamp" - }, - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:add" - }, - "upper_bound": { - "input": { - "argument1": 128.0, - "argument2": { - "argument1": -128.0, - "argument2": { - "argument1": { - "argument1": 0.2734375, - "argument2": { - "argument": { - "argument": "minecraft:overworld_amplified/factor", - "type": "minecraft:cache_2d" - }, - "type": "minecraft:invert" - }, - "type": "minecraft:mul" - }, - "argument2": { - "argument1": -1.0, - "argument2": { - "argument": "minecraft:overworld_amplified/offset", - "type": "minecraft:cache_2d" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "min": -40.0, - "max": 320.0, - "type": "minecraft:clamp" - }, - "lower_bound": -64, - "cell_height": 8, - "type": "minecraft:find_top_surface" - }, - "final_density": { - "argument1": { - "argument": { - "argument1": 0.64, - "argument2": { - "argument": { - "argument": { - "argument1": 0.4, - "argument2": { - "argument1": { - "from_y": -64, - "to_y": -40, - "from_value": 0.0, - "to_value": 1.0, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument1": -0.4, - "argument2": { - "argument1": -0.078125, - "argument2": { - "argument1": { - "from_y": 304, - "to_y": 320, - "from_value": 1.0, - "to_value": 0.0, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument1": 0.078125, - "argument2": { - "input": "minecraft:overworld_amplified/sloped_cheese", - "min_inclusive": -1000000.0, - "max_exclusive": 1.5625, - "when_in_range": { - "argument1": "minecraft:overworld_amplified/sloped_cheese", - "argument2": { - "argument1": 5.0, - "argument2": "minecraft:overworld/caves/entrances", - "type": "minecraft:mul" - }, - "type": "minecraft:min" - }, - "when_out_of_range": { - "argument1": { - "argument1": { - "argument1": { - "argument1": { - "argument1": 4.0, - "argument2": { - "argument": { - "noise": "minecraft:cave_layer", - "xz_scale": 1.0, - "y_scale": 8.0, - "type": "minecraft:noise" - }, - "type": "minecraft:square" - }, - "type": "minecraft:mul" - }, - "argument2": { - "argument1": { - "input": { - "argument1": 0.27, - "argument2": { - "noise": "minecraft:cave_cheese", - "xz_scale": 1.0, - "y_scale": 0.6666666666666666, - "type": "minecraft:noise" - }, - "type": "minecraft:add" - }, - "min": -1.0, - "max": 1.0, - "type": "minecraft:clamp" - }, - "argument2": { - "input": { - "argument1": 1.5, - "argument2": { - "argument1": -0.64, - "argument2": "minecraft:overworld_amplified/sloped_cheese", - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "min": 0.0, - "max": 0.5, - "type": "minecraft:clamp" - }, - "type": "minecraft:add" - }, - "type": "minecraft:add" - }, - "argument2": "minecraft:overworld/caves/entrances", - "type": "minecraft:min" - }, - "argument2": { - "argument1": "minecraft:overworld/caves/spaghetti_2d", - "argument2": "minecraft:overworld/caves/spaghetti_roughness_function", - "type": "minecraft:add" - }, - "type": "minecraft:min" - }, - "argument2": { - "input": "minecraft:overworld/caves/pillars", - "min_inclusive": -1000000.0, - "max_exclusive": 0.03, - "when_in_range": -1000000.0, - "when_out_of_range": "minecraft:overworld/caves/pillars", - "type": "minecraft:range_choice" - }, - "type": "minecraft:max" - }, - "type": "minecraft:range_choice" - }, - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:blend_density" - }, - "type": "minecraft:interpolated" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:squeeze" - }, - "argument2": "minecraft:overworld/caves/noodle", - "type": "minecraft:min" - }, - "vein_toggle": { - "argument": { - "input": "minecraft:y", - "min_inclusive": -60.0, - "max_exclusive": 51.0, - "when_in_range": { - "noise": "minecraft:ore_veininess", - "xz_scale": 1.5, - "y_scale": 1.5, - "type": "minecraft:noise" - }, - "when_out_of_range": 0.0, - "type": "minecraft:range_choice" - }, - "type": "minecraft:interpolated" - }, - "vein_ridged": { - "argument1": -0.07999999821186066, - "argument2": { - "argument1": { - "argument": { - "argument": { - "input": "minecraft:y", - "min_inclusive": -60.0, - "max_exclusive": 51.0, - "when_in_range": { - "noise": "minecraft:ore_vein_a", - "xz_scale": 4.0, - "y_scale": 4.0, - "type": "minecraft:noise" - }, - "when_out_of_range": 0.0, - "type": "minecraft:range_choice" - }, - "type": "minecraft:interpolated" - }, - "type": "minecraft:abs" - }, - "argument2": { - "argument": { - "argument": { - "input": "minecraft:y", - "min_inclusive": -60.0, - "max_exclusive": 51.0, - "when_in_range": { - "noise": "minecraft:ore_vein_b", - "xz_scale": 4.0, - "y_scale": 4.0, - "type": "minecraft:noise" - }, - "when_out_of_range": 0.0, - "type": "minecraft:range_choice" - }, - "type": "minecraft:interpolated" - }, - "type": "minecraft:abs" - }, - "type": "minecraft:max" - }, - "type": "minecraft:add" - }, - "vein_gap": { - "noise": "minecraft:ore_gap", - "xz_scale": 1.0, - "y_scale": 1.0, - "type": "minecraft:noise" - } - }, - "surface_rule": { - "sequence": [ - { - "if_true": { - "random_name": "minecraft:bedrock_floor", - "true_at_and_below": { - "above_bottom": 0 - }, - "false_at_and_above": { - "above_bottom": 5 - }, - "type": "minecraft:vertical_gradient" - }, - "then_run": { - "result_state": { - "Name": "minecraft:bedrock" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "type": "minecraft:above_preliminary_surface" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:wooded_badlands" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 97 - }, - "surface_depth_multiplier": 2, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.909, - "max_threshold": -0.5454, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.1818, - "max_threshold": 0.1818, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.5454, - "max_threshold": 0.909, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:grass_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:swamp" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 62 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "if_true": { - "invert": { - "anchor": { - "absolute": 63 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "type": "minecraft:not" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface_swamp", - "min_threshold": 0.0, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:mangrove_swamp" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 60 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "if_true": { - "invert": { - "anchor": { - "absolute": 63 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "type": "minecraft:not" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface_swamp", - "min_threshold": 0.0, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:badlands", - "minecraft:eroded_badlands", - "minecraft:wooded_badlands" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "anchor": { - "absolute": 256 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "result_state": { - "Name": "minecraft:orange_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "anchor": { - "absolute": 74 - }, - "surface_depth_multiplier": 1, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.909, - "max_threshold": -0.5454, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.1818, - "max_threshold": 0.1818, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.5454, - "max_threshold": 0.909, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "type": "minecraft:bandlands" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": -1, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:red_sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:red_sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "invert": { - "type": "minecraft:hole" - }, - "type": "minecraft:not" - }, - "then_run": { - "result_state": { - "Name": "minecraft:orange_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": -6, - "surface_depth_multiplier": -1, - "add_stone_depth": true, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:white_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "anchor": { - "absolute": 63 - }, - "surface_depth_multiplier": -1, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "anchor": { - "absolute": 63 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "if_true": { - "invert": { - "anchor": { - "absolute": 74 - }, - "surface_depth_multiplier": 1, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "type": "minecraft:not" - }, - "then_run": { - "result_state": { - "Name": "minecraft:orange_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "type": "minecraft:bandlands" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "if_true": { - "offset": -6, - "surface_depth_multiplier": -1, - "add_stone_depth": true, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:white_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "if_true": { - "offset": -1, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:frozen_ocean", - "minecraft:deep_frozen_ocean" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "type": "minecraft:hole" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:air" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "type": "minecraft:temperature" - }, - "then_run": { - "result_state": { - "Name": "minecraft:ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:frozen_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:packed_ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:packed_ice", - "min_threshold": 0.0, - "max_threshold": 0.2, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:packed_ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:ice", - "min_threshold": 0.0, - "max_threshold": 0.025, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:snowy_slopes" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:powder_snow", - "min_threshold": 0.35, - "max_threshold": 0.6, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:powder_snow" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:jagged_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:grove" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:powder_snow", - "min_threshold": 0.35, - "max_threshold": 0.6, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:powder_snow" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:stony_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:calcite", - "min_threshold": -0.0125, - "max_threshold": 0.0125, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:calcite" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:stony_shore" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:gravel", - "min_threshold": -0.05, - "max_threshold": 0.05, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_hills" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warm_ocean", - "minecraft:beach", - "minecraft:snowy_beach" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:desert" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:dripstone_caves" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_savanna" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.21212121212121213, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.06060606060606061, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_gravelly_hills" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.24242424242424243, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:grass_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:old_growth_pine_taiga", - "minecraft:old_growth_spruce_taiga" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.21212121212121213, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.11515151515151514, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:podzol" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:ice_spikes" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:mangrove_swamp" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:mud" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:mushroom_fields" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:mycelium" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:grass_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": -6, - "surface_depth_multiplier": -1, - "add_stone_depth": true, - "type": "minecraft:water" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "if_true": { - "biome_is": [ - "minecraft:frozen_ocean", - "minecraft:deep_frozen_ocean" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "type": "minecraft:hole" - }, - "then_run": { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:frozen_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:packed_ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:packed_ice", - "min_threshold": -0.5, - "max_threshold": 0.2, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:packed_ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:ice", - "min_threshold": -0.0625, - "max_threshold": 0.025, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:snowy_slopes" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:powder_snow", - "min_threshold": 0.45, - "max_threshold": 0.58, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:powder_snow" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:jagged_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:grove" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:powder_snow", - "min_threshold": 0.45, - "max_threshold": 0.58, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:powder_snow" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:stony_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:calcite", - "min_threshold": -0.0125, - "max_threshold": 0.0125, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:calcite" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:stony_shore" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:gravel", - "min_threshold": -0.05, - "max_threshold": 0.05, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_hills" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warm_ocean", - "minecraft:beach", - "minecraft:snowy_beach" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:desert" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:dripstone_caves" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_savanna" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.21212121212121213, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_gravelly_hills" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.24242424242424243, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:mangrove_swamp" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:mud" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warm_ocean", - "minecraft:beach", - "minecraft:snowy_beach" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 6, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:desert" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 30, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:frozen_peaks", - "minecraft:jagged_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warm_ocean", - "minecraft:lukewarm_ocean", - "minecraft:deep_lukewarm_ocean" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "random_name": "minecraft:deepslate", - "true_at_and_below": { - "absolute": 0 - }, - "false_at_and_above": { - "absolute": 8 - }, - "type": "minecraft:vertical_gradient" - }, - "then_run": { - "result_state": { - "Properties": { - "axis": "y" - }, - "Name": "minecraft:deepslate" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "spawn_target": [ - { - "temperature": [ - -1.0, - 1.0 - ], - "humidity": [ - -1.0, - 1.0 - ], - "continentalness": [ - -0.11, - 1.0 - ], - "erosion": [ - -1.0, - 1.0 - ], - "depth": 0.0, - "weirdness": [ - -1.0, - -0.16 - ], - "offset": 0.0 - }, - { - "temperature": [ - -1.0, - 1.0 - ], - "humidity": [ - -1.0, - 1.0 - ], - "continentalness": [ - -0.11, - 1.0 - ], - "erosion": [ - -1.0, - 1.0 - ], - "depth": 0.0, - "weirdness": [ - 0.16, - 1.0 - ], - "offset": 0.0 - } - ], - "sea_level": 63, - "disable_mob_generation": false, - "aquifers_enabled": true, - "ore_veins_enabled": true, - "legacy_random_source": false - }, - "caves": { - "noise": { - "min_y": -64, - "height": 192, - "size_horizontal": 1, - "size_vertical": 2 - }, - "default_block": { - "Name": "minecraft:stone" - }, - "default_fluid": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "noise_router": { - "barrier": 0.0, - "fluid_level_floodedness": 0.0, - "fluid_level_spread": 0.0, - "lava": 0.0, - "temperature": { - "shift_x": "minecraft:shift_x", - "shift_y": 0.0, - "shift_z": "minecraft:shift_z", - "xz_scale": 0.25, - "y_scale": 0.0, - "noise": "minecraft:temperature", - "type": "minecraft:shifted_noise" - }, - "vegetation": { - "shift_x": "minecraft:shift_x", - "shift_y": 0.0, - "shift_z": "minecraft:shift_z", - "xz_scale": 0.25, - "y_scale": 0.0, - "noise": "minecraft:vegetation", - "type": "minecraft:shifted_noise" - }, - "continents": 0.0, - "erosion": 0.0, - "depth": 0.0, - "ridges": 0.0, - "preliminary_surface_level": 0.0, - "final_density": { - "argument": { - "argument1": 0.64, - "argument2": { - "argument": { - "argument": { - "argument1": 2.5, - "argument2": { - "argument1": { - "from_y": -72, - "to_y": -40, - "from_value": 0.0, - "to_value": 1.0, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument1": -2.5, - "argument2": { - "argument1": 0.9375, - "argument2": { - "argument1": { - "from_y": 104, - "to_y": 128, - "from_value": 1.0, - "to_value": 0.0, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument1": -0.9375, - "argument2": "minecraft:nether/base_3d_noise", - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:blend_density" - }, - "type": "minecraft:interpolated" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:squeeze" - }, - "vein_toggle": 0.0, - "vein_ridged": 0.0, - "vein_gap": 0.0 - }, - "surface_rule": { - "sequence": [ - { - "if_true": { - "invert": { - "random_name": "minecraft:bedrock_roof", - "true_at_and_below": { - "below_top": 5 - }, - "false_at_and_above": { - "below_top": 0 - }, - "type": "minecraft:vertical_gradient" - }, - "type": "minecraft:not" - }, - "then_run": { - "result_state": { - "Name": "minecraft:bedrock" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "random_name": "minecraft:bedrock_floor", - "true_at_and_below": { - "above_bottom": 0 - }, - "false_at_and_above": { - "above_bottom": 5 - }, - "type": "minecraft:vertical_gradient" - }, - "then_run": { - "result_state": { - "Name": "minecraft:bedrock" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:wooded_badlands" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 97 - }, - "surface_depth_multiplier": 2, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.909, - "max_threshold": -0.5454, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.1818, - "max_threshold": 0.1818, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.5454, - "max_threshold": 0.909, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:grass_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:swamp" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 62 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "if_true": { - "invert": { - "anchor": { - "absolute": 63 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "type": "minecraft:not" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface_swamp", - "min_threshold": 0.0, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:mangrove_swamp" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 60 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "if_true": { - "invert": { - "anchor": { - "absolute": 63 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "type": "minecraft:not" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface_swamp", - "min_threshold": 0.0, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:badlands", - "minecraft:eroded_badlands", - "minecraft:wooded_badlands" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "anchor": { - "absolute": 256 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "result_state": { - "Name": "minecraft:orange_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "anchor": { - "absolute": 74 - }, - "surface_depth_multiplier": 1, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.909, - "max_threshold": -0.5454, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.1818, - "max_threshold": 0.1818, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.5454, - "max_threshold": 0.909, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "type": "minecraft:bandlands" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": -1, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:red_sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:red_sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "invert": { - "type": "minecraft:hole" - }, - "type": "minecraft:not" - }, - "then_run": { - "result_state": { - "Name": "minecraft:orange_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": -6, - "surface_depth_multiplier": -1, - "add_stone_depth": true, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:white_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "anchor": { - "absolute": 63 - }, - "surface_depth_multiplier": -1, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "anchor": { - "absolute": 63 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "if_true": { - "invert": { - "anchor": { - "absolute": 74 - }, - "surface_depth_multiplier": 1, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "type": "minecraft:not" - }, - "then_run": { - "result_state": { - "Name": "minecraft:orange_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "type": "minecraft:bandlands" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "if_true": { - "offset": -6, - "surface_depth_multiplier": -1, - "add_stone_depth": true, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:white_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "if_true": { - "offset": -1, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:frozen_ocean", - "minecraft:deep_frozen_ocean" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "type": "minecraft:hole" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:air" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "type": "minecraft:temperature" - }, - "then_run": { - "result_state": { - "Name": "minecraft:ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:frozen_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:packed_ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:packed_ice", - "min_threshold": 0.0, - "max_threshold": 0.2, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:packed_ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:ice", - "min_threshold": 0.0, - "max_threshold": 0.025, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:snowy_slopes" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:powder_snow", - "min_threshold": 0.35, - "max_threshold": 0.6, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:powder_snow" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:jagged_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:grove" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:powder_snow", - "min_threshold": 0.35, - "max_threshold": 0.6, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:powder_snow" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:stony_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:calcite", - "min_threshold": -0.0125, - "max_threshold": 0.0125, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:calcite" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:stony_shore" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:gravel", - "min_threshold": -0.05, - "max_threshold": 0.05, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_hills" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warm_ocean", - "minecraft:beach", - "minecraft:snowy_beach" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:desert" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:dripstone_caves" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_savanna" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.21212121212121213, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.06060606060606061, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_gravelly_hills" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.24242424242424243, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:grass_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:old_growth_pine_taiga", - "minecraft:old_growth_spruce_taiga" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.21212121212121213, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.11515151515151514, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:podzol" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:ice_spikes" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:mangrove_swamp" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:mud" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:mushroom_fields" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:mycelium" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:grass_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": -6, - "surface_depth_multiplier": -1, - "add_stone_depth": true, - "type": "minecraft:water" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "if_true": { - "biome_is": [ - "minecraft:frozen_ocean", - "minecraft:deep_frozen_ocean" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "type": "minecraft:hole" - }, - "then_run": { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:frozen_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:packed_ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:packed_ice", - "min_threshold": -0.5, - "max_threshold": 0.2, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:packed_ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:ice", - "min_threshold": -0.0625, - "max_threshold": 0.025, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:snowy_slopes" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:powder_snow", - "min_threshold": 0.45, - "max_threshold": 0.58, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:powder_snow" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:jagged_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:grove" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:powder_snow", - "min_threshold": 0.45, - "max_threshold": 0.58, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:powder_snow" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:stony_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:calcite", - "min_threshold": -0.0125, - "max_threshold": 0.0125, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:calcite" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:stony_shore" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:gravel", - "min_threshold": -0.05, - "max_threshold": 0.05, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_hills" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warm_ocean", - "minecraft:beach", - "minecraft:snowy_beach" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:desert" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:dripstone_caves" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_savanna" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.21212121212121213, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_gravelly_hills" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.24242424242424243, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:mangrove_swamp" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:mud" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warm_ocean", - "minecraft:beach", - "minecraft:snowy_beach" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 6, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:desert" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 30, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:frozen_peaks", - "minecraft:jagged_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warm_ocean", - "minecraft:lukewarm_ocean", - "minecraft:deep_lukewarm_ocean" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - { - "if_true": { - "random_name": "minecraft:deepslate", - "true_at_and_below": { - "absolute": 0 - }, - "false_at_and_above": { - "absolute": 8 - }, - "type": "minecraft:vertical_gradient" - }, - "then_run": { - "result_state": { - "Properties": { - "axis": "y" - }, - "Name": "minecraft:deepslate" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "spawn_target": [], - "sea_level": 32, - "disable_mob_generation": false, - "aquifers_enabled": false, - "ore_veins_enabled": false, - "legacy_random_source": true - }, - "end": { - "noise": { - "min_y": 0, - "height": 128, - "size_horizontal": 2, - "size_vertical": 1 - }, - "default_block": { - "Name": "minecraft:end_stone" - }, - "default_fluid": { - "Name": "minecraft:air" - }, - "noise_router": { - "barrier": 0.0, - "fluid_level_floodedness": 0.0, - "fluid_level_spread": 0.0, - "lava": 0.0, - "temperature": 0.0, - "vegetation": 0.0, - "continents": 0.0, - "erosion": { - "argument": { - "type": "minecraft:end_islands" - }, - "type": "minecraft:cache_2d" - }, - "depth": 0.0, - "ridges": 0.0, - "preliminary_surface_level": 0.0, - "final_density": { - "argument": { - "argument1": 0.64, - "argument2": { - "argument": { - "argument": { - "argument1": -0.234375, - "argument2": { - "argument1": { - "from_y": 4, - "to_y": 32, - "from_value": 0.0, - "to_value": 1.0, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument1": 0.234375, - "argument2": { - "argument1": -23.4375, - "argument2": { - "argument1": { - "from_y": 56, - "to_y": 312, - "from_value": 1.0, - "to_value": 0.0, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument1": 23.4375, - "argument2": "minecraft:end/sloped_cheese", - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:blend_density" - }, - "type": "minecraft:interpolated" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:squeeze" - }, - "vein_toggle": 0.0, - "vein_ridged": 0.0, - "vein_gap": 0.0 - }, - "surface_rule": { - "result_state": { - "Name": "minecraft:end_stone" - }, - "type": "minecraft:block" - }, - "spawn_target": [], - "sea_level": 0, - "disable_mob_generation": true, - "aquifers_enabled": false, - "ore_veins_enabled": false, - "legacy_random_source": true - }, - "floating_islands": { - "noise": { - "min_y": 0, - "height": 256, - "size_horizontal": 2, - "size_vertical": 1 - }, - "default_block": { - "Name": "minecraft:stone" - }, - "default_fluid": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "noise_router": { - "barrier": 0.0, - "fluid_level_floodedness": 0.0, - "fluid_level_spread": 0.0, - "lava": 0.0, - "temperature": { - "shift_x": "minecraft:shift_x", - "shift_y": 0.0, - "shift_z": "minecraft:shift_z", - "xz_scale": 0.25, - "y_scale": 0.0, - "noise": "minecraft:temperature", - "type": "minecraft:shifted_noise" - }, - "vegetation": { - "shift_x": "minecraft:shift_x", - "shift_y": 0.0, - "shift_z": "minecraft:shift_z", - "xz_scale": 0.25, - "y_scale": 0.0, - "noise": "minecraft:vegetation", - "type": "minecraft:shifted_noise" - }, - "continents": 0.0, - "erosion": 0.0, - "depth": 0.0, - "ridges": 0.0, - "preliminary_surface_level": 0.0, - "final_density": { - "argument": { - "argument1": 0.64, - "argument2": { - "argument": { - "argument": { - "argument1": -0.234375, - "argument2": { - "argument1": { - "from_y": 4, - "to_y": 32, - "from_value": 0.0, - "to_value": 1.0, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument1": 0.234375, - "argument2": { - "argument1": -23.4375, - "argument2": { - "argument1": { - "from_y": 184, - "to_y": 440, - "from_value": 1.0, - "to_value": 0.0, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument1": 23.4375, - "argument2": "minecraft:end/base_3d_noise", - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:blend_density" - }, - "type": "minecraft:interpolated" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:squeeze" - }, - "vein_toggle": 0.0, - "vein_ridged": 0.0, - "vein_gap": 0.0 - }, - "surface_rule": { - "sequence": [ - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:wooded_badlands" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 97 - }, - "surface_depth_multiplier": 2, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.909, - "max_threshold": -0.5454, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.1818, - "max_threshold": 0.1818, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.5454, - "max_threshold": 0.909, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:grass_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:swamp" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 62 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "if_true": { - "invert": { - "anchor": { - "absolute": 63 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "type": "minecraft:not" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface_swamp", - "min_threshold": 0.0, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:mangrove_swamp" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 60 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "if_true": { - "invert": { - "anchor": { - "absolute": 63 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "type": "minecraft:not" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface_swamp", - "min_threshold": 0.0, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:badlands", - "minecraft:eroded_badlands", - "minecraft:wooded_badlands" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "anchor": { - "absolute": 256 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "result_state": { - "Name": "minecraft:orange_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "anchor": { - "absolute": 74 - }, - "surface_depth_multiplier": 1, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.909, - "max_threshold": -0.5454, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.1818, - "max_threshold": 0.1818, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.5454, - "max_threshold": 0.909, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "type": "minecraft:bandlands" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": -1, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:red_sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:red_sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "invert": { - "type": "minecraft:hole" - }, - "type": "minecraft:not" - }, - "then_run": { - "result_state": { - "Name": "minecraft:orange_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": -6, - "surface_depth_multiplier": -1, - "add_stone_depth": true, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:white_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "anchor": { - "absolute": 63 - }, - "surface_depth_multiplier": -1, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "anchor": { - "absolute": 63 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "if_true": { - "invert": { - "anchor": { - "absolute": 74 - }, - "surface_depth_multiplier": 1, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "type": "minecraft:not" - }, - "then_run": { - "result_state": { - "Name": "minecraft:orange_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "type": "minecraft:bandlands" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "if_true": { - "offset": -6, - "surface_depth_multiplier": -1, - "add_stone_depth": true, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:white_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "if_true": { - "offset": -1, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:frozen_ocean", - "minecraft:deep_frozen_ocean" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "type": "minecraft:hole" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:air" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "type": "minecraft:temperature" - }, - "then_run": { - "result_state": { - "Name": "minecraft:ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:frozen_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:packed_ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:packed_ice", - "min_threshold": 0.0, - "max_threshold": 0.2, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:packed_ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:ice", - "min_threshold": 0.0, - "max_threshold": 0.025, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:snowy_slopes" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:powder_snow", - "min_threshold": 0.35, - "max_threshold": 0.6, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:powder_snow" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:jagged_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:grove" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:powder_snow", - "min_threshold": 0.35, - "max_threshold": 0.6, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:powder_snow" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:stony_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:calcite", - "min_threshold": -0.0125, - "max_threshold": 0.0125, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:calcite" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:stony_shore" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:gravel", - "min_threshold": -0.05, - "max_threshold": 0.05, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_hills" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warm_ocean", - "minecraft:beach", - "minecraft:snowy_beach" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:desert" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:dripstone_caves" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_savanna" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.21212121212121213, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.06060606060606061, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_gravelly_hills" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.24242424242424243, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:grass_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:old_growth_pine_taiga", - "minecraft:old_growth_spruce_taiga" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.21212121212121213, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.11515151515151514, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:podzol" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:ice_spikes" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:mangrove_swamp" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:mud" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:mushroom_fields" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:mycelium" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:grass_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": -6, - "surface_depth_multiplier": -1, - "add_stone_depth": true, - "type": "minecraft:water" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "if_true": { - "biome_is": [ - "minecraft:frozen_ocean", - "minecraft:deep_frozen_ocean" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "type": "minecraft:hole" - }, - "then_run": { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:frozen_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:packed_ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:packed_ice", - "min_threshold": -0.5, - "max_threshold": 0.2, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:packed_ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:ice", - "min_threshold": -0.0625, - "max_threshold": 0.025, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:snowy_slopes" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:powder_snow", - "min_threshold": 0.45, - "max_threshold": 0.58, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:powder_snow" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:jagged_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:grove" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:powder_snow", - "min_threshold": 0.45, - "max_threshold": 0.58, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:powder_snow" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:stony_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:calcite", - "min_threshold": -0.0125, - "max_threshold": 0.0125, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:calcite" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:stony_shore" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:gravel", - "min_threshold": -0.05, - "max_threshold": 0.05, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_hills" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warm_ocean", - "minecraft:beach", - "minecraft:snowy_beach" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:desert" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:dripstone_caves" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_savanna" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.21212121212121213, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_gravelly_hills" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.24242424242424243, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:mangrove_swamp" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:mud" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warm_ocean", - "minecraft:beach", - "minecraft:snowy_beach" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 6, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:desert" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 30, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:frozen_peaks", - "minecraft:jagged_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warm_ocean", - "minecraft:lukewarm_ocean", - "minecraft:deep_lukewarm_ocean" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - { - "if_true": { - "random_name": "minecraft:deepslate", - "true_at_and_below": { - "absolute": 0 - }, - "false_at_and_above": { - "absolute": 8 - }, - "type": "minecraft:vertical_gradient" - }, - "then_run": { - "result_state": { - "Properties": { - "axis": "y" - }, - "Name": "minecraft:deepslate" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "spawn_target": [], - "sea_level": -64, - "disable_mob_generation": false, - "aquifers_enabled": false, - "ore_veins_enabled": false, - "legacy_random_source": true - }, - "large_biomes": { - "noise": { - "min_y": -64, - "height": 384, - "size_horizontal": 1, - "size_vertical": 2 - }, - "default_block": { - "Name": "minecraft:stone" - }, - "default_fluid": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "noise_router": { - "barrier": { - "noise": "minecraft:aquifer_barrier", - "xz_scale": 1.0, - "y_scale": 0.5, - "type": "minecraft:noise" - }, - "fluid_level_floodedness": { - "noise": "minecraft:aquifer_fluid_level_floodedness", - "xz_scale": 1.0, - "y_scale": 0.67, - "type": "minecraft:noise" - }, - "fluid_level_spread": { - "noise": "minecraft:aquifer_fluid_level_spread", - "xz_scale": 1.0, - "y_scale": 0.7142857142857143, - "type": "minecraft:noise" - }, - "lava": { - "noise": "minecraft:aquifer_lava", - "xz_scale": 1.0, - "y_scale": 1.0, - "type": "minecraft:noise" - }, - "temperature": { - "shift_x": "minecraft:shift_x", - "shift_y": 0.0, - "shift_z": "minecraft:shift_z", - "xz_scale": 0.25, - "y_scale": 0.0, - "noise": "minecraft:temperature_large", - "type": "minecraft:shifted_noise" - }, - "vegetation": { - "shift_x": "minecraft:shift_x", - "shift_y": 0.0, - "shift_z": "minecraft:shift_z", - "xz_scale": 0.25, - "y_scale": 0.0, - "noise": "minecraft:vegetation_large", - "type": "minecraft:shifted_noise" - }, - "continents": "minecraft:overworld_large_biomes/continents", - "erosion": "minecraft:overworld_large_biomes/erosion", - "depth": "minecraft:overworld_large_biomes/depth", - "ridges": "minecraft:overworld/ridges", - "preliminary_surface_level": { - "density": { - "argument1": -0.390625, - "argument2": { - "argument1": 0.1171875, - "argument2": { - "argument1": { - "from_y": -64, - "to_y": -40, - "from_value": 0.0, - "to_value": 1.0, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument1": -0.1171875, - "argument2": { - "argument1": -0.078125, - "argument2": { - "argument1": { - "from_y": 240, - "to_y": 256, - "from_value": 1.0, - "to_value": 0.0, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument1": 0.078125, - "argument2": { - "input": { - "argument1": -0.703125, - "argument2": { - "argument1": 4.0, - "argument2": { - "argument": { - "argument1": { - "argument1": { - "from_y": -64, - "to_y": 320, - "from_value": 1.5, - "to_value": -1.5, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument": "minecraft:overworld_large_biomes/offset", - "type": "minecraft:cache_2d" - }, - "type": "minecraft:add" - }, - "argument2": { - "argument": "minecraft:overworld_large_biomes/factor", - "type": "minecraft:cache_2d" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:quarter_negative" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "min": -64.0, - "max": 64.0, - "type": "minecraft:clamp" - }, - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:add" - }, - "upper_bound": { - "input": { - "argument1": 128.0, - "argument2": { - "argument1": -128.0, - "argument2": { - "argument1": { - "argument1": 0.2734375, - "argument2": { - "argument": { - "argument": "minecraft:overworld_large_biomes/factor", - "type": "minecraft:cache_2d" - }, - "type": "minecraft:invert" - }, - "type": "minecraft:mul" - }, - "argument2": { - "argument1": -1.0, - "argument2": { - "argument": "minecraft:overworld_large_biomes/offset", - "type": "minecraft:cache_2d" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "min": -40.0, - "max": 320.0, - "type": "minecraft:clamp" - }, - "lower_bound": -64, - "cell_height": 8, - "type": "minecraft:find_top_surface" - }, - "final_density": { - "argument1": { - "argument": { - "argument1": 0.64, - "argument2": { - "argument": { - "argument": { - "argument1": 0.1171875, - "argument2": { - "argument1": { - "from_y": -64, - "to_y": -40, - "from_value": 0.0, - "to_value": 1.0, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument1": -0.1171875, - "argument2": { - "argument1": -0.078125, - "argument2": { - "argument1": { - "from_y": 240, - "to_y": 256, - "from_value": 1.0, - "to_value": 0.0, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument1": 0.078125, - "argument2": { - "input": "minecraft:overworld_large_biomes/sloped_cheese", - "min_inclusive": -1000000.0, - "max_exclusive": 1.5625, - "when_in_range": { - "argument1": "minecraft:overworld_large_biomes/sloped_cheese", - "argument2": { - "argument1": 5.0, - "argument2": "minecraft:overworld/caves/entrances", - "type": "minecraft:mul" - }, - "type": "minecraft:min" - }, - "when_out_of_range": { - "argument1": { - "argument1": { - "argument1": { - "argument1": { - "argument1": 4.0, - "argument2": { - "argument": { - "noise": "minecraft:cave_layer", - "xz_scale": 1.0, - "y_scale": 8.0, - "type": "minecraft:noise" - }, - "type": "minecraft:square" - }, - "type": "minecraft:mul" - }, - "argument2": { - "argument1": { - "input": { - "argument1": 0.27, - "argument2": { - "noise": "minecraft:cave_cheese", - "xz_scale": 1.0, - "y_scale": 0.6666666666666666, - "type": "minecraft:noise" - }, - "type": "minecraft:add" - }, - "min": -1.0, - "max": 1.0, - "type": "minecraft:clamp" - }, - "argument2": { - "input": { - "argument1": 1.5, - "argument2": { - "argument1": -0.64, - "argument2": "minecraft:overworld_large_biomes/sloped_cheese", - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "min": 0.0, - "max": 0.5, - "type": "minecraft:clamp" - }, - "type": "minecraft:add" - }, - "type": "minecraft:add" - }, - "argument2": "minecraft:overworld/caves/entrances", - "type": "minecraft:min" - }, - "argument2": { - "argument1": "minecraft:overworld/caves/spaghetti_2d", - "argument2": "minecraft:overworld/caves/spaghetti_roughness_function", - "type": "minecraft:add" - }, - "type": "minecraft:min" - }, - "argument2": { - "input": "minecraft:overworld/caves/pillars", - "min_inclusive": -1000000.0, - "max_exclusive": 0.03, - "when_in_range": -1000000.0, - "when_out_of_range": "minecraft:overworld/caves/pillars", - "type": "minecraft:range_choice" - }, - "type": "minecraft:max" - }, - "type": "minecraft:range_choice" - }, - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:blend_density" - }, - "type": "minecraft:interpolated" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:squeeze" - }, - "argument2": "minecraft:overworld/caves/noodle", - "type": "minecraft:min" - }, - "vein_toggle": { - "argument": { - "input": "minecraft:y", - "min_inclusive": -60.0, - "max_exclusive": 51.0, - "when_in_range": { - "noise": "minecraft:ore_veininess", - "xz_scale": 1.5, - "y_scale": 1.5, - "type": "minecraft:noise" - }, - "when_out_of_range": 0.0, - "type": "minecraft:range_choice" - }, - "type": "minecraft:interpolated" - }, - "vein_ridged": { - "argument1": -0.07999999821186066, - "argument2": { - "argument1": { - "argument": { - "argument": { - "input": "minecraft:y", - "min_inclusive": -60.0, - "max_exclusive": 51.0, - "when_in_range": { - "noise": "minecraft:ore_vein_a", - "xz_scale": 4.0, - "y_scale": 4.0, - "type": "minecraft:noise" - }, - "when_out_of_range": 0.0, - "type": "minecraft:range_choice" - }, - "type": "minecraft:interpolated" - }, - "type": "minecraft:abs" - }, - "argument2": { - "argument": { - "argument": { - "input": "minecraft:y", - "min_inclusive": -60.0, - "max_exclusive": 51.0, - "when_in_range": { - "noise": "minecraft:ore_vein_b", - "xz_scale": 4.0, - "y_scale": 4.0, - "type": "minecraft:noise" - }, - "when_out_of_range": 0.0, - "type": "minecraft:range_choice" - }, - "type": "minecraft:interpolated" - }, - "type": "minecraft:abs" - }, - "type": "minecraft:max" - }, - "type": "minecraft:add" - }, - "vein_gap": { - "noise": "minecraft:ore_gap", - "xz_scale": 1.0, - "y_scale": 1.0, - "type": "minecraft:noise" - } - }, - "surface_rule": { - "sequence": [ - { - "if_true": { - "random_name": "minecraft:bedrock_floor", - "true_at_and_below": { - "above_bottom": 0 - }, - "false_at_and_above": { - "above_bottom": 5 - }, - "type": "minecraft:vertical_gradient" - }, - "then_run": { - "result_state": { - "Name": "minecraft:bedrock" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "type": "minecraft:above_preliminary_surface" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:wooded_badlands" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 97 - }, - "surface_depth_multiplier": 2, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.909, - "max_threshold": -0.5454, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.1818, - "max_threshold": 0.1818, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.5454, - "max_threshold": 0.909, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:grass_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:swamp" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 62 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "if_true": { - "invert": { - "anchor": { - "absolute": 63 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "type": "minecraft:not" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface_swamp", - "min_threshold": 0.0, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:mangrove_swamp" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 60 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "if_true": { - "invert": { - "anchor": { - "absolute": 63 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "type": "minecraft:not" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface_swamp", - "min_threshold": 0.0, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:badlands", - "minecraft:eroded_badlands", - "minecraft:wooded_badlands" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "anchor": { - "absolute": 256 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "result_state": { - "Name": "minecraft:orange_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "anchor": { - "absolute": 74 - }, - "surface_depth_multiplier": 1, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.909, - "max_threshold": -0.5454, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.1818, - "max_threshold": 0.1818, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.5454, - "max_threshold": 0.909, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "type": "minecraft:bandlands" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": -1, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:red_sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:red_sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "invert": { - "type": "minecraft:hole" - }, - "type": "minecraft:not" - }, - "then_run": { - "result_state": { - "Name": "minecraft:orange_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": -6, - "surface_depth_multiplier": -1, - "add_stone_depth": true, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:white_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "anchor": { - "absolute": 63 - }, - "surface_depth_multiplier": -1, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "anchor": { - "absolute": 63 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "if_true": { - "invert": { - "anchor": { - "absolute": 74 - }, - "surface_depth_multiplier": 1, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "type": "minecraft:not" - }, - "then_run": { - "result_state": { - "Name": "minecraft:orange_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "type": "minecraft:bandlands" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "if_true": { - "offset": -6, - "surface_depth_multiplier": -1, - "add_stone_depth": true, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:white_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "if_true": { - "offset": -1, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:frozen_ocean", - "minecraft:deep_frozen_ocean" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "type": "minecraft:hole" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:air" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "type": "minecraft:temperature" - }, - "then_run": { - "result_state": { - "Name": "minecraft:ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:frozen_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:packed_ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:packed_ice", - "min_threshold": 0.0, - "max_threshold": 0.2, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:packed_ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:ice", - "min_threshold": 0.0, - "max_threshold": 0.025, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:snowy_slopes" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:powder_snow", - "min_threshold": 0.35, - "max_threshold": 0.6, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:powder_snow" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:jagged_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:grove" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:powder_snow", - "min_threshold": 0.35, - "max_threshold": 0.6, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:powder_snow" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:stony_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:calcite", - "min_threshold": -0.0125, - "max_threshold": 0.0125, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:calcite" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:stony_shore" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:gravel", - "min_threshold": -0.05, - "max_threshold": 0.05, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_hills" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warm_ocean", - "minecraft:beach", - "minecraft:snowy_beach" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:desert" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:dripstone_caves" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_savanna" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.21212121212121213, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.06060606060606061, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_gravelly_hills" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.24242424242424243, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:grass_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:old_growth_pine_taiga", - "minecraft:old_growth_spruce_taiga" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.21212121212121213, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.11515151515151514, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:podzol" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:ice_spikes" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:mangrove_swamp" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:mud" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:mushroom_fields" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:mycelium" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:grass_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": -6, - "surface_depth_multiplier": -1, - "add_stone_depth": true, - "type": "minecraft:water" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "if_true": { - "biome_is": [ - "minecraft:frozen_ocean", - "minecraft:deep_frozen_ocean" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "type": "minecraft:hole" - }, - "then_run": { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:frozen_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:packed_ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:packed_ice", - "min_threshold": -0.5, - "max_threshold": 0.2, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:packed_ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:ice", - "min_threshold": -0.0625, - "max_threshold": 0.025, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:snowy_slopes" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:powder_snow", - "min_threshold": 0.45, - "max_threshold": 0.58, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:powder_snow" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:jagged_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:grove" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:powder_snow", - "min_threshold": 0.45, - "max_threshold": 0.58, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:powder_snow" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:stony_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:calcite", - "min_threshold": -0.0125, - "max_threshold": 0.0125, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:calcite" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:stony_shore" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:gravel", - "min_threshold": -0.05, - "max_threshold": 0.05, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_hills" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warm_ocean", - "minecraft:beach", - "minecraft:snowy_beach" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:desert" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:dripstone_caves" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_savanna" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.21212121212121213, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_gravelly_hills" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.24242424242424243, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:mangrove_swamp" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:mud" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warm_ocean", - "minecraft:beach", - "minecraft:snowy_beach" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 6, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:desert" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 30, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:frozen_peaks", - "minecraft:jagged_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warm_ocean", - "minecraft:lukewarm_ocean", - "minecraft:deep_lukewarm_ocean" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "random_name": "minecraft:deepslate", - "true_at_and_below": { - "absolute": 0 - }, - "false_at_and_above": { - "absolute": 8 - }, - "type": "minecraft:vertical_gradient" - }, - "then_run": { - "result_state": { - "Properties": { - "axis": "y" - }, - "Name": "minecraft:deepslate" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "spawn_target": [ - { - "temperature": [ - -1.0, - 1.0 - ], - "humidity": [ - -1.0, - 1.0 - ], - "continentalness": [ - -0.11, - 1.0 - ], - "erosion": [ - -1.0, - 1.0 - ], - "depth": 0.0, - "weirdness": [ - -1.0, - -0.16 - ], - "offset": 0.0 - }, - { - "temperature": [ - -1.0, - 1.0 - ], - "humidity": [ - -1.0, - 1.0 - ], - "continentalness": [ - -0.11, - 1.0 - ], - "erosion": [ - -1.0, - 1.0 - ], - "depth": 0.0, - "weirdness": [ - 0.16, - 1.0 - ], - "offset": 0.0 - } - ], - "sea_level": 63, - "disable_mob_generation": false, - "aquifers_enabled": true, - "ore_veins_enabled": true, - "legacy_random_source": false - }, - "nether": { - "noise": { - "min_y": 0, - "height": 128, - "size_horizontal": 1, - "size_vertical": 2 - }, - "default_block": { - "Name": "minecraft:netherrack" - }, - "default_fluid": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:lava" - }, - "noise_router": { - "barrier": 0.0, - "fluid_level_floodedness": 0.0, - "fluid_level_spread": 0.0, - "lava": 0.0, - "temperature": { - "shift_x": "minecraft:shift_x", - "shift_y": 0.0, - "shift_z": "minecraft:shift_z", - "xz_scale": 0.25, - "y_scale": 0.0, - "noise": "minecraft:temperature", - "type": "minecraft:shifted_noise" - }, - "vegetation": { - "shift_x": "minecraft:shift_x", - "shift_y": 0.0, - "shift_z": "minecraft:shift_z", - "xz_scale": 0.25, - "y_scale": 0.0, - "noise": "minecraft:vegetation", - "type": "minecraft:shifted_noise" - }, - "continents": 0.0, - "erosion": 0.0, - "depth": 0.0, - "ridges": 0.0, - "preliminary_surface_level": 0.0, - "final_density": { - "argument": { - "argument1": 0.64, - "argument2": { - "argument": { - "argument": { - "argument1": 2.5, - "argument2": { - "argument1": { - "from_y": -8, - "to_y": 24, - "from_value": 0.0, - "to_value": 1.0, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument1": -2.5, - "argument2": { - "argument1": 0.9375, - "argument2": { - "argument1": { - "from_y": 104, - "to_y": 128, - "from_value": 1.0, - "to_value": 0.0, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument1": -0.9375, - "argument2": "minecraft:nether/base_3d_noise", - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:blend_density" - }, - "type": "minecraft:interpolated" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:squeeze" - }, - "vein_toggle": 0.0, - "vein_ridged": 0.0, - "vein_gap": 0.0 - }, - "surface_rule": { - "sequence": [ - { - "if_true": { - "random_name": "minecraft:bedrock_floor", - "true_at_and_below": { - "above_bottom": 0 - }, - "false_at_and_above": { - "above_bottom": 5 - }, - "type": "minecraft:vertical_gradient" - }, - "then_run": { - "result_state": { - "Name": "minecraft:bedrock" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "invert": { - "random_name": "minecraft:bedrock_roof", - "true_at_and_below": { - "below_top": 5 - }, - "false_at_and_above": { - "below_top": 0 - }, - "type": "minecraft:vertical_gradient" - }, - "type": "minecraft:not" - }, - "then_run": { - "result_state": { - "Name": "minecraft:bedrock" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "anchor": { - "below_top": 5 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "result_state": { - "Name": "minecraft:netherrack" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:basalt_deltas" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Properties": { - "axis": "y" - }, - "Name": "minecraft:basalt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:patch", - "min_threshold": -0.012, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 30 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "then_run": { - "if_true": { - "invert": { - "anchor": { - "absolute": 35 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "type": "minecraft:not" - }, - "then_run": { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:nether_state_selector", - "min_threshold": 0.0, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Properties": { - "axis": "y" - }, - "Name": "minecraft:basalt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:blackstone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:soul_sand_valley" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:nether_state_selector", - "min_threshold": 0.0, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:soul_sand" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:soul_soil" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:patch", - "min_threshold": -0.012, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 30 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "then_run": { - "if_true": { - "invert": { - "anchor": { - "absolute": 35 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "type": "minecraft:not" - }, - "then_run": { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:nether_state_selector", - "min_threshold": 0.0, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:soul_sand" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:soul_soil" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "invert": { - "anchor": { - "absolute": 32 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "type": "minecraft:not" - }, - "then_run": { - "if_true": { - "type": "minecraft:hole" - }, - "then_run": { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:lava" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warped_forest" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "invert": { - "noise": "minecraft:netherrack", - "min_threshold": 0.54, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "type": "minecraft:not" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 31 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:nether_wart", - "min_threshold": 1.17, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:warped_wart_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:warped_nylium" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:crimson_forest" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "invert": { - "noise": "minecraft:netherrack", - "min_threshold": 0.54, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "type": "minecraft:not" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 31 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:nether_wart", - "min_threshold": 1.17, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:nether_wart_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:crimson_nylium" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:nether_wastes" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "if_true": { - "noise": "minecraft:soul_sand_layer", - "min_threshold": -0.012, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "invert": { - "type": "minecraft:hole" - }, - "type": "minecraft:not" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 30 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "then_run": { - "if_true": { - "invert": { - "anchor": { - "absolute": 35 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "type": "minecraft:not" - }, - "then_run": { - "result_state": { - "Name": "minecraft:soul_sand" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:netherrack" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 31 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "if_true": { - "invert": { - "anchor": { - "absolute": 35 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "type": "minecraft:not" - }, - "then_run": { - "if_true": { - "noise": "minecraft:gravel_layer", - "min_threshold": -0.012, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "anchor": { - "absolute": 32 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "invert": { - "type": "minecraft:hole" - }, - "type": "minecraft:not" - }, - "then_run": { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:netherrack" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "spawn_target": [], - "sea_level": 32, - "disable_mob_generation": false, - "aquifers_enabled": false, - "ore_veins_enabled": false, - "legacy_random_source": true - }, - "overworld": { - "noise": { - "min_y": -64, - "height": 384, - "size_horizontal": 1, - "size_vertical": 2 - }, - "default_block": { - "Name": "minecraft:stone" - }, - "default_fluid": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "noise_router": { - "barrier": { - "noise": "minecraft:aquifer_barrier", - "xz_scale": 1.0, - "y_scale": 0.5, - "type": "minecraft:noise" - }, - "fluid_level_floodedness": { - "noise": "minecraft:aquifer_fluid_level_floodedness", - "xz_scale": 1.0, - "y_scale": 0.67, - "type": "minecraft:noise" - }, - "fluid_level_spread": { - "noise": "minecraft:aquifer_fluid_level_spread", - "xz_scale": 1.0, - "y_scale": 0.7142857142857143, - "type": "minecraft:noise" - }, - "lava": { - "noise": "minecraft:aquifer_lava", - "xz_scale": 1.0, - "y_scale": 1.0, - "type": "minecraft:noise" - }, - "temperature": { - "shift_x": "minecraft:shift_x", - "shift_y": 0.0, - "shift_z": "minecraft:shift_z", - "xz_scale": 0.25, - "y_scale": 0.0, - "noise": "minecraft:temperature", - "type": "minecraft:shifted_noise" - }, - "vegetation": { - "shift_x": "minecraft:shift_x", - "shift_y": 0.0, - "shift_z": "minecraft:shift_z", - "xz_scale": 0.25, - "y_scale": 0.0, - "noise": "minecraft:vegetation", - "type": "minecraft:shifted_noise" - }, - "continents": "minecraft:overworld/continents", - "erosion": "minecraft:overworld/erosion", - "depth": "minecraft:overworld/depth", - "ridges": "minecraft:overworld/ridges", - "preliminary_surface_level": { - "density": { - "argument1": -0.390625, - "argument2": { - "argument1": 0.1171875, - "argument2": { - "argument1": { - "from_y": -64, - "to_y": -40, - "from_value": 0.0, - "to_value": 1.0, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument1": -0.1171875, - "argument2": { - "argument1": -0.078125, - "argument2": { - "argument1": { - "from_y": 240, - "to_y": 256, - "from_value": 1.0, - "to_value": 0.0, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument1": 0.078125, - "argument2": { - "input": { - "argument1": -0.703125, - "argument2": { - "argument1": 4.0, - "argument2": { - "argument": { - "argument1": { - "argument1": { - "from_y": -64, - "to_y": 320, - "from_value": 1.5, - "to_value": -1.5, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument": "minecraft:overworld/offset", - "type": "minecraft:cache_2d" - }, - "type": "minecraft:add" - }, - "argument2": { - "argument": "minecraft:overworld/factor", - "type": "minecraft:cache_2d" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:quarter_negative" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "min": -64.0, - "max": 64.0, - "type": "minecraft:clamp" - }, - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:add" - }, - "upper_bound": { - "input": { - "argument1": 128.0, - "argument2": { - "argument1": -128.0, - "argument2": { - "argument1": { - "argument1": 0.2734375, - "argument2": { - "argument": { - "argument": "minecraft:overworld/factor", - "type": "minecraft:cache_2d" - }, - "type": "minecraft:invert" - }, - "type": "minecraft:mul" - }, - "argument2": { - "argument1": -1.0, - "argument2": { - "argument": "minecraft:overworld/offset", - "type": "minecraft:cache_2d" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "min": -40.0, - "max": 320.0, - "type": "minecraft:clamp" - }, - "lower_bound": -64, - "cell_height": 8, - "type": "minecraft:find_top_surface" - }, - "final_density": { - "argument1": { - "argument": { - "argument1": 0.64, - "argument2": { - "argument": { - "argument": { - "argument1": 0.1171875, - "argument2": { - "argument1": { - "from_y": -64, - "to_y": -40, - "from_value": 0.0, - "to_value": 1.0, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument1": -0.1171875, - "argument2": { - "argument1": -0.078125, - "argument2": { - "argument1": { - "from_y": 240, - "to_y": 256, - "from_value": 1.0, - "to_value": 0.0, - "type": "minecraft:y_clamped_gradient" - }, - "argument2": { - "argument1": 0.078125, - "argument2": { - "input": "minecraft:overworld/sloped_cheese", - "min_inclusive": -1000000.0, - "max_exclusive": 1.5625, - "when_in_range": { - "argument1": "minecraft:overworld/sloped_cheese", - "argument2": { - "argument1": 5.0, - "argument2": "minecraft:overworld/caves/entrances", - "type": "minecraft:mul" - }, - "type": "minecraft:min" - }, - "when_out_of_range": { - "argument1": { - "argument1": { - "argument1": { - "argument1": { - "argument1": 4.0, - "argument2": { - "argument": { - "noise": "minecraft:cave_layer", - "xz_scale": 1.0, - "y_scale": 8.0, - "type": "minecraft:noise" - }, - "type": "minecraft:square" - }, - "type": "minecraft:mul" - }, - "argument2": { - "argument1": { - "input": { - "argument1": 0.27, - "argument2": { - "noise": "minecraft:cave_cheese", - "xz_scale": 1.0, - "y_scale": 0.6666666666666666, - "type": "minecraft:noise" - }, - "type": "minecraft:add" - }, - "min": -1.0, - "max": 1.0, - "type": "minecraft:clamp" - }, - "argument2": { - "input": { - "argument1": 1.5, - "argument2": { - "argument1": -0.64, - "argument2": "minecraft:overworld/sloped_cheese", - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "min": 0.0, - "max": 0.5, - "type": "minecraft:clamp" - }, - "type": "minecraft:add" - }, - "type": "minecraft:add" - }, - "argument2": "minecraft:overworld/caves/entrances", - "type": "minecraft:min" - }, - "argument2": { - "argument1": "minecraft:overworld/caves/spaghetti_2d", - "argument2": "minecraft:overworld/caves/spaghetti_roughness_function", - "type": "minecraft:add" - }, - "type": "minecraft:min" - }, - "argument2": { - "input": "minecraft:overworld/caves/pillars", - "min_inclusive": -1000000.0, - "max_exclusive": 0.03, - "when_in_range": -1000000.0, - "when_out_of_range": "minecraft:overworld/caves/pillars", - "type": "minecraft:range_choice" - }, - "type": "minecraft:max" - }, - "type": "minecraft:range_choice" - }, - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:add" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:add" - }, - "type": "minecraft:blend_density" - }, - "type": "minecraft:interpolated" - }, - "type": "minecraft:mul" - }, - "type": "minecraft:squeeze" - }, - "argument2": "minecraft:overworld/caves/noodle", - "type": "minecraft:min" - }, - "vein_toggle": { - "argument": { - "input": "minecraft:y", - "min_inclusive": -60.0, - "max_exclusive": 51.0, - "when_in_range": { - "noise": "minecraft:ore_veininess", - "xz_scale": 1.5, - "y_scale": 1.5, - "type": "minecraft:noise" - }, - "when_out_of_range": 0.0, - "type": "minecraft:range_choice" - }, - "type": "minecraft:interpolated" - }, - "vein_ridged": { - "argument1": -0.07999999821186066, - "argument2": { - "argument1": { - "argument": { - "argument": { - "input": "minecraft:y", - "min_inclusive": -60.0, - "max_exclusive": 51.0, - "when_in_range": { - "noise": "minecraft:ore_vein_a", - "xz_scale": 4.0, - "y_scale": 4.0, - "type": "minecraft:noise" - }, - "when_out_of_range": 0.0, - "type": "minecraft:range_choice" - }, - "type": "minecraft:interpolated" - }, - "type": "minecraft:abs" - }, - "argument2": { - "argument": { - "argument": { - "input": "minecraft:y", - "min_inclusive": -60.0, - "max_exclusive": 51.0, - "when_in_range": { - "noise": "minecraft:ore_vein_b", - "xz_scale": 4.0, - "y_scale": 4.0, - "type": "minecraft:noise" - }, - "when_out_of_range": 0.0, - "type": "minecraft:range_choice" - }, - "type": "minecraft:interpolated" - }, - "type": "minecraft:abs" - }, - "type": "minecraft:max" - }, - "type": "minecraft:add" - }, - "vein_gap": { - "noise": "minecraft:ore_gap", - "xz_scale": 1.0, - "y_scale": 1.0, - "type": "minecraft:noise" - } - }, - "surface_rule": { - "sequence": [ - { - "if_true": { - "random_name": "minecraft:bedrock_floor", - "true_at_and_below": { - "above_bottom": 0 - }, - "false_at_and_above": { - "above_bottom": 5 - }, - "type": "minecraft:vertical_gradient" - }, - "then_run": { - "result_state": { - "Name": "minecraft:bedrock" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "type": "minecraft:above_preliminary_surface" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:wooded_badlands" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 97 - }, - "surface_depth_multiplier": 2, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.909, - "max_threshold": -0.5454, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.1818, - "max_threshold": 0.1818, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.5454, - "max_threshold": 0.909, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:grass_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:swamp" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 62 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "if_true": { - "invert": { - "anchor": { - "absolute": 63 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "type": "minecraft:not" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface_swamp", - "min_threshold": 0.0, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:mangrove_swamp" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "anchor": { - "absolute": 60 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "if_true": { - "invert": { - "anchor": { - "absolute": 63 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "type": "minecraft:not" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface_swamp", - "min_threshold": 0.0, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:badlands", - "minecraft:eroded_badlands", - "minecraft:wooded_badlands" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "anchor": { - "absolute": 256 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "result_state": { - "Name": "minecraft:orange_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "anchor": { - "absolute": 74 - }, - "surface_depth_multiplier": 1, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.909, - "max_threshold": -0.5454, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.1818, - "max_threshold": 0.1818, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.5454, - "max_threshold": 0.909, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "type": "minecraft:bandlands" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": -1, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:red_sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:red_sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "invert": { - "type": "minecraft:hole" - }, - "type": "minecraft:not" - }, - "then_run": { - "result_state": { - "Name": "minecraft:orange_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": -6, - "surface_depth_multiplier": -1, - "add_stone_depth": true, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:white_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "anchor": { - "absolute": 63 - }, - "surface_depth_multiplier": -1, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "anchor": { - "absolute": 63 - }, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:y_above" - }, - "then_run": { - "if_true": { - "invert": { - "anchor": { - "absolute": 74 - }, - "surface_depth_multiplier": 1, - "add_stone_depth": true, - "type": "minecraft:y_above" - }, - "type": "minecraft:not" - }, - "then_run": { - "result_state": { - "Name": "minecraft:orange_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "type": "minecraft:bandlands" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "if_true": { - "offset": -6, - "surface_depth_multiplier": -1, - "add_stone_depth": true, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:white_terracotta" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "if_true": { - "offset": -1, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:frozen_ocean", - "minecraft:deep_frozen_ocean" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "type": "minecraft:hole" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:air" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "type": "minecraft:temperature" - }, - "then_run": { - "result_state": { - "Name": "minecraft:ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:frozen_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:packed_ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:packed_ice", - "min_threshold": 0.0, - "max_threshold": 0.2, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:packed_ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:ice", - "min_threshold": 0.0, - "max_threshold": 0.025, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:snowy_slopes" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:powder_snow", - "min_threshold": 0.35, - "max_threshold": 0.6, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:powder_snow" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:jagged_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:grove" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:powder_snow", - "min_threshold": 0.35, - "max_threshold": 0.6, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:powder_snow" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:stony_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:calcite", - "min_threshold": -0.0125, - "max_threshold": 0.0125, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:calcite" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:stony_shore" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:gravel", - "min_threshold": -0.05, - "max_threshold": 0.05, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_hills" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warm_ocean", - "minecraft:beach", - "minecraft:snowy_beach" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:desert" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:dripstone_caves" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_savanna" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.21212121212121213, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.06060606060606061, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_gravelly_hills" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.24242424242424243, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:grass_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:old_growth_pine_taiga", - "minecraft:old_growth_spruce_taiga" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.21212121212121213, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:coarse_dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.11515151515151514, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:podzol" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:ice_spikes" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:mangrove_swamp" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:mud" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:mushroom_fields" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:mycelium" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Properties": { - "snowy": "false" - }, - "Name": "minecraft:grass_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": -6, - "surface_depth_multiplier": -1, - "add_stone_depth": true, - "type": "minecraft:water" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "if_true": { - "biome_is": [ - "minecraft:frozen_ocean", - "minecraft:deep_frozen_ocean" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "type": "minecraft:hole" - }, - "then_run": { - "result_state": { - "Properties": { - "level": "0" - }, - "Name": "minecraft:water" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:frozen_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:packed_ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:packed_ice", - "min_threshold": -0.5, - "max_threshold": 0.2, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:packed_ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:ice", - "min_threshold": -0.0625, - "max_threshold": 0.025, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:ice" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:snowy_slopes" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "type": "minecraft:steep" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:powder_snow", - "min_threshold": 0.45, - "max_threshold": 0.58, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:powder_snow" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:snow_block" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:jagged_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:grove" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:powder_snow", - "min_threshold": 0.45, - "max_threshold": 0.58, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "if_true": { - "offset": 0, - "surface_depth_multiplier": 0, - "add_stone_depth": false, - "type": "minecraft:water" - }, - "then_run": { - "result_state": { - "Name": "minecraft:powder_snow" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:stony_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:calcite", - "min_threshold": -0.0125, - "max_threshold": 0.0125, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:calcite" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:stony_shore" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:gravel", - "min_threshold": -0.05, - "max_threshold": 0.05, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_hills" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warm_ocean", - "minecraft:beach", - "minecraft:snowy_beach" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:desert" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:dripstone_caves" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_savanna" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.21212121212121213, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:windswept_gravelly_hills" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.24242424242424243, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": 0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "noise": "minecraft:surface", - "min_threshold": -0.12121212121212122, - "max_threshold": 1.7976931348623157E308, - "type": "minecraft:noise_threshold" - }, - "then_run": { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:mangrove_swamp" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:mud" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:dirt" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warm_ocean", - "minecraft:beach", - "minecraft:snowy_beach" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 6, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:desert" - ], - "type": "minecraft:biome" - }, - "then_run": { - "if_true": { - "offset": 0, - "add_surface_depth": true, - "secondary_depth_range": 30, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "floor", - "type": "minecraft:stone_depth" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "biome_is": [ - "minecraft:frozen_peaks", - "minecraft:jagged_peaks" - ], - "type": "minecraft:biome" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "biome_is": [ - "minecraft:warm_ocean", - "minecraft:lukewarm_ocean", - "minecraft:deep_lukewarm_ocean" - ], - "type": "minecraft:biome" - }, - "then_run": { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:sandstone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:sand" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "sequence": [ - { - "if_true": { - "offset": 0, - "add_surface_depth": false, - "secondary_depth_range": 0, - "surface_type": "ceiling", - "type": "minecraft:stone_depth" - }, - "then_run": { - "result_state": { - "Name": "minecraft:stone" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - }, - { - "result_state": { - "Name": "minecraft:gravel" - }, - "type": "minecraft:block" - } - ], - "type": "minecraft:sequence" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "type": "minecraft:condition" - }, - { - "if_true": { - "random_name": "minecraft:deepslate", - "true_at_and_below": { - "absolute": 0 - }, - "false_at_and_above": { - "absolute": 8 - }, - "type": "minecraft:vertical_gradient" - }, - "then_run": { - "result_state": { - "Properties": { - "axis": "y" - }, - "Name": "minecraft:deepslate" - }, - "type": "minecraft:block" - }, - "type": "minecraft:condition" - } - ], - "type": "minecraft:sequence" - }, - "spawn_target": [ - { - "temperature": [ - -1.0, - 1.0 - ], - "humidity": [ - -1.0, - 1.0 - ], - "continentalness": [ - -0.11, - 1.0 - ], - "erosion": [ - -1.0, - 1.0 - ], - "depth": 0.0, - "weirdness": [ - -1.0, - -0.16 - ], - "offset": 0.0 - }, - { - "temperature": [ - -1.0, - 1.0 - ], - "humidity": [ - -1.0, - 1.0 - ], - "continentalness": [ - -0.11, - 1.0 - ], - "erosion": [ - -1.0, - 1.0 - ], - "depth": 0.0, - "weirdness": [ - 0.16, - 1.0 - ], - "offset": 0.0 - } - ], - "sea_level": 63, - "disable_mob_generation": false, - "aquifers_enabled": true, - "ore_veins_enabled": true, - "legacy_random_source": false - } -} \ No newline at end of file +{"amplified":{"noise":{"min_y":-64,"height":384,"size_horizontal":1,"size_vertical":2},"default_block":{"Name":"minecraft:stone"},"default_fluid":{"Properties":{"level":"0"},"Name":"minecraft:water"},"noise_router":{"barrier":{"noise":"minecraft:aquifer_barrier","xz_scale":1.0,"y_scale":0.5,"type":"minecraft:noise"},"fluid_level_floodedness":{"noise":"minecraft:aquifer_fluid_level_floodedness","xz_scale":1.0,"y_scale":0.67,"type":"minecraft:noise"},"fluid_level_spread":{"noise":"minecraft:aquifer_fluid_level_spread","xz_scale":1.0,"y_scale":0.7142857142857143,"type":"minecraft:noise"},"lava":{"noise":"minecraft:aquifer_lava","xz_scale":1.0,"y_scale":1.0,"type":"minecraft:noise"},"temperature":{"shift_x":"minecraft:shift_x","shift_y":0.0,"shift_z":"minecraft:shift_z","xz_scale":0.25,"y_scale":0.0,"noise":"minecraft:temperature","type":"minecraft:shifted_noise"},"vegetation":{"shift_x":"minecraft:shift_x","shift_y":0.0,"shift_z":"minecraft:shift_z","xz_scale":0.25,"y_scale":0.0,"noise":"minecraft:vegetation","type":"minecraft:shifted_noise"},"continents":"minecraft:overworld/continents","erosion":"minecraft:overworld/erosion","depth":"minecraft:overworld_amplified/depth","ridges":"minecraft:overworld/ridges","preliminary_surface_level":{"density":{"argument1":-0.390625,"argument2":{"argument1":0.4,"argument2":{"argument1":{"from_y":-64,"to_y":-40,"from_value":0.0,"to_value":1.0,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument1":-0.4,"argument2":{"argument1":-0.078125,"argument2":{"argument1":{"from_y":304,"to_y":320,"from_value":1.0,"to_value":0.0,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument1":0.078125,"argument2":{"input":{"argument1":-0.703125,"argument2":{"argument1":4.0,"argument2":{"argument":{"argument1":{"argument1":{"from_y":-64,"to_y":320,"from_value":1.5,"to_value":-1.5,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument":"minecraft:overworld_amplified/offset","type":"minecraft:cache_2d"},"type":"minecraft:add"},"argument2":{"argument":"minecraft:overworld_amplified/factor","type":"minecraft:cache_2d"},"type":"minecraft:mul"},"type":"minecraft:quarter_negative"},"type":"minecraft:mul"},"type":"minecraft:add"},"min":-64.0,"max":64.0,"type":"minecraft:clamp"},"type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:add"},"upper_bound":{"input":{"argument1":128.0,"argument2":{"argument1":-128.0,"argument2":{"argument1":{"argument1":0.2734375,"argument2":{"argument":{"argument":"minecraft:overworld_amplified/factor","type":"minecraft:cache_2d"},"type":"minecraft:invert"},"type":"minecraft:mul"},"argument2":{"argument1":-1.0,"argument2":{"argument":"minecraft:overworld_amplified/offset","type":"minecraft:cache_2d"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"min":-40.0,"max":320.0,"type":"minecraft:clamp"},"lower_bound":-64,"cell_height":8,"type":"minecraft:find_top_surface"},"final_density":{"argument1":{"argument":{"argument1":0.64,"argument2":{"argument":{"argument":{"argument1":0.4,"argument2":{"argument1":{"from_y":-64,"to_y":-40,"from_value":0.0,"to_value":1.0,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument1":-0.4,"argument2":{"argument1":-0.078125,"argument2":{"argument1":{"from_y":304,"to_y":320,"from_value":1.0,"to_value":0.0,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument1":0.078125,"argument2":{"input":"minecraft:overworld_amplified/sloped_cheese","min_inclusive":-1000000.0,"max_exclusive":1.5625,"when_in_range":{"argument1":"minecraft:overworld_amplified/sloped_cheese","argument2":{"argument1":5.0,"argument2":"minecraft:overworld/caves/entrances","type":"minecraft:mul"},"type":"minecraft:min"},"when_out_of_range":{"argument1":{"argument1":{"argument1":{"argument1":{"argument1":4.0,"argument2":{"argument":{"noise":"minecraft:cave_layer","xz_scale":1.0,"y_scale":8.0,"type":"minecraft:noise"},"type":"minecraft:square"},"type":"minecraft:mul"},"argument2":{"argument1":{"input":{"argument1":0.27,"argument2":{"noise":"minecraft:cave_cheese","xz_scale":1.0,"y_scale":0.6666666666666666,"type":"minecraft:noise"},"type":"minecraft:add"},"min":-1.0,"max":1.0,"type":"minecraft:clamp"},"argument2":{"input":{"argument1":1.5,"argument2":{"argument1":-0.64,"argument2":"minecraft:overworld_amplified/sloped_cheese","type":"minecraft:mul"},"type":"minecraft:add"},"min":0.0,"max":0.5,"type":"minecraft:clamp"},"type":"minecraft:add"},"type":"minecraft:add"},"argument2":"minecraft:overworld/caves/entrances","type":"minecraft:min"},"argument2":{"argument1":"minecraft:overworld/caves/spaghetti_2d","argument2":"minecraft:overworld/caves/spaghetti_roughness_function","type":"minecraft:add"},"type":"minecraft:min"},"argument2":{"input":"minecraft:overworld/caves/pillars","min_inclusive":-1000000.0,"max_exclusive":0.03,"when_in_range":-1000000.0,"when_out_of_range":"minecraft:overworld/caves/pillars","type":"minecraft:range_choice"},"type":"minecraft:max"},"type":"minecraft:range_choice"},"type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:blend_density"},"type":"minecraft:interpolated"},"type":"minecraft:mul"},"type":"minecraft:squeeze"},"argument2":"minecraft:overworld/caves/noodle","type":"minecraft:min"},"vein_toggle":{"argument":{"input":"minecraft:y","min_inclusive":-60.0,"max_exclusive":51.0,"when_in_range":{"noise":"minecraft:ore_veininess","xz_scale":1.5,"y_scale":1.5,"type":"minecraft:noise"},"when_out_of_range":0.0,"type":"minecraft:range_choice"},"type":"minecraft:interpolated"},"vein_ridged":{"argument1":-0.07999999821186066,"argument2":{"argument1":{"argument":{"argument":{"input":"minecraft:y","min_inclusive":-60.0,"max_exclusive":51.0,"when_in_range":{"noise":"minecraft:ore_vein_a","xz_scale":4.0,"y_scale":4.0,"type":"minecraft:noise"},"when_out_of_range":0.0,"type":"minecraft:range_choice"},"type":"minecraft:interpolated"},"type":"minecraft:abs"},"argument2":{"argument":{"argument":{"input":"minecraft:y","min_inclusive":-60.0,"max_exclusive":51.0,"when_in_range":{"noise":"minecraft:ore_vein_b","xz_scale":4.0,"y_scale":4.0,"type":"minecraft:noise"},"when_out_of_range":0.0,"type":"minecraft:range_choice"},"type":"minecraft:interpolated"},"type":"minecraft:abs"},"type":"minecraft:max"},"type":"minecraft:add"},"vein_gap":{"noise":"minecraft:ore_gap","xz_scale":1.0,"y_scale":1.0,"type":"minecraft:noise"}},"surface_rule":{"sequence":[{"if_true":{"random_name":"minecraft:bedrock_floor","true_at_and_below":{"above_bottom":0},"false_at_and_above":{"above_bottom":5},"type":"minecraft:vertical_gradient"},"then_run":{"result_state":{"Name":"minecraft:bedrock"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"type":"minecraft:above_preliminary_surface"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"biome_is":["minecraft:wooded_badlands"],"type":"minecraft:biome"},"then_run":{"if_true":{"anchor":{"absolute":97},"surface_depth_multiplier":2,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":-0.909,"max_threshold":-0.5454,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.1818,"max_threshold":0.1818,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":0.5454,"max_threshold":0.909,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:grass_block"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:swamp"],"type":"minecraft:biome"},"then_run":{"if_true":{"anchor":{"absolute":62},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"if_true":{"invert":{"anchor":{"absolute":63},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"type":"minecraft:not"},"then_run":{"if_true":{"noise":"minecraft:surface_swamp","min_threshold":0.0,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:water"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:mangrove_swamp"],"type":"minecraft:biome"},"then_run":{"if_true":{"anchor":{"absolute":60},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"if_true":{"invert":{"anchor":{"absolute":63},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"type":"minecraft:not"},"then_run":{"if_true":{"noise":"minecraft:surface_swamp","min_threshold":0.0,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:water"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:badlands","minecraft:eroded_badlands","minecraft:wooded_badlands"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"anchor":{"absolute":256},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"result_state":{"Name":"minecraft:orange_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"anchor":{"absolute":74},"surface_depth_multiplier":1,"add_stone_depth":true,"type":"minecraft:y_above"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":-0.909,"max_threshold":-0.5454,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.1818,"max_threshold":0.1818,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":0.5454,"max_threshold":0.909,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"type":"minecraft:bandlands"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":-1,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:red_sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:red_sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"invert":{"type":"minecraft:hole"},"type":"minecraft:not"},"then_run":{"result_state":{"Name":"minecraft:orange_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":-6,"surface_depth_multiplier":-1,"add_stone_depth":true,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:white_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"anchor":{"absolute":63},"surface_depth_multiplier":-1,"add_stone_depth":true,"type":"minecraft:y_above"},"then_run":{"sequence":[{"if_true":{"anchor":{"absolute":63},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"if_true":{"invert":{"anchor":{"absolute":74},"surface_depth_multiplier":1,"add_stone_depth":true,"type":"minecraft:y_above"},"type":"minecraft:not"},"then_run":{"result_state":{"Name":"minecraft:orange_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"type":"minecraft:bandlands"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"if_true":{"offset":-6,"surface_depth_multiplier":-1,"add_stone_depth":true,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:white_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"if_true":{"offset":-1,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"sequence":[{"if_true":{"biome_is":["minecraft:frozen_ocean","minecraft:deep_frozen_ocean"],"type":"minecraft:biome"},"then_run":{"if_true":{"type":"minecraft:hole"},"then_run":{"sequence":[{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:air"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"type":"minecraft:temperature"},"then_run":{"result_state":{"Name":"minecraft:ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:water"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"biome_is":["minecraft:frozen_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:packed_ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:packed_ice","min_threshold":0.0,"max_threshold":0.2,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:packed_ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:ice","min_threshold":0.0,"max_threshold":0.025,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:snowy_slopes"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:powder_snow","min_threshold":0.35,"max_threshold":0.6,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:powder_snow"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:jagged_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:grove"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:powder_snow","min_threshold":0.35,"max_threshold":0.6,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:powder_snow"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"biome_is":["minecraft:stony_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:calcite","min_threshold":-0.0125,"max_threshold":0.0125,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:calcite"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:stony_shore"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:gravel","min_threshold":-0.05,"max_threshold":0.05,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:windswept_hills"],"type":"minecraft:biome"},"then_run":{"if_true":{"noise":"minecraft:surface","min_threshold":0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warm_ocean","minecraft:beach","minecraft:snowy_beach"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:desert"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:dripstone_caves"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},{"if_true":{"biome_is":["minecraft:windswept_savanna"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":0.21212121212121213,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.06060606060606061,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:windswept_gravelly_hills"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":0.24242424242424243,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:grass_block"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:old_growth_pine_taiga","minecraft:old_growth_spruce_taiga"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":0.21212121212121213,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.11515151515151514,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:podzol"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:ice_spikes"],"type":"minecraft:biome"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:mangrove_swamp"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:mud"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:mushroom_fields"],"type":"minecraft:biome"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:mycelium"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:grass_block"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":-6,"surface_depth_multiplier":-1,"add_stone_depth":true,"type":"minecraft:water"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"if_true":{"biome_is":["minecraft:frozen_ocean","minecraft:deep_frozen_ocean"],"type":"minecraft:biome"},"then_run":{"if_true":{"type":"minecraft:hole"},"then_run":{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:water"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"biome_is":["minecraft:frozen_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:packed_ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:packed_ice","min_threshold":-0.5,"max_threshold":0.2,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:packed_ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:ice","min_threshold":-0.0625,"max_threshold":0.025,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:snowy_slopes"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:powder_snow","min_threshold":0.45,"max_threshold":0.58,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:powder_snow"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:jagged_peaks"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:grove"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:powder_snow","min_threshold":0.45,"max_threshold":0.58,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:powder_snow"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"biome_is":["minecraft:stony_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:calcite","min_threshold":-0.0125,"max_threshold":0.0125,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:calcite"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:stony_shore"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:gravel","min_threshold":-0.05,"max_threshold":0.05,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:windswept_hills"],"type":"minecraft:biome"},"then_run":{"if_true":{"noise":"minecraft:surface","min_threshold":0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warm_ocean","minecraft:beach","minecraft:snowy_beach"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:desert"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:dripstone_caves"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},{"if_true":{"biome_is":["minecraft:windswept_savanna"],"type":"minecraft:biome"},"then_run":{"if_true":{"noise":"minecraft:surface","min_threshold":0.21212121212121213,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:windswept_gravelly_hills"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":0.24242424242424243,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:mangrove_swamp"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:mud"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warm_ocean","minecraft:beach","minecraft:snowy_beach"],"type":"minecraft:biome"},"then_run":{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":6,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:desert"],"type":"minecraft:biome"},"then_run":{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":30,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"biome_is":["minecraft:frozen_peaks","minecraft:jagged_peaks"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warm_ocean","minecraft:lukewarm_ocean","minecraft:deep_lukewarm_ocean"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"random_name":"minecraft:deepslate","true_at_and_below":{"absolute":0},"false_at_and_above":{"absolute":8},"type":"minecraft:vertical_gradient"},"then_run":{"result_state":{"Properties":{"axis":"y"},"Name":"minecraft:deepslate"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"spawn_target":[{"temperature":[-1.0,1.0],"humidity":[-1.0,1.0],"continentalness":[-0.11,1.0],"erosion":[-1.0,1.0],"depth":0.0,"weirdness":[-1.0,-0.16],"offset":0.0},{"temperature":[-1.0,1.0],"humidity":[-1.0,1.0],"continentalness":[-0.11,1.0],"erosion":[-1.0,1.0],"depth":0.0,"weirdness":[0.16,1.0],"offset":0.0}],"sea_level":63,"disable_mob_generation":false,"aquifers_enabled":true,"ore_veins_enabled":true,"legacy_random_source":false},"caves":{"noise":{"min_y":-64,"height":192,"size_horizontal":1,"size_vertical":2},"default_block":{"Name":"minecraft:stone"},"default_fluid":{"Properties":{"level":"0"},"Name":"minecraft:water"},"noise_router":{"barrier":0.0,"fluid_level_floodedness":0.0,"fluid_level_spread":0.0,"lava":0.0,"temperature":{"shift_x":"minecraft:shift_x","shift_y":0.0,"shift_z":"minecraft:shift_z","xz_scale":0.25,"y_scale":0.0,"noise":"minecraft:temperature","type":"minecraft:shifted_noise"},"vegetation":{"shift_x":"minecraft:shift_x","shift_y":0.0,"shift_z":"minecraft:shift_z","xz_scale":0.25,"y_scale":0.0,"noise":"minecraft:vegetation","type":"minecraft:shifted_noise"},"continents":0.0,"erosion":0.0,"depth":0.0,"ridges":0.0,"preliminary_surface_level":0.0,"final_density":{"argument":{"argument1":0.64,"argument2":{"argument":{"argument":{"argument1":2.5,"argument2":{"argument1":{"from_y":-72,"to_y":-40,"from_value":0.0,"to_value":1.0,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument1":-2.5,"argument2":{"argument1":0.9375,"argument2":{"argument1":{"from_y":104,"to_y":128,"from_value":1.0,"to_value":0.0,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument1":-0.9375,"argument2":"minecraft:nether/base_3d_noise","type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:blend_density"},"type":"minecraft:interpolated"},"type":"minecraft:mul"},"type":"minecraft:squeeze"},"vein_toggle":0.0,"vein_ridged":0.0,"vein_gap":0.0},"surface_rule":{"sequence":[{"if_true":{"invert":{"random_name":"minecraft:bedrock_roof","true_at_and_below":{"below_top":5},"false_at_and_above":{"below_top":0},"type":"minecraft:vertical_gradient"},"type":"minecraft:not"},"then_run":{"result_state":{"Name":"minecraft:bedrock"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"random_name":"minecraft:bedrock_floor","true_at_and_below":{"above_bottom":0},"false_at_and_above":{"above_bottom":5},"type":"minecraft:vertical_gradient"},"then_run":{"result_state":{"Name":"minecraft:bedrock"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"biome_is":["minecraft:wooded_badlands"],"type":"minecraft:biome"},"then_run":{"if_true":{"anchor":{"absolute":97},"surface_depth_multiplier":2,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":-0.909,"max_threshold":-0.5454,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.1818,"max_threshold":0.1818,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":0.5454,"max_threshold":0.909,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:grass_block"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:swamp"],"type":"minecraft:biome"},"then_run":{"if_true":{"anchor":{"absolute":62},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"if_true":{"invert":{"anchor":{"absolute":63},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"type":"minecraft:not"},"then_run":{"if_true":{"noise":"minecraft:surface_swamp","min_threshold":0.0,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:water"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:mangrove_swamp"],"type":"minecraft:biome"},"then_run":{"if_true":{"anchor":{"absolute":60},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"if_true":{"invert":{"anchor":{"absolute":63},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"type":"minecraft:not"},"then_run":{"if_true":{"noise":"minecraft:surface_swamp","min_threshold":0.0,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:water"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:badlands","minecraft:eroded_badlands","minecraft:wooded_badlands"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"anchor":{"absolute":256},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"result_state":{"Name":"minecraft:orange_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"anchor":{"absolute":74},"surface_depth_multiplier":1,"add_stone_depth":true,"type":"minecraft:y_above"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":-0.909,"max_threshold":-0.5454,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.1818,"max_threshold":0.1818,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":0.5454,"max_threshold":0.909,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"type":"minecraft:bandlands"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":-1,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:red_sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:red_sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"invert":{"type":"minecraft:hole"},"type":"minecraft:not"},"then_run":{"result_state":{"Name":"minecraft:orange_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":-6,"surface_depth_multiplier":-1,"add_stone_depth":true,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:white_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"anchor":{"absolute":63},"surface_depth_multiplier":-1,"add_stone_depth":true,"type":"minecraft:y_above"},"then_run":{"sequence":[{"if_true":{"anchor":{"absolute":63},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"if_true":{"invert":{"anchor":{"absolute":74},"surface_depth_multiplier":1,"add_stone_depth":true,"type":"minecraft:y_above"},"type":"minecraft:not"},"then_run":{"result_state":{"Name":"minecraft:orange_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"type":"minecraft:bandlands"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"if_true":{"offset":-6,"surface_depth_multiplier":-1,"add_stone_depth":true,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:white_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"if_true":{"offset":-1,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"sequence":[{"if_true":{"biome_is":["minecraft:frozen_ocean","minecraft:deep_frozen_ocean"],"type":"minecraft:biome"},"then_run":{"if_true":{"type":"minecraft:hole"},"then_run":{"sequence":[{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:air"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"type":"minecraft:temperature"},"then_run":{"result_state":{"Name":"minecraft:ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:water"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"biome_is":["minecraft:frozen_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:packed_ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:packed_ice","min_threshold":0.0,"max_threshold":0.2,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:packed_ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:ice","min_threshold":0.0,"max_threshold":0.025,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:snowy_slopes"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:powder_snow","min_threshold":0.35,"max_threshold":0.6,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:powder_snow"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:jagged_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:grove"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:powder_snow","min_threshold":0.35,"max_threshold":0.6,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:powder_snow"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"biome_is":["minecraft:stony_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:calcite","min_threshold":-0.0125,"max_threshold":0.0125,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:calcite"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:stony_shore"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:gravel","min_threshold":-0.05,"max_threshold":0.05,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:windswept_hills"],"type":"minecraft:biome"},"then_run":{"if_true":{"noise":"minecraft:surface","min_threshold":0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warm_ocean","minecraft:beach","minecraft:snowy_beach"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:desert"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:dripstone_caves"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},{"if_true":{"biome_is":["minecraft:windswept_savanna"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":0.21212121212121213,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.06060606060606061,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:windswept_gravelly_hills"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":0.24242424242424243,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:grass_block"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:old_growth_pine_taiga","minecraft:old_growth_spruce_taiga"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":0.21212121212121213,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.11515151515151514,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:podzol"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:ice_spikes"],"type":"minecraft:biome"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:mangrove_swamp"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:mud"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:mushroom_fields"],"type":"minecraft:biome"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:mycelium"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:grass_block"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":-6,"surface_depth_multiplier":-1,"add_stone_depth":true,"type":"minecraft:water"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"if_true":{"biome_is":["minecraft:frozen_ocean","minecraft:deep_frozen_ocean"],"type":"minecraft:biome"},"then_run":{"if_true":{"type":"minecraft:hole"},"then_run":{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:water"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"biome_is":["minecraft:frozen_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:packed_ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:packed_ice","min_threshold":-0.5,"max_threshold":0.2,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:packed_ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:ice","min_threshold":-0.0625,"max_threshold":0.025,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:snowy_slopes"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:powder_snow","min_threshold":0.45,"max_threshold":0.58,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:powder_snow"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:jagged_peaks"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:grove"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:powder_snow","min_threshold":0.45,"max_threshold":0.58,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:powder_snow"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"biome_is":["minecraft:stony_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:calcite","min_threshold":-0.0125,"max_threshold":0.0125,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:calcite"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:stony_shore"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:gravel","min_threshold":-0.05,"max_threshold":0.05,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:windswept_hills"],"type":"minecraft:biome"},"then_run":{"if_true":{"noise":"minecraft:surface","min_threshold":0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warm_ocean","minecraft:beach","minecraft:snowy_beach"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:desert"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:dripstone_caves"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},{"if_true":{"biome_is":["minecraft:windswept_savanna"],"type":"minecraft:biome"},"then_run":{"if_true":{"noise":"minecraft:surface","min_threshold":0.21212121212121213,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:windswept_gravelly_hills"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":0.24242424242424243,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:mangrove_swamp"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:mud"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warm_ocean","minecraft:beach","minecraft:snowy_beach"],"type":"minecraft:biome"},"then_run":{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":6,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:desert"],"type":"minecraft:biome"},"then_run":{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":30,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"biome_is":["minecraft:frozen_peaks","minecraft:jagged_peaks"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warm_ocean","minecraft:lukewarm_ocean","minecraft:deep_lukewarm_ocean"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},{"if_true":{"random_name":"minecraft:deepslate","true_at_and_below":{"absolute":0},"false_at_and_above":{"absolute":8},"type":"minecraft:vertical_gradient"},"then_run":{"result_state":{"Properties":{"axis":"y"},"Name":"minecraft:deepslate"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"spawn_target":[],"sea_level":32,"disable_mob_generation":false,"aquifers_enabled":false,"ore_veins_enabled":false,"legacy_random_source":true},"end":{"noise":{"min_y":0,"height":128,"size_horizontal":2,"size_vertical":1},"default_block":{"Name":"minecraft:end_stone"},"default_fluid":{"Name":"minecraft:air"},"noise_router":{"barrier":0.0,"fluid_level_floodedness":0.0,"fluid_level_spread":0.0,"lava":0.0,"temperature":0.0,"vegetation":0.0,"continents":0.0,"erosion":{"argument":{"type":"minecraft:end_islands"},"type":"minecraft:cache_2d"},"depth":0.0,"ridges":0.0,"preliminary_surface_level":0.0,"final_density":{"argument":{"argument1":0.64,"argument2":{"argument":{"argument":{"argument1":-0.234375,"argument2":{"argument1":{"from_y":4,"to_y":32,"from_value":0.0,"to_value":1.0,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument1":0.234375,"argument2":{"argument1":-23.4375,"argument2":{"argument1":{"from_y":56,"to_y":312,"from_value":1.0,"to_value":0.0,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument1":23.4375,"argument2":"minecraft:end/sloped_cheese","type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:blend_density"},"type":"minecraft:interpolated"},"type":"minecraft:mul"},"type":"minecraft:squeeze"},"vein_toggle":0.0,"vein_ridged":0.0,"vein_gap":0.0},"surface_rule":{"result_state":{"Name":"minecraft:end_stone"},"type":"minecraft:block"},"spawn_target":[],"sea_level":0,"disable_mob_generation":true,"aquifers_enabled":false,"ore_veins_enabled":false,"legacy_random_source":true},"floating_islands":{"noise":{"min_y":0,"height":256,"size_horizontal":2,"size_vertical":1},"default_block":{"Name":"minecraft:stone"},"default_fluid":{"Properties":{"level":"0"},"Name":"minecraft:water"},"noise_router":{"barrier":0.0,"fluid_level_floodedness":0.0,"fluid_level_spread":0.0,"lava":0.0,"temperature":{"shift_x":"minecraft:shift_x","shift_y":0.0,"shift_z":"minecraft:shift_z","xz_scale":0.25,"y_scale":0.0,"noise":"minecraft:temperature","type":"minecraft:shifted_noise"},"vegetation":{"shift_x":"minecraft:shift_x","shift_y":0.0,"shift_z":"minecraft:shift_z","xz_scale":0.25,"y_scale":0.0,"noise":"minecraft:vegetation","type":"minecraft:shifted_noise"},"continents":0.0,"erosion":0.0,"depth":0.0,"ridges":0.0,"preliminary_surface_level":0.0,"final_density":{"argument":{"argument1":0.64,"argument2":{"argument":{"argument":{"argument1":-0.234375,"argument2":{"argument1":{"from_y":4,"to_y":32,"from_value":0.0,"to_value":1.0,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument1":0.234375,"argument2":{"argument1":-23.4375,"argument2":{"argument1":{"from_y":184,"to_y":440,"from_value":1.0,"to_value":0.0,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument1":23.4375,"argument2":"minecraft:end/base_3d_noise","type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:blend_density"},"type":"minecraft:interpolated"},"type":"minecraft:mul"},"type":"minecraft:squeeze"},"vein_toggle":0.0,"vein_ridged":0.0,"vein_gap":0.0},"surface_rule":{"sequence":[{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"biome_is":["minecraft:wooded_badlands"],"type":"minecraft:biome"},"then_run":{"if_true":{"anchor":{"absolute":97},"surface_depth_multiplier":2,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":-0.909,"max_threshold":-0.5454,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.1818,"max_threshold":0.1818,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":0.5454,"max_threshold":0.909,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:grass_block"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:swamp"],"type":"minecraft:biome"},"then_run":{"if_true":{"anchor":{"absolute":62},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"if_true":{"invert":{"anchor":{"absolute":63},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"type":"minecraft:not"},"then_run":{"if_true":{"noise":"minecraft:surface_swamp","min_threshold":0.0,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:water"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:mangrove_swamp"],"type":"minecraft:biome"},"then_run":{"if_true":{"anchor":{"absolute":60},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"if_true":{"invert":{"anchor":{"absolute":63},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"type":"minecraft:not"},"then_run":{"if_true":{"noise":"minecraft:surface_swamp","min_threshold":0.0,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:water"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:badlands","minecraft:eroded_badlands","minecraft:wooded_badlands"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"anchor":{"absolute":256},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"result_state":{"Name":"minecraft:orange_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"anchor":{"absolute":74},"surface_depth_multiplier":1,"add_stone_depth":true,"type":"minecraft:y_above"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":-0.909,"max_threshold":-0.5454,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.1818,"max_threshold":0.1818,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":0.5454,"max_threshold":0.909,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"type":"minecraft:bandlands"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":-1,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:red_sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:red_sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"invert":{"type":"minecraft:hole"},"type":"minecraft:not"},"then_run":{"result_state":{"Name":"minecraft:orange_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":-6,"surface_depth_multiplier":-1,"add_stone_depth":true,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:white_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"anchor":{"absolute":63},"surface_depth_multiplier":-1,"add_stone_depth":true,"type":"minecraft:y_above"},"then_run":{"sequence":[{"if_true":{"anchor":{"absolute":63},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"if_true":{"invert":{"anchor":{"absolute":74},"surface_depth_multiplier":1,"add_stone_depth":true,"type":"minecraft:y_above"},"type":"minecraft:not"},"then_run":{"result_state":{"Name":"minecraft:orange_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"type":"minecraft:bandlands"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"if_true":{"offset":-6,"surface_depth_multiplier":-1,"add_stone_depth":true,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:white_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"if_true":{"offset":-1,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"sequence":[{"if_true":{"biome_is":["minecraft:frozen_ocean","minecraft:deep_frozen_ocean"],"type":"minecraft:biome"},"then_run":{"if_true":{"type":"minecraft:hole"},"then_run":{"sequence":[{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:air"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"type":"minecraft:temperature"},"then_run":{"result_state":{"Name":"minecraft:ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:water"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"biome_is":["minecraft:frozen_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:packed_ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:packed_ice","min_threshold":0.0,"max_threshold":0.2,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:packed_ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:ice","min_threshold":0.0,"max_threshold":0.025,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:snowy_slopes"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:powder_snow","min_threshold":0.35,"max_threshold":0.6,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:powder_snow"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:jagged_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:grove"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:powder_snow","min_threshold":0.35,"max_threshold":0.6,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:powder_snow"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"biome_is":["minecraft:stony_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:calcite","min_threshold":-0.0125,"max_threshold":0.0125,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:calcite"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:stony_shore"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:gravel","min_threshold":-0.05,"max_threshold":0.05,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:windswept_hills"],"type":"minecraft:biome"},"then_run":{"if_true":{"noise":"minecraft:surface","min_threshold":0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warm_ocean","minecraft:beach","minecraft:snowy_beach"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:desert"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:dripstone_caves"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},{"if_true":{"biome_is":["minecraft:windswept_savanna"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":0.21212121212121213,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.06060606060606061,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:windswept_gravelly_hills"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":0.24242424242424243,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:grass_block"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:old_growth_pine_taiga","minecraft:old_growth_spruce_taiga"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":0.21212121212121213,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.11515151515151514,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:podzol"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:ice_spikes"],"type":"minecraft:biome"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:mangrove_swamp"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:mud"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:mushroom_fields"],"type":"minecraft:biome"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:mycelium"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:grass_block"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":-6,"surface_depth_multiplier":-1,"add_stone_depth":true,"type":"minecraft:water"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"if_true":{"biome_is":["minecraft:frozen_ocean","minecraft:deep_frozen_ocean"],"type":"minecraft:biome"},"then_run":{"if_true":{"type":"minecraft:hole"},"then_run":{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:water"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"biome_is":["minecraft:frozen_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:packed_ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:packed_ice","min_threshold":-0.5,"max_threshold":0.2,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:packed_ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:ice","min_threshold":-0.0625,"max_threshold":0.025,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:snowy_slopes"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:powder_snow","min_threshold":0.45,"max_threshold":0.58,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:powder_snow"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:jagged_peaks"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:grove"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:powder_snow","min_threshold":0.45,"max_threshold":0.58,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:powder_snow"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"biome_is":["minecraft:stony_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:calcite","min_threshold":-0.0125,"max_threshold":0.0125,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:calcite"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:stony_shore"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:gravel","min_threshold":-0.05,"max_threshold":0.05,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:windswept_hills"],"type":"minecraft:biome"},"then_run":{"if_true":{"noise":"minecraft:surface","min_threshold":0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warm_ocean","minecraft:beach","minecraft:snowy_beach"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:desert"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:dripstone_caves"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},{"if_true":{"biome_is":["minecraft:windswept_savanna"],"type":"minecraft:biome"},"then_run":{"if_true":{"noise":"minecraft:surface","min_threshold":0.21212121212121213,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:windswept_gravelly_hills"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":0.24242424242424243,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:mangrove_swamp"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:mud"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warm_ocean","minecraft:beach","minecraft:snowy_beach"],"type":"minecraft:biome"},"then_run":{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":6,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:desert"],"type":"minecraft:biome"},"then_run":{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":30,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"biome_is":["minecraft:frozen_peaks","minecraft:jagged_peaks"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warm_ocean","minecraft:lukewarm_ocean","minecraft:deep_lukewarm_ocean"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},{"if_true":{"random_name":"minecraft:deepslate","true_at_and_below":{"absolute":0},"false_at_and_above":{"absolute":8},"type":"minecraft:vertical_gradient"},"then_run":{"result_state":{"Properties":{"axis":"y"},"Name":"minecraft:deepslate"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"spawn_target":[],"sea_level":-64,"disable_mob_generation":false,"aquifers_enabled":false,"ore_veins_enabled":false,"legacy_random_source":true},"large_biomes":{"noise":{"min_y":-64,"height":384,"size_horizontal":1,"size_vertical":2},"default_block":{"Name":"minecraft:stone"},"default_fluid":{"Properties":{"level":"0"},"Name":"minecraft:water"},"noise_router":{"barrier":{"noise":"minecraft:aquifer_barrier","xz_scale":1.0,"y_scale":0.5,"type":"minecraft:noise"},"fluid_level_floodedness":{"noise":"minecraft:aquifer_fluid_level_floodedness","xz_scale":1.0,"y_scale":0.67,"type":"minecraft:noise"},"fluid_level_spread":{"noise":"minecraft:aquifer_fluid_level_spread","xz_scale":1.0,"y_scale":0.7142857142857143,"type":"minecraft:noise"},"lava":{"noise":"minecraft:aquifer_lava","xz_scale":1.0,"y_scale":1.0,"type":"minecraft:noise"},"temperature":{"shift_x":"minecraft:shift_x","shift_y":0.0,"shift_z":"minecraft:shift_z","xz_scale":0.25,"y_scale":0.0,"noise":"minecraft:temperature_large","type":"minecraft:shifted_noise"},"vegetation":{"shift_x":"minecraft:shift_x","shift_y":0.0,"shift_z":"minecraft:shift_z","xz_scale":0.25,"y_scale":0.0,"noise":"minecraft:vegetation_large","type":"minecraft:shifted_noise"},"continents":"minecraft:overworld_large_biomes/continents","erosion":"minecraft:overworld_large_biomes/erosion","depth":"minecraft:overworld_large_biomes/depth","ridges":"minecraft:overworld/ridges","preliminary_surface_level":{"density":{"argument1":-0.390625,"argument2":{"argument1":0.1171875,"argument2":{"argument1":{"from_y":-64,"to_y":-40,"from_value":0.0,"to_value":1.0,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument1":-0.1171875,"argument2":{"argument1":-0.078125,"argument2":{"argument1":{"from_y":240,"to_y":256,"from_value":1.0,"to_value":0.0,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument1":0.078125,"argument2":{"input":{"argument1":-0.703125,"argument2":{"argument1":4.0,"argument2":{"argument":{"argument1":{"argument1":{"from_y":-64,"to_y":320,"from_value":1.5,"to_value":-1.5,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument":"minecraft:overworld_large_biomes/offset","type":"minecraft:cache_2d"},"type":"minecraft:add"},"argument2":{"argument":"minecraft:overworld_large_biomes/factor","type":"minecraft:cache_2d"},"type":"minecraft:mul"},"type":"minecraft:quarter_negative"},"type":"minecraft:mul"},"type":"minecraft:add"},"min":-64.0,"max":64.0,"type":"minecraft:clamp"},"type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:add"},"upper_bound":{"input":{"argument1":128.0,"argument2":{"argument1":-128.0,"argument2":{"argument1":{"argument1":0.2734375,"argument2":{"argument":{"argument":"minecraft:overworld_large_biomes/factor","type":"minecraft:cache_2d"},"type":"minecraft:invert"},"type":"minecraft:mul"},"argument2":{"argument1":-1.0,"argument2":{"argument":"minecraft:overworld_large_biomes/offset","type":"minecraft:cache_2d"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"min":-40.0,"max":320.0,"type":"minecraft:clamp"},"lower_bound":-64,"cell_height":8,"type":"minecraft:find_top_surface"},"final_density":{"argument1":{"argument":{"argument1":0.64,"argument2":{"argument":{"argument":{"argument1":0.1171875,"argument2":{"argument1":{"from_y":-64,"to_y":-40,"from_value":0.0,"to_value":1.0,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument1":-0.1171875,"argument2":{"argument1":-0.078125,"argument2":{"argument1":{"from_y":240,"to_y":256,"from_value":1.0,"to_value":0.0,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument1":0.078125,"argument2":{"input":"minecraft:overworld_large_biomes/sloped_cheese","min_inclusive":-1000000.0,"max_exclusive":1.5625,"when_in_range":{"argument1":"minecraft:overworld_large_biomes/sloped_cheese","argument2":{"argument1":5.0,"argument2":"minecraft:overworld/caves/entrances","type":"minecraft:mul"},"type":"minecraft:min"},"when_out_of_range":{"argument1":{"argument1":{"argument1":{"argument1":{"argument1":4.0,"argument2":{"argument":{"noise":"minecraft:cave_layer","xz_scale":1.0,"y_scale":8.0,"type":"minecraft:noise"},"type":"minecraft:square"},"type":"minecraft:mul"},"argument2":{"argument1":{"input":{"argument1":0.27,"argument2":{"noise":"minecraft:cave_cheese","xz_scale":1.0,"y_scale":0.6666666666666666,"type":"minecraft:noise"},"type":"minecraft:add"},"min":-1.0,"max":1.0,"type":"minecraft:clamp"},"argument2":{"input":{"argument1":1.5,"argument2":{"argument1":-0.64,"argument2":"minecraft:overworld_large_biomes/sloped_cheese","type":"minecraft:mul"},"type":"minecraft:add"},"min":0.0,"max":0.5,"type":"minecraft:clamp"},"type":"minecraft:add"},"type":"minecraft:add"},"argument2":"minecraft:overworld/caves/entrances","type":"minecraft:min"},"argument2":{"argument1":"minecraft:overworld/caves/spaghetti_2d","argument2":"minecraft:overworld/caves/spaghetti_roughness_function","type":"minecraft:add"},"type":"minecraft:min"},"argument2":{"input":"minecraft:overworld/caves/pillars","min_inclusive":-1000000.0,"max_exclusive":0.03,"when_in_range":-1000000.0,"when_out_of_range":"minecraft:overworld/caves/pillars","type":"minecraft:range_choice"},"type":"minecraft:max"},"type":"minecraft:range_choice"},"type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:blend_density"},"type":"minecraft:interpolated"},"type":"minecraft:mul"},"type":"minecraft:squeeze"},"argument2":"minecraft:overworld/caves/noodle","type":"minecraft:min"},"vein_toggle":{"argument":{"input":"minecraft:y","min_inclusive":-60.0,"max_exclusive":51.0,"when_in_range":{"noise":"minecraft:ore_veininess","xz_scale":1.5,"y_scale":1.5,"type":"minecraft:noise"},"when_out_of_range":0.0,"type":"minecraft:range_choice"},"type":"minecraft:interpolated"},"vein_ridged":{"argument1":-0.07999999821186066,"argument2":{"argument1":{"argument":{"argument":{"input":"minecraft:y","min_inclusive":-60.0,"max_exclusive":51.0,"when_in_range":{"noise":"minecraft:ore_vein_a","xz_scale":4.0,"y_scale":4.0,"type":"minecraft:noise"},"when_out_of_range":0.0,"type":"minecraft:range_choice"},"type":"minecraft:interpolated"},"type":"minecraft:abs"},"argument2":{"argument":{"argument":{"input":"minecraft:y","min_inclusive":-60.0,"max_exclusive":51.0,"when_in_range":{"noise":"minecraft:ore_vein_b","xz_scale":4.0,"y_scale":4.0,"type":"minecraft:noise"},"when_out_of_range":0.0,"type":"minecraft:range_choice"},"type":"minecraft:interpolated"},"type":"minecraft:abs"},"type":"minecraft:max"},"type":"minecraft:add"},"vein_gap":{"noise":"minecraft:ore_gap","xz_scale":1.0,"y_scale":1.0,"type":"minecraft:noise"}},"surface_rule":{"sequence":[{"if_true":{"random_name":"minecraft:bedrock_floor","true_at_and_below":{"above_bottom":0},"false_at_and_above":{"above_bottom":5},"type":"minecraft:vertical_gradient"},"then_run":{"result_state":{"Name":"minecraft:bedrock"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"type":"minecraft:above_preliminary_surface"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"biome_is":["minecraft:wooded_badlands"],"type":"minecraft:biome"},"then_run":{"if_true":{"anchor":{"absolute":97},"surface_depth_multiplier":2,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":-0.909,"max_threshold":-0.5454,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.1818,"max_threshold":0.1818,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":0.5454,"max_threshold":0.909,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:grass_block"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:swamp"],"type":"minecraft:biome"},"then_run":{"if_true":{"anchor":{"absolute":62},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"if_true":{"invert":{"anchor":{"absolute":63},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"type":"minecraft:not"},"then_run":{"if_true":{"noise":"minecraft:surface_swamp","min_threshold":0.0,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:water"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:mangrove_swamp"],"type":"minecraft:biome"},"then_run":{"if_true":{"anchor":{"absolute":60},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"if_true":{"invert":{"anchor":{"absolute":63},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"type":"minecraft:not"},"then_run":{"if_true":{"noise":"minecraft:surface_swamp","min_threshold":0.0,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:water"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:badlands","minecraft:eroded_badlands","minecraft:wooded_badlands"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"anchor":{"absolute":256},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"result_state":{"Name":"minecraft:orange_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"anchor":{"absolute":74},"surface_depth_multiplier":1,"add_stone_depth":true,"type":"minecraft:y_above"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":-0.909,"max_threshold":-0.5454,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.1818,"max_threshold":0.1818,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":0.5454,"max_threshold":0.909,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"type":"minecraft:bandlands"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":-1,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:red_sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:red_sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"invert":{"type":"minecraft:hole"},"type":"minecraft:not"},"then_run":{"result_state":{"Name":"minecraft:orange_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":-6,"surface_depth_multiplier":-1,"add_stone_depth":true,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:white_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"anchor":{"absolute":63},"surface_depth_multiplier":-1,"add_stone_depth":true,"type":"minecraft:y_above"},"then_run":{"sequence":[{"if_true":{"anchor":{"absolute":63},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"if_true":{"invert":{"anchor":{"absolute":74},"surface_depth_multiplier":1,"add_stone_depth":true,"type":"minecraft:y_above"},"type":"minecraft:not"},"then_run":{"result_state":{"Name":"minecraft:orange_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"type":"minecraft:bandlands"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"if_true":{"offset":-6,"surface_depth_multiplier":-1,"add_stone_depth":true,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:white_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"if_true":{"offset":-1,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"sequence":[{"if_true":{"biome_is":["minecraft:frozen_ocean","minecraft:deep_frozen_ocean"],"type":"minecraft:biome"},"then_run":{"if_true":{"type":"minecraft:hole"},"then_run":{"sequence":[{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:air"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"type":"minecraft:temperature"},"then_run":{"result_state":{"Name":"minecraft:ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:water"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"biome_is":["minecraft:frozen_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:packed_ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:packed_ice","min_threshold":0.0,"max_threshold":0.2,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:packed_ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:ice","min_threshold":0.0,"max_threshold":0.025,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:snowy_slopes"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:powder_snow","min_threshold":0.35,"max_threshold":0.6,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:powder_snow"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:jagged_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:grove"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:powder_snow","min_threshold":0.35,"max_threshold":0.6,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:powder_snow"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"biome_is":["minecraft:stony_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:calcite","min_threshold":-0.0125,"max_threshold":0.0125,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:calcite"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:stony_shore"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:gravel","min_threshold":-0.05,"max_threshold":0.05,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:windswept_hills"],"type":"minecraft:biome"},"then_run":{"if_true":{"noise":"minecraft:surface","min_threshold":0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warm_ocean","minecraft:beach","minecraft:snowy_beach"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:desert"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:dripstone_caves"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},{"if_true":{"biome_is":["minecraft:windswept_savanna"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":0.21212121212121213,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.06060606060606061,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:windswept_gravelly_hills"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":0.24242424242424243,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:grass_block"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:old_growth_pine_taiga","minecraft:old_growth_spruce_taiga"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":0.21212121212121213,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.11515151515151514,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:podzol"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:ice_spikes"],"type":"minecraft:biome"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:mangrove_swamp"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:mud"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:mushroom_fields"],"type":"minecraft:biome"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:mycelium"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:grass_block"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":-6,"surface_depth_multiplier":-1,"add_stone_depth":true,"type":"minecraft:water"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"if_true":{"biome_is":["minecraft:frozen_ocean","minecraft:deep_frozen_ocean"],"type":"minecraft:biome"},"then_run":{"if_true":{"type":"minecraft:hole"},"then_run":{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:water"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"biome_is":["minecraft:frozen_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:packed_ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:packed_ice","min_threshold":-0.5,"max_threshold":0.2,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:packed_ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:ice","min_threshold":-0.0625,"max_threshold":0.025,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:snowy_slopes"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:powder_snow","min_threshold":0.45,"max_threshold":0.58,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:powder_snow"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:jagged_peaks"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:grove"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:powder_snow","min_threshold":0.45,"max_threshold":0.58,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:powder_snow"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"biome_is":["minecraft:stony_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:calcite","min_threshold":-0.0125,"max_threshold":0.0125,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:calcite"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:stony_shore"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:gravel","min_threshold":-0.05,"max_threshold":0.05,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:windswept_hills"],"type":"minecraft:biome"},"then_run":{"if_true":{"noise":"minecraft:surface","min_threshold":0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warm_ocean","minecraft:beach","minecraft:snowy_beach"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:desert"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:dripstone_caves"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},{"if_true":{"biome_is":["minecraft:windswept_savanna"],"type":"minecraft:biome"},"then_run":{"if_true":{"noise":"minecraft:surface","min_threshold":0.21212121212121213,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:windswept_gravelly_hills"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":0.24242424242424243,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:mangrove_swamp"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:mud"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warm_ocean","minecraft:beach","minecraft:snowy_beach"],"type":"minecraft:biome"},"then_run":{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":6,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:desert"],"type":"minecraft:biome"},"then_run":{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":30,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"biome_is":["minecraft:frozen_peaks","minecraft:jagged_peaks"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warm_ocean","minecraft:lukewarm_ocean","minecraft:deep_lukewarm_ocean"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"random_name":"minecraft:deepslate","true_at_and_below":{"absolute":0},"false_at_and_above":{"absolute":8},"type":"minecraft:vertical_gradient"},"then_run":{"result_state":{"Properties":{"axis":"y"},"Name":"minecraft:deepslate"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"spawn_target":[{"temperature":[-1.0,1.0],"humidity":[-1.0,1.0],"continentalness":[-0.11,1.0],"erosion":[-1.0,1.0],"depth":0.0,"weirdness":[-1.0,-0.16],"offset":0.0},{"temperature":[-1.0,1.0],"humidity":[-1.0,1.0],"continentalness":[-0.11,1.0],"erosion":[-1.0,1.0],"depth":0.0,"weirdness":[0.16,1.0],"offset":0.0}],"sea_level":63,"disable_mob_generation":false,"aquifers_enabled":true,"ore_veins_enabled":true,"legacy_random_source":false},"nether":{"noise":{"min_y":0,"height":128,"size_horizontal":1,"size_vertical":2},"default_block":{"Name":"minecraft:netherrack"},"default_fluid":{"Properties":{"level":"0"},"Name":"minecraft:lava"},"noise_router":{"barrier":0.0,"fluid_level_floodedness":0.0,"fluid_level_spread":0.0,"lava":0.0,"temperature":{"shift_x":"minecraft:shift_x","shift_y":0.0,"shift_z":"minecraft:shift_z","xz_scale":0.25,"y_scale":0.0,"noise":"minecraft:temperature","type":"minecraft:shifted_noise"},"vegetation":{"shift_x":"minecraft:shift_x","shift_y":0.0,"shift_z":"minecraft:shift_z","xz_scale":0.25,"y_scale":0.0,"noise":"minecraft:vegetation","type":"minecraft:shifted_noise"},"continents":0.0,"erosion":0.0,"depth":0.0,"ridges":0.0,"preliminary_surface_level":0.0,"final_density":{"argument":{"argument1":0.64,"argument2":{"argument":{"argument":{"argument1":2.5,"argument2":{"argument1":{"from_y":-8,"to_y":24,"from_value":0.0,"to_value":1.0,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument1":-2.5,"argument2":{"argument1":0.9375,"argument2":{"argument1":{"from_y":104,"to_y":128,"from_value":1.0,"to_value":0.0,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument1":-0.9375,"argument2":"minecraft:nether/base_3d_noise","type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:blend_density"},"type":"minecraft:interpolated"},"type":"minecraft:mul"},"type":"minecraft:squeeze"},"vein_toggle":0.0,"vein_ridged":0.0,"vein_gap":0.0},"surface_rule":{"sequence":[{"if_true":{"random_name":"minecraft:bedrock_floor","true_at_and_below":{"above_bottom":0},"false_at_and_above":{"above_bottom":5},"type":"minecraft:vertical_gradient"},"then_run":{"result_state":{"Name":"minecraft:bedrock"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"invert":{"random_name":"minecraft:bedrock_roof","true_at_and_below":{"below_top":5},"false_at_and_above":{"below_top":0},"type":"minecraft:vertical_gradient"},"type":"minecraft:not"},"then_run":{"result_state":{"Name":"minecraft:bedrock"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"anchor":{"below_top":5},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"result_state":{"Name":"minecraft:netherrack"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:basalt_deltas"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Properties":{"axis":"y"},"Name":"minecraft:basalt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:patch","min_threshold":-0.012,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"anchor":{"absolute":30},"surface_depth_multiplier":0,"add_stone_depth":true,"type":"minecraft:y_above"},"then_run":{"if_true":{"invert":{"anchor":{"absolute":35},"surface_depth_multiplier":0,"add_stone_depth":true,"type":"minecraft:y_above"},"type":"minecraft:not"},"then_run":{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:nether_state_selector","min_threshold":0.0,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Properties":{"axis":"y"},"Name":"minecraft:basalt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:blackstone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:soul_sand_valley"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:nether_state_selector","min_threshold":0.0,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:soul_sand"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:soul_soil"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:patch","min_threshold":-0.012,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"anchor":{"absolute":30},"surface_depth_multiplier":0,"add_stone_depth":true,"type":"minecraft:y_above"},"then_run":{"if_true":{"invert":{"anchor":{"absolute":35},"surface_depth_multiplier":0,"add_stone_depth":true,"type":"minecraft:y_above"},"type":"minecraft:not"},"then_run":{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:nether_state_selector","min_threshold":0.0,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:soul_sand"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:soul_soil"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"invert":{"anchor":{"absolute":32},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"type":"minecraft:not"},"then_run":{"if_true":{"type":"minecraft:hole"},"then_run":{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:lava"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warped_forest"],"type":"minecraft:biome"},"then_run":{"if_true":{"invert":{"noise":"minecraft:netherrack","min_threshold":0.54,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"type":"minecraft:not"},"then_run":{"if_true":{"anchor":{"absolute":31},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:nether_wart","min_threshold":1.17,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:warped_wart_block"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:warped_nylium"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:crimson_forest"],"type":"minecraft:biome"},"then_run":{"if_true":{"invert":{"noise":"minecraft:netherrack","min_threshold":0.54,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"type":"minecraft:not"},"then_run":{"if_true":{"anchor":{"absolute":31},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:nether_wart","min_threshold":1.17,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:nether_wart_block"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:crimson_nylium"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:nether_wastes"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"if_true":{"noise":"minecraft:soul_sand_layer","min_threshold":-0.012,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"invert":{"type":"minecraft:hole"},"type":"minecraft:not"},"then_run":{"if_true":{"anchor":{"absolute":30},"surface_depth_multiplier":0,"add_stone_depth":true,"type":"minecraft:y_above"},"then_run":{"if_true":{"invert":{"anchor":{"absolute":35},"surface_depth_multiplier":0,"add_stone_depth":true,"type":"minecraft:y_above"},"type":"minecraft:not"},"then_run":{"result_state":{"Name":"minecraft:soul_sand"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:netherrack"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"if_true":{"anchor":{"absolute":31},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"if_true":{"invert":{"anchor":{"absolute":35},"surface_depth_multiplier":0,"add_stone_depth":true,"type":"minecraft:y_above"},"type":"minecraft:not"},"then_run":{"if_true":{"noise":"minecraft:gravel_layer","min_threshold":-0.012,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"anchor":{"absolute":32},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"invert":{"type":"minecraft:hole"},"type":"minecraft:not"},"then_run":{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:netherrack"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"spawn_target":[],"sea_level":32,"disable_mob_generation":false,"aquifers_enabled":false,"ore_veins_enabled":false,"legacy_random_source":true},"overworld":{"noise":{"min_y":-64,"height":384,"size_horizontal":1,"size_vertical":2},"default_block":{"Name":"minecraft:stone"},"default_fluid":{"Properties":{"level":"0"},"Name":"minecraft:water"},"noise_router":{"barrier":{"noise":"minecraft:aquifer_barrier","xz_scale":1.0,"y_scale":0.5,"type":"minecraft:noise"},"fluid_level_floodedness":{"noise":"minecraft:aquifer_fluid_level_floodedness","xz_scale":1.0,"y_scale":0.67,"type":"minecraft:noise"},"fluid_level_spread":{"noise":"minecraft:aquifer_fluid_level_spread","xz_scale":1.0,"y_scale":0.7142857142857143,"type":"minecraft:noise"},"lava":{"noise":"minecraft:aquifer_lava","xz_scale":1.0,"y_scale":1.0,"type":"minecraft:noise"},"temperature":{"shift_x":"minecraft:shift_x","shift_y":0.0,"shift_z":"minecraft:shift_z","xz_scale":0.25,"y_scale":0.0,"noise":"minecraft:temperature","type":"minecraft:shifted_noise"},"vegetation":{"shift_x":"minecraft:shift_x","shift_y":0.0,"shift_z":"minecraft:shift_z","xz_scale":0.25,"y_scale":0.0,"noise":"minecraft:vegetation","type":"minecraft:shifted_noise"},"continents":"minecraft:overworld/continents","erosion":"minecraft:overworld/erosion","depth":"minecraft:overworld/depth","ridges":"minecraft:overworld/ridges","preliminary_surface_level":{"density":{"argument1":-0.390625,"argument2":{"argument1":0.1171875,"argument2":{"argument1":{"from_y":-64,"to_y":-40,"from_value":0.0,"to_value":1.0,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument1":-0.1171875,"argument2":{"argument1":-0.078125,"argument2":{"argument1":{"from_y":240,"to_y":256,"from_value":1.0,"to_value":0.0,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument1":0.078125,"argument2":{"input":{"argument1":-0.703125,"argument2":{"argument1":4.0,"argument2":{"argument":{"argument1":{"argument1":{"from_y":-64,"to_y":320,"from_value":1.5,"to_value":-1.5,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument":"minecraft:overworld/offset","type":"minecraft:cache_2d"},"type":"minecraft:add"},"argument2":{"argument":"minecraft:overworld/factor","type":"minecraft:cache_2d"},"type":"minecraft:mul"},"type":"minecraft:quarter_negative"},"type":"minecraft:mul"},"type":"minecraft:add"},"min":-64.0,"max":64.0,"type":"minecraft:clamp"},"type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:add"},"upper_bound":{"input":{"argument1":128.0,"argument2":{"argument1":-128.0,"argument2":{"argument1":{"argument1":0.2734375,"argument2":{"argument":{"argument":"minecraft:overworld/factor","type":"minecraft:cache_2d"},"type":"minecraft:invert"},"type":"minecraft:mul"},"argument2":{"argument1":-1.0,"argument2":{"argument":"minecraft:overworld/offset","type":"minecraft:cache_2d"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"min":-40.0,"max":320.0,"type":"minecraft:clamp"},"lower_bound":-64,"cell_height":8,"type":"minecraft:find_top_surface"},"final_density":{"argument1":{"argument":{"argument1":0.64,"argument2":{"argument":{"argument":{"argument1":0.1171875,"argument2":{"argument1":{"from_y":-64,"to_y":-40,"from_value":0.0,"to_value":1.0,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument1":-0.1171875,"argument2":{"argument1":-0.078125,"argument2":{"argument1":{"from_y":240,"to_y":256,"from_value":1.0,"to_value":0.0,"type":"minecraft:y_clamped_gradient"},"argument2":{"argument1":0.078125,"argument2":{"input":"minecraft:overworld/sloped_cheese","min_inclusive":-1000000.0,"max_exclusive":1.5625,"when_in_range":{"argument1":"minecraft:overworld/sloped_cheese","argument2":{"argument1":5.0,"argument2":"minecraft:overworld/caves/entrances","type":"minecraft:mul"},"type":"minecraft:min"},"when_out_of_range":{"argument1":{"argument1":{"argument1":{"argument1":{"argument1":4.0,"argument2":{"argument":{"noise":"minecraft:cave_layer","xz_scale":1.0,"y_scale":8.0,"type":"minecraft:noise"},"type":"minecraft:square"},"type":"minecraft:mul"},"argument2":{"argument1":{"input":{"argument1":0.27,"argument2":{"noise":"minecraft:cave_cheese","xz_scale":1.0,"y_scale":0.6666666666666666,"type":"minecraft:noise"},"type":"minecraft:add"},"min":-1.0,"max":1.0,"type":"minecraft:clamp"},"argument2":{"input":{"argument1":1.5,"argument2":{"argument1":-0.64,"argument2":"minecraft:overworld/sloped_cheese","type":"minecraft:mul"},"type":"minecraft:add"},"min":0.0,"max":0.5,"type":"minecraft:clamp"},"type":"minecraft:add"},"type":"minecraft:add"},"argument2":"minecraft:overworld/caves/entrances","type":"minecraft:min"},"argument2":{"argument1":"minecraft:overworld/caves/spaghetti_2d","argument2":"minecraft:overworld/caves/spaghetti_roughness_function","type":"minecraft:add"},"type":"minecraft:min"},"argument2":{"input":"minecraft:overworld/caves/pillars","min_inclusive":-1000000.0,"max_exclusive":0.03,"when_in_range":-1000000.0,"when_out_of_range":"minecraft:overworld/caves/pillars","type":"minecraft:range_choice"},"type":"minecraft:max"},"type":"minecraft:range_choice"},"type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:add"},"type":"minecraft:mul"},"type":"minecraft:add"},"type":"minecraft:blend_density"},"type":"minecraft:interpolated"},"type":"minecraft:mul"},"type":"minecraft:squeeze"},"argument2":"minecraft:overworld/caves/noodle","type":"minecraft:min"},"vein_toggle":{"argument":{"input":"minecraft:y","min_inclusive":-60.0,"max_exclusive":51.0,"when_in_range":{"noise":"minecraft:ore_veininess","xz_scale":1.5,"y_scale":1.5,"type":"minecraft:noise"},"when_out_of_range":0.0,"type":"minecraft:range_choice"},"type":"minecraft:interpolated"},"vein_ridged":{"argument1":-0.07999999821186066,"argument2":{"argument1":{"argument":{"argument":{"input":"minecraft:y","min_inclusive":-60.0,"max_exclusive":51.0,"when_in_range":{"noise":"minecraft:ore_vein_a","xz_scale":4.0,"y_scale":4.0,"type":"minecraft:noise"},"when_out_of_range":0.0,"type":"minecraft:range_choice"},"type":"minecraft:interpolated"},"type":"minecraft:abs"},"argument2":{"argument":{"argument":{"input":"minecraft:y","min_inclusive":-60.0,"max_exclusive":51.0,"when_in_range":{"noise":"minecraft:ore_vein_b","xz_scale":4.0,"y_scale":4.0,"type":"minecraft:noise"},"when_out_of_range":0.0,"type":"minecraft:range_choice"},"type":"minecraft:interpolated"},"type":"minecraft:abs"},"type":"minecraft:max"},"type":"minecraft:add"},"vein_gap":{"noise":"minecraft:ore_gap","xz_scale":1.0,"y_scale":1.0,"type":"minecraft:noise"}},"surface_rule":{"sequence":[{"if_true":{"random_name":"minecraft:bedrock_floor","true_at_and_below":{"above_bottom":0},"false_at_and_above":{"above_bottom":5},"type":"minecraft:vertical_gradient"},"then_run":{"result_state":{"Name":"minecraft:bedrock"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"type":"minecraft:above_preliminary_surface"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"biome_is":["minecraft:wooded_badlands"],"type":"minecraft:biome"},"then_run":{"if_true":{"anchor":{"absolute":97},"surface_depth_multiplier":2,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":-0.909,"max_threshold":-0.5454,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.1818,"max_threshold":0.1818,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":0.5454,"max_threshold":0.909,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:grass_block"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:swamp"],"type":"minecraft:biome"},"then_run":{"if_true":{"anchor":{"absolute":62},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"if_true":{"invert":{"anchor":{"absolute":63},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"type":"minecraft:not"},"then_run":{"if_true":{"noise":"minecraft:surface_swamp","min_threshold":0.0,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:water"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:mangrove_swamp"],"type":"minecraft:biome"},"then_run":{"if_true":{"anchor":{"absolute":60},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"if_true":{"invert":{"anchor":{"absolute":63},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"type":"minecraft:not"},"then_run":{"if_true":{"noise":"minecraft:surface_swamp","min_threshold":0.0,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:water"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:badlands","minecraft:eroded_badlands","minecraft:wooded_badlands"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"anchor":{"absolute":256},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"result_state":{"Name":"minecraft:orange_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"anchor":{"absolute":74},"surface_depth_multiplier":1,"add_stone_depth":true,"type":"minecraft:y_above"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":-0.909,"max_threshold":-0.5454,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.1818,"max_threshold":0.1818,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":0.5454,"max_threshold":0.909,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"type":"minecraft:bandlands"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":-1,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:red_sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:red_sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"invert":{"type":"minecraft:hole"},"type":"minecraft:not"},"then_run":{"result_state":{"Name":"minecraft:orange_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":-6,"surface_depth_multiplier":-1,"add_stone_depth":true,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:white_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"anchor":{"absolute":63},"surface_depth_multiplier":-1,"add_stone_depth":true,"type":"minecraft:y_above"},"then_run":{"sequence":[{"if_true":{"anchor":{"absolute":63},"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:y_above"},"then_run":{"if_true":{"invert":{"anchor":{"absolute":74},"surface_depth_multiplier":1,"add_stone_depth":true,"type":"minecraft:y_above"},"type":"minecraft:not"},"then_run":{"result_state":{"Name":"minecraft:orange_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"type":"minecraft:bandlands"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"if_true":{"offset":-6,"surface_depth_multiplier":-1,"add_stone_depth":true,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:white_terracotta"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"if_true":{"offset":-1,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"sequence":[{"if_true":{"biome_is":["minecraft:frozen_ocean","minecraft:deep_frozen_ocean"],"type":"minecraft:biome"},"then_run":{"if_true":{"type":"minecraft:hole"},"then_run":{"sequence":[{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:air"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"type":"minecraft:temperature"},"then_run":{"result_state":{"Name":"minecraft:ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:water"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"biome_is":["minecraft:frozen_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:packed_ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:packed_ice","min_threshold":0.0,"max_threshold":0.2,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:packed_ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:ice","min_threshold":0.0,"max_threshold":0.025,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:snowy_slopes"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:powder_snow","min_threshold":0.35,"max_threshold":0.6,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:powder_snow"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:jagged_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:grove"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:powder_snow","min_threshold":0.35,"max_threshold":0.6,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:powder_snow"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"biome_is":["minecraft:stony_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:calcite","min_threshold":-0.0125,"max_threshold":0.0125,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:calcite"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:stony_shore"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:gravel","min_threshold":-0.05,"max_threshold":0.05,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:windswept_hills"],"type":"minecraft:biome"},"then_run":{"if_true":{"noise":"minecraft:surface","min_threshold":0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warm_ocean","minecraft:beach","minecraft:snowy_beach"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:desert"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:dripstone_caves"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},{"if_true":{"biome_is":["minecraft:windswept_savanna"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":0.21212121212121213,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.06060606060606061,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:windswept_gravelly_hills"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":0.24242424242424243,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:grass_block"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:old_growth_pine_taiga","minecraft:old_growth_spruce_taiga"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":0.21212121212121213,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:coarse_dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.11515151515151514,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:podzol"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:ice_spikes"],"type":"minecraft:biome"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:mangrove_swamp"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:mud"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:mushroom_fields"],"type":"minecraft:biome"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:mycelium"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Properties":{"snowy":"false"},"Name":"minecraft:grass_block"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":-6,"surface_depth_multiplier":-1,"add_stone_depth":true,"type":"minecraft:water"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"if_true":{"biome_is":["minecraft:frozen_ocean","minecraft:deep_frozen_ocean"],"type":"minecraft:biome"},"then_run":{"if_true":{"type":"minecraft:hole"},"then_run":{"result_state":{"Properties":{"level":"0"},"Name":"minecraft:water"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"biome_is":["minecraft:frozen_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:packed_ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:packed_ice","min_threshold":-0.5,"max_threshold":0.2,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:packed_ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:ice","min_threshold":-0.0625,"max_threshold":0.025,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:ice"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:snowy_slopes"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"type":"minecraft:steep"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:powder_snow","min_threshold":0.45,"max_threshold":0.58,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:powder_snow"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:snow_block"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:jagged_peaks"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:grove"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:powder_snow","min_threshold":0.45,"max_threshold":0.58,"type":"minecraft:noise_threshold"},"then_run":{"if_true":{"offset":0,"surface_depth_multiplier":0,"add_stone_depth":false,"type":"minecraft:water"},"then_run":{"result_state":{"Name":"minecraft:powder_snow"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"biome_is":["minecraft:stony_peaks"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:calcite","min_threshold":-0.0125,"max_threshold":0.0125,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:calcite"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:stony_shore"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:gravel","min_threshold":-0.05,"max_threshold":0.05,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:windswept_hills"],"type":"minecraft:biome"},"then_run":{"if_true":{"noise":"minecraft:surface","min_threshold":0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warm_ocean","minecraft:beach","minecraft:snowy_beach"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:desert"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:dripstone_caves"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},{"if_true":{"biome_is":["minecraft:windswept_savanna"],"type":"minecraft:biome"},"then_run":{"if_true":{"noise":"minecraft:surface","min_threshold":0.21212121212121213,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:windswept_gravelly_hills"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"noise":"minecraft:surface","min_threshold":0.24242424242424243,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"noise":"minecraft:surface","min_threshold":-0.12121212121212122,"max_threshold":1.7976931348623157E308,"type":"minecraft:noise_threshold"},"then_run":{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:mangrove_swamp"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:mud"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:dirt"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warm_ocean","minecraft:beach","minecraft:snowy_beach"],"type":"minecraft:biome"},"then_run":{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":6,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:desert"],"type":"minecraft:biome"},"then_run":{"if_true":{"offset":0,"add_surface_depth":true,"secondary_depth_range":30,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"floor","type":"minecraft:stone_depth"},"then_run":{"sequence":[{"if_true":{"biome_is":["minecraft:frozen_peaks","minecraft:jagged_peaks"],"type":"minecraft:biome"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"if_true":{"biome_is":["minecraft:warm_ocean","minecraft:lukewarm_ocean","minecraft:deep_lukewarm_ocean"],"type":"minecraft:biome"},"then_run":{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:sandstone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:sand"},"type":"minecraft:block"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"sequence":[{"if_true":{"offset":0,"add_surface_depth":false,"secondary_depth_range":0,"surface_type":"ceiling","type":"minecraft:stone_depth"},"then_run":{"result_state":{"Name":"minecraft:stone"},"type":"minecraft:block"},"type":"minecraft:condition"},{"result_state":{"Name":"minecraft:gravel"},"type":"minecraft:block"}],"type":"minecraft:sequence"}],"type":"minecraft:sequence"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"type":"minecraft:condition"},{"if_true":{"random_name":"minecraft:deepslate","true_at_and_below":{"absolute":0},"false_at_and_above":{"absolute":8},"type":"minecraft:vertical_gradient"},"then_run":{"result_state":{"Properties":{"axis":"y"},"Name":"minecraft:deepslate"},"type":"minecraft:block"},"type":"minecraft:condition"}],"type":"minecraft:sequence"},"spawn_target":[{"temperature":[-1.0,1.0],"humidity":[-1.0,1.0],"continentalness":[-0.11,1.0],"erosion":[-1.0,1.0],"depth":0.0,"weirdness":[-1.0,-0.16],"offset":0.0},{"temperature":[-1.0,1.0],"humidity":[-1.0,1.0],"continentalness":[-0.11,1.0],"erosion":[-1.0,1.0],"depth":0.0,"weirdness":[0.16,1.0],"offset":0.0}],"sea_level":63,"disable_mob_generation":false,"aquifers_enabled":true,"ore_veins_enabled":true,"legacy_random_source":false}} \ No newline at end of file diff --git a/pumpkin-data/build/biome.rs b/pumpkin-data/build/biome.rs index 2b54c1076..8da8d1e8f 100644 --- a/pumpkin-data/build/biome.rs +++ b/pumpkin-data/build/biome.rs @@ -307,6 +307,18 @@ pub(crate) fn build() -> TokenStream { pub spawn_costs: phf::Map<&'static str, SpawnCosts>, } + impl PartialEq for Biome { + fn eq(&self, other: &u8) -> bool { + self.id == *other + } + } + + impl PartialEq for u8 { + fn eq(&self, other: &Biome) -> bool { + *self == other.id + } + } + #[derive(Debug)] pub struct SpawnGroups { pub monster: &'static [Spawner], diff --git a/pumpkin-data/build/block.rs b/pumpkin-data/build/block.rs index 86da5d580..4f662d2bf 100644 --- a/pumpkin-data/build/block.rs +++ b/pumpkin-data/build/block.rs @@ -966,9 +966,9 @@ pub(crate) fn build() -> TokenStream { #mod_ident::#contains_ident(state_id) } - pub fn blocks_movement(block_state: &BlockState, block: &Block) -> bool { + pub fn blocks_movement(block_state: &BlockState, block: u16) -> bool { if block_state.is_solid() { - return block != &Block::COBWEB && block != &Block::BAMBOO_SAPLING; + return block != Block::COBWEB && block != Block::BAMBOO_SAPLING; } false } @@ -982,7 +982,10 @@ pub(crate) fn build() -> TokenStream { #[doc = r" If you need access to the block use `BlockState::from_id_with_block` instead."] #[inline] pub fn from_id(id: u16) -> &'static Self { - Block::STATE_FROM_STATE_ID[id as usize] + // In debug, this avoids the slow range-checking logic + unsafe { + Block::STATE_FROM_STATE_ID.get_unchecked(id as usize) + } } #[doc = r" Get a block state from a state id and the corresponding block."] @@ -1039,23 +1042,26 @@ pub(crate) fn build() -> TokenStream { } } - #[doc = r" Get a raw ID from an State ID."] + #[doc = r" Get a raw ID from an State ID."] #[inline] - pub const fn get_raw_id_from_state_id(state_id: u16) -> u16 { - if state_id as usize >= Self::RAW_ID_FROM_STATE_ID.len() { + pub fn get_raw_id_from_state_id(state_id: u16) -> u16 { + let index = state_id as usize; + if index >= Self::RAW_ID_FROM_STATE_ID.len() { 0 } else { - Self::RAW_ID_FROM_STATE_ID[state_id as usize] + unsafe { *Self::RAW_ID_FROM_STATE_ID.get_unchecked(index) } } } #[doc = r" Get a block from a state id."] #[inline] - pub const fn from_state_id(id: u16) -> &'static Self { - if id as usize >= Self::RAW_ID_FROM_STATE_ID.len() { + pub fn from_state_id(id: u16) -> &'static Self { + let index = id as usize; + if index >= Self::RAW_ID_FROM_STATE_ID.len() { return &Self::AIR; } - Self::from_id(Self::RAW_ID_FROM_STATE_ID[id as usize]) + let raw_id = unsafe { *Self::RAW_ID_FROM_STATE_ID.get_unchecked(index) }; + Self::from_id(raw_id) } #[doc = r" Try to parse a block from an item id."] diff --git a/pumpkin-util/src/random/mod.rs b/pumpkin-util/src/random/mod.rs index 02165d86d..bad29f575 100644 --- a/pumpkin-util/src/random/mod.rs +++ b/pumpkin-util/src/random/mod.rs @@ -37,7 +37,6 @@ pub enum RandomGenerator { Legacy(LegacyRand), } -#[derive(Clone)] #[enum_dispatch(RandomDeriverImpl)] pub enum RandomDeriver { Xoroshiro(XoroshiroSplitter), diff --git a/pumpkin-world/src/block/state.rs b/pumpkin-world/src/block/state.rs index 603023f77..796e8ee87 100644 --- a/pumpkin-world/src/block/state.rs +++ b/pumpkin-world/src/block/state.rs @@ -17,13 +17,13 @@ impl RawBlockState { #[inline] #[must_use] - pub const fn to_block(&self) -> &'static Block { + pub fn to_block(&self) -> &'static Block { Block::from_state_id(self.0) } #[inline] #[must_use] - pub const fn to_block_id(&self) -> u16 { + pub fn to_block_id(&self) -> u16 { Block::get_raw_id_from_state_id(self.0) } } diff --git a/pumpkin-world/src/chunk/mod.rs b/pumpkin-world/src/chunk/mod.rs index 8b4d87f71..2c1fabf96 100644 --- a/pumpkin-world/src/chunk/mod.rs +++ b/pumpkin-world/src/chunk/mod.rs @@ -7,7 +7,6 @@ use pumpkin_data::block_properties::{blocks_movement, is_air}; use pumpkin_data::chunk::ChunkStatus; use pumpkin_data::fluid::Fluid; use pumpkin_data::tag::Block::MINECRAFT_LEAVES; -use pumpkin_data::tag::Taggable; use pumpkin_data::{Block, BlockState}; use pumpkin_nbt::compound::NbtCompound; use pumpkin_nbt::nbt_long_array; @@ -536,7 +535,7 @@ impl ChunkData { let pos = BlockPos::new(x as i32, y, z as i32); let state_id = self.section.get_block_absolute_y(x, y, z).unwrap(); let block_state = BlockState::from_id(state_id); - let block = Block::from_state_id(state_id); + let block = Block::get_raw_id_from_state_id(state_id); if !block_state.is_air() && !has_found[ChunkHeightmapType::WorldSurface as usize] { heightmaps.set(ChunkHeightmapType::WorldSurface, pos, self.section.min_y); @@ -544,8 +543,7 @@ impl ChunkData { } let is_motion_blocking = blocks_movement(block_state, block) - || Fluid::from_registry_key(block.registry_key()) - .is_some_and(|fluid| !fluid.states.is_empty()); + || Fluid::from_id(block).is_some_and(|fluid| !fluid.states.is_empty()); if !has_found[ChunkHeightmapType::MotionBlocking as usize] && is_motion_blocking { heightmaps.set(ChunkHeightmapType::MotionBlocking, pos, self.section.min_y); @@ -554,7 +552,7 @@ impl ChunkData { if !has_found[ChunkHeightmapType::MotionBlockingNoLeaves as usize] && is_motion_blocking - && !block.has_tag(&MINECRAFT_LEAVES) + && !MINECRAFT_LEAVES.1.contains(&block) { heightmaps.set( ChunkHeightmapType::MotionBlockingNoLeaves, diff --git a/pumpkin-world/src/chunk_system.rs b/pumpkin-world/src/chunk_system.rs index e114504ba..9faf69277 100644 --- a/pumpkin-world/src/chunk_system.rs +++ b/pumpkin-world/src/chunk_system.rs @@ -803,8 +803,8 @@ impl Chunk { for z in 0..4 { for x in 0..4 { - let biome = proto_chunk.get_biome(x as i32, absolute_biome_y, z as i32); - section.biomes.set(x, relative_y, z, biome.id); + let biome = proto_chunk.get_biome_id(x as i32, absolute_biome_y, z as i32); + section.biomes.set(x, relative_y, z, biome); } } } @@ -1131,7 +1131,7 @@ impl GenerationCache for Cache { ) .unwrap() } - Chunk::Proto(data) => data.get_biome_for_terrain_gen(x, y, z), + Chunk::Proto(data) => data.get_terrain_gen_biome(x, y, z), } } diff --git a/pumpkin-world/src/generation/block_predicate.rs b/pumpkin-world/src/generation/block_predicate.rs index 7a3c96c05..2e26898b5 100644 --- a/pumpkin-world/src/generation/block_predicate.rs +++ b/pumpkin-world/src/generation/block_predicate.rs @@ -1,9 +1,11 @@ use itertools::Itertools; use pumpkin_data::fluid::{Fluid, FluidState}; -use pumpkin_data::{Block, BlockDirection, BlockState, tag::Taggable}; +use pumpkin_data::tag::{RegistryKey, get_tag_ids}; +use pumpkin_data::{Block, BlockDirection, BlockState}; use pumpkin_util::math::{position::BlockPos, vector3::Vector3}; use serde::Deserialize; +use crate::block::RawBlockState; use crate::generation::proto_chunk::GenerationCache; use crate::{block::BlockStateCodec, world::BlockRegistryExt}; @@ -128,8 +130,10 @@ pub struct MatchingBlockTagPredicate { impl MatchingBlockTagPredicate { pub fn test(&self, chunk: &T, pos: &BlockPos) -> bool { - let block = self.offset.get_block(chunk, pos); - block.is_tagged_with(&self.tag).unwrap() + let block = self.offset.get_raw(chunk, pos); + get_tag_ids(RegistryKey::Block, &self.tag) + .unwrap() + .contains(&block.to_block_id()) } } @@ -267,6 +271,11 @@ impl OffsetBlocksBlockPredicate { } *pos } + pub fn get_raw(&self, chunk: &T, pos: &BlockPos) -> RawBlockState { + let pos = self.get(pos); + GenerationCache::get_block_state(chunk, &pos.0) + } + pub fn get_block(&self, chunk: &T, pos: &BlockPos) -> &'static Block { let pos = self.get(pos); GenerationCache::get_block_state(chunk, &pos.0).to_block() diff --git a/pumpkin-world/src/generation/block_state_provider.rs b/pumpkin-world/src/generation/block_state_provider.rs index 962554d71..c2001945a 100644 --- a/pumpkin-world/src/generation/block_state_provider.rs +++ b/pumpkin-world/src/generation/block_state_provider.rs @@ -1,4 +1,4 @@ -use pumpkin_data::{BlockState, chunk::DoublePerlinNoiseParameters}; +use pumpkin_data::BlockState; use pumpkin_util::{ DoublePerlinNoiseParametersCodec, math::{ @@ -85,10 +85,10 @@ pub struct DualNoiseBlockStateProvider { impl DualNoiseBlockStateProvider { pub fn get(&self, pos: BlockPos) -> &'static BlockState { - let noise = perlin_codec_to_static(self.slow_noise.clone()); let sampler = DoublePerlinNoiseSampler::new( &mut RandomGenerator::Legacy(LegacyRand::from_seed(self.base.base.seed as u64)), - &noise, + self.slow_noise.first_octave, + &self.slow_noise.amplitudes, false, ); let slow_noise = @@ -103,14 +103,10 @@ impl DualNoiseBlockStateProvider { let mut list = Vec::with_capacity(mapped as usize); for i in 0..mapped { let value = self.get_slow_noise(i as f64 * 54545.0, 0.0, i as f64 * 34234.0, &sampler); - list.push( - self.base - .get_state_by_value(&self.base.states, value) - .clone(), - ); + list.push(self.base.get_state_by_value(&self.base.states, value)); } let value = self.base.base.get_noise(pos); - self.base.get_state_by_value(&list, value).get_state() + self.base.get_state_by_value_2(&list, value).get_state() } fn get_slow_noise(&self, x: f64, y: f64, z: f64, sampler: &DoublePerlinNoiseSampler) -> f64 { @@ -151,17 +147,12 @@ pub struct NoiseBlockStateProviderBase { scale: f32, } -fn perlin_codec_to_static(noise: DoublePerlinNoiseParametersCodec) -> DoublePerlinNoiseParameters { - let amplitudes_static: &'static [f64] = noise.amplitudes.leak(); - DoublePerlinNoiseParameters::new(noise.first_octave, amplitudes_static, "none") -} - impl NoiseBlockStateProviderBase { pub fn get_noise(&self, pos: BlockPos) -> f64 { - let noise = perlin_codec_to_static(self.noise.clone()); let sampler = DoublePerlinNoiseSampler::new( &mut RandomGenerator::Legacy(LegacyRand::from_seed(self.seed as u64)), - &noise, + self.noise.first_octave, + &self.noise.amplitudes, false, ); sampler.sample( @@ -193,6 +184,15 @@ impl NoiseBlockStateProvider { let val = f64::midpoint(1.0, value).clamp(0.0, 0.9999); &states[(val * states.len() as f64) as usize] } + + fn get_state_by_value_2<'a>( + &self, + states: &'a [&BlockStateCodec], + value: f64, + ) -> &'a BlockStateCodec { + let val = f64::midpoint(1.0, value).clamp(0.0, 0.9999); + states[(val * states.len() as f64) as usize] + } } #[derive(Deserialize)] diff --git a/pumpkin-world/src/generation/feature/features/bamboo.rs b/pumpkin-world/src/generation/feature/features/bamboo.rs index d118e82c2..e05e6f53a 100644 --- a/pumpkin-world/src/generation/feature/features/bamboo.rs +++ b/pumpkin-world/src/generation/feature/features/bamboo.rs @@ -2,7 +2,6 @@ use pumpkin_data::{ Block, BlockState, block_properties::{BambooLeaves, BambooLikeProperties, BlockProperties, Integer0To1}, tag, - tag::Taggable, }; use pumpkin_util::{ math::position::BlockPos, @@ -42,7 +41,7 @@ impl BambooFeature { let block_below = BlockPos::new(x, chunk.top_block_height_exclusive(x, z) - 1, z); let block = GenerationCache::get_block_state(chunk, &block_below.0); - if !block.to_block().has_tag(&tag::Block::MINECRAFT_DIRT) { + if !tag::Block::MINECRAFT_DIRT.1.contains(&block.to_block_id()) { continue; } chunk.set_block_state(&block_below.0, Block::PODZOL.default_state); diff --git a/pumpkin-world/src/generation/feature/features/coral/mod.rs b/pumpkin-world/src/generation/feature/features/coral/mod.rs index 339ecaca0..7764b5ddc 100644 --- a/pumpkin-world/src/generation/feature/features/coral/mod.rs +++ b/pumpkin-world/src/generation/feature/features/coral/mod.rs @@ -2,8 +2,7 @@ use crate::generation::proto_chunk::GenerationCache; use pumpkin_data::{ Block, BlockDirection, BlockState, block_properties::{BlockProperties, EnumVariants, Integer1To4, SeaPickleLikeProperties}, - tag, - tag::{RegistryKey, Taggable, get_tag_values}, + tag::{self, RegistryKey, get_tag_ids}, }; use pumpkin_util::{ math::position::BlockPos, @@ -23,11 +22,11 @@ impl CoralFeature { state: &BlockState, pos: BlockPos, ) -> bool { - let block = GenerationCache::get_block_state(chunk, &pos.0).to_block(); - let above_block = GenerationCache::get_block_state(chunk, &pos.up().0).to_block(); + let block = GenerationCache::get_block_state(chunk, &pos.0).to_block_id(); + let above_block = GenerationCache::get_block_state(chunk, &pos.up().0).to_block_id(); - if block != &Block::WATER && !block.has_tag(&tag::Block::MINECRAFT_CORALS) - || above_block != &Block::WATER + if block != Block::WATER && !&tag::Block::MINECRAFT_CORALS.1.contains(&block) + || above_block != Block::WATER { return false; } @@ -48,7 +47,7 @@ impl CoralFeature { for dir in BlockDirection::horizontal() { let dir_pos = pos.offset(dir.to_offset()); if random.next_f32() >= 0.2 - || GenerationCache::get_block_state(chunk, &dir_pos.0).to_block() != &Block::WATER + || GenerationCache::get_block_state(chunk, &dir_pos.0).to_block_id() != Block::WATER { continue; } @@ -84,8 +83,8 @@ impl CoralFeature { } pub fn get_random_tag_entry_block(tag: &str, random: &mut RandomGenerator) -> &'static Block { - let values = get_tag_values(RegistryKey::Block, tag).unwrap(); + let values = get_tag_ids(RegistryKey::Block, tag).unwrap(); let value = values[random.next_bounded_i32(values.len() as i32) as usize]; - Block::from_name(value).unwrap() + Block::from_id(value) } } diff --git a/pumpkin-world/src/generation/feature/features/desert_well.rs b/pumpkin-world/src/generation/feature/features/desert_well.rs index 36b704406..ede3ec95b 100644 --- a/pumpkin-world/src/generation/feature/features/desert_well.rs +++ b/pumpkin-world/src/generation/feature/features/desert_well.rs @@ -29,9 +29,9 @@ impl DesertWellFeature { while chunk.is_air(&block_pos.0) && block_pos.0.y > chunk.bottom_y() as i32 + 2 { block_pos = block_pos.down(); } - let block = GenerationCache::get_block_state(chunk, &pos.0).to_block(); + let block = GenerationCache::get_block_state(chunk, &pos.0).to_block_id(); const CAN_GENERATE: Block = Block::SAND; - if CAN_GENERATE.id != block.id { + if CAN_GENERATE.id != block { return false; } diff --git a/pumpkin-world/src/generation/feature/features/drip_stone/mod.rs b/pumpkin-world/src/generation/feature/features/drip_stone/mod.rs index 92f94c605..b7f875a39 100644 --- a/pumpkin-world/src/generation/feature/features/drip_stone/mod.rs +++ b/pumpkin-world/src/generation/feature/features/drip_stone/mod.rs @@ -1,20 +1,25 @@ use crate::generation::proto_chunk::GenerationCache; +use pumpkin_data::Block; use pumpkin_data::tag; -use pumpkin_data::{Block, tag::Taggable}; use pumpkin_util::math::position::BlockPos; pub mod cluster; pub mod large; pub mod small; -pub(super) fn can_replace(block: &Block) -> bool { - block == &Block::DRIPSTONE_BLOCK - || block.has_tag(&tag::Block::MINECRAFT_DRIPSTONE_REPLACEABLE_BLOCKS) +pub(super) fn can_replace(block: u16) -> bool { + block == Block::DRIPSTONE_BLOCK + || tag::Block::MINECRAFT_DRIPSTONE_REPLACEABLE_BLOCKS + .1 + .contains(&block) } pub(super) fn gen_dripstone(chunk: &mut T, pos: BlockPos) -> bool { - let block = GenerationCache::get_block_state(chunk, &pos.0).to_block(); - if block.has_tag(&tag::Block::MINECRAFT_DRIPSTONE_REPLACEABLE_BLOCKS) { + let block = GenerationCache::get_block_state(chunk, &pos.0).to_block_id(); + if tag::Block::MINECRAFT_DRIPSTONE_REPLACEABLE_BLOCKS + .1 + .contains(&block) + { chunk.set_block_state(&pos.0, Block::DRIPSTONE_BLOCK.default_state); return true; } diff --git a/pumpkin-world/src/generation/feature/features/drip_stone/small.rs b/pumpkin-world/src/generation/feature/features/drip_stone/small.rs index c9bdfb51c..2e8dbbaa6 100644 --- a/pumpkin-world/src/generation/feature/features/drip_stone/small.rs +++ b/pumpkin-world/src/generation/feature/features/drip_stone/small.rs @@ -36,9 +36,10 @@ impl SmallDripstoneFeature { random: &mut RandomGenerator, ) -> Option { let up = - super::can_replace(GenerationCache::get_block_state(chunk, &pos.up().0).to_block()); - let down: bool = - super::can_replace(GenerationCache::get_block_state(chunk, &pos.down().0).to_block()); + super::can_replace(GenerationCache::get_block_state(chunk, &pos.up().0).to_block_id()); + let down: bool = super::can_replace( + GenerationCache::get_block_state(chunk, &pos.down().0).to_block_id(), + ); if up && down { return if random.next_bool() { Some(BlockDirection::Down) diff --git a/pumpkin-world/src/generation/feature/features/nether_forest_vegetation.rs b/pumpkin-world/src/generation/feature/features/nether_forest_vegetation.rs index b633dd3a6..da1152934 100644 --- a/pumpkin-world/src/generation/feature/features/nether_forest_vegetation.rs +++ b/pumpkin-world/src/generation/feature/features/nether_forest_vegetation.rs @@ -1,4 +1,4 @@ -use pumpkin_data::{Block, tag, tag::Taggable}; +use pumpkin_data::{Block, tag}; use pumpkin_util::{ math::position::BlockPos, random::{RandomGenerator, RandomImpl}, @@ -29,7 +29,10 @@ impl NetherForestVegetationFeature { ) -> bool { let state = GenerationCache::get_block_state(chunk, &pos.down().0); - if !state.to_block().has_tag(&tag::Block::MINECRAFT_NYLIUM) { + if !tag::Block::MINECRAFT_NYLIUM + .1 + .contains(&state.to_block_id()) + { return false; } let mut result = false; diff --git a/pumpkin-world/src/generation/feature/features/netherrack_replace_blobs.rs b/pumpkin-world/src/generation/feature/features/netherrack_replace_blobs.rs index 459a1cd80..fb0b783ff 100644 --- a/pumpkin-world/src/generation/feature/features/netherrack_replace_blobs.rs +++ b/pumpkin-world/src/generation/feature/features/netherrack_replace_blobs.rs @@ -44,7 +44,7 @@ impl ReplaceBlobsFeature { break; } let current_state = GenerationCache::get_block_state(chunk, &iter_pos.0); - if current_state.to_block() != target { + if current_state.to_block_id() != target.id { continue; } chunk.set_block_state(&iter_pos.0, state); @@ -61,7 +61,7 @@ impl ReplaceBlobsFeature { ) -> Option { while pos.0.y > chunk.bottom_y() as i32 + 1 { let state = GenerationCache::get_block_state(chunk, &pos.0); - if state.to_block() == target { + if state.to_block_id() == target.id { return Some(pos); } diff --git a/pumpkin-world/src/generation/feature/features/ore.rs b/pumpkin-world/src/generation/feature/features/ore.rs index 47fd83aa2..029e5db35 100644 --- a/pumpkin-world/src/generation/feature/features/ore.rs +++ b/pumpkin-world/src/generation/feature/features/ore.rs @@ -1,14 +1,14 @@ use core::f32; -use pumpkin_data::{BlockDirection, BlockState}; +use pumpkin_data::BlockDirection; use pumpkin_util::{ math::{lerp, position::BlockPos, vector3::Vector3}, random::{RandomGenerator, RandomImpl}, }; use serde::Deserialize; -use crate::generation::proto_chunk::GenerationCache; use crate::{block::BlockStateCodec, generation::rule::RuleTest, world::BlockRegistryExt}; +use crate::{block::RawBlockState, generation::proto_chunk::GenerationCache}; #[derive(Deserialize)] pub struct OreFeature { @@ -187,13 +187,7 @@ impl OreFeature { let block_state = GenerationCache::get_block_state(chunk, &pos_vec); for target in &self.targets { - if self.should_place( - chunk, - block_state.to_state(), - random, - target, - &mutable_pos, - ) { + if self.should_place(chunk, block_state, random, target, &mutable_pos) { chunk.set_block_state(&pos_vec, target.state.get_state()); placed_blocks_count += 1; break; // Equivalent to 'continue block11;' @@ -209,12 +203,12 @@ impl OreFeature { fn should_place( &self, chunk: &T, - state: &'static BlockState, + state: RawBlockState, random: &mut RandomGenerator, target: &OreTarget, pos: &BlockPos, ) -> bool { - if !target.target.test(state, random) { + if !target.target.test(&state, random) { return false; } if Self::should_not_discard(random, self.discard_chance_on_air_exposure) { diff --git a/pumpkin-world/src/generation/feature/features/sea_pickle.rs b/pumpkin-world/src/generation/feature/features/sea_pickle.rs index 15f2db098..a348a3d68 100644 --- a/pumpkin-world/src/generation/feature/features/sea_pickle.rs +++ b/pumpkin-world/src/generation/feature/features/sea_pickle.rs @@ -30,7 +30,7 @@ impl SeaPickleFeature { let x = random.next_bounded_i32(8) - random.next_bounded_i32(8); let z = random.next_bounded_i32(8) - random.next_bounded_i32(8); let y = chunk.ocean_floor_height_exclusive(pos.0.x + x, pos.0.z + z); - if GenerationCache::get_block_state(chunk, &pos.0).to_block() != &Block::WATER { + if GenerationCache::get_block_state(chunk, &pos.0).to_block_id() != Block::WATER { continue; } let mut props = SeaPickleLikeProperties::default(&Block::SEA_PICKLE); diff --git a/pumpkin-world/src/generation/feature/features/seagrass.rs b/pumpkin-world/src/generation/feature/features/seagrass.rs index d13c094cc..a1a6a27e5 100644 --- a/pumpkin-world/src/generation/feature/features/seagrass.rs +++ b/pumpkin-world/src/generation/feature/features/seagrass.rs @@ -28,11 +28,12 @@ impl SeagrassFeature { let z = random.next_bounded_i32(8) - random.next_bounded_i32(8); let y = chunk.ocean_floor_height_exclusive(pos.0.x + x, pos.0.z + z); let top_pos = BlockPos::new(pos.0.x + x, y, pos.0.z + z); - if GenerationCache::get_block_state(chunk, &top_pos.0).to_block() == &Block::WATER { + if GenerationCache::get_block_state(chunk, &top_pos.0).to_block_id() == Block::WATER { let tall = random.next_f64() < self.probability as f64; if tall { let tall_pos = top_pos.up(); - if GenerationCache::get_block_state(chunk, &tall_pos.0).to_block() == &Block::WATER + if GenerationCache::get_block_state(chunk, &tall_pos.0).to_block_id() + == Block::WATER { let mut props = TallSeagrassLikeProperties::default(&Block::TALL_SEAGRASS); props.half = DoubleBlockHalf::Upper; diff --git a/pumpkin-world/src/generation/feature/features/spring_feature.rs b/pumpkin-world/src/generation/feature/features/spring_feature.rs index bc7ffd6be..af6155e7f 100644 --- a/pumpkin-world/src/generation/feature/features/spring_feature.rs +++ b/pumpkin-world/src/generation/feature/features/spring_feature.rs @@ -25,7 +25,7 @@ impl BlockWrapper { fn contains(&self, name: &str) -> bool { match self { Self::Single(s) => s == name, - Self::Multi(h) => h.contains(&name.to_string()), + Self::Multi(h) => h.iter().any(|s| s == name), } } } diff --git a/pumpkin-world/src/generation/feature/features/tree/decorator/place_on_ground.rs b/pumpkin-world/src/generation/feature/features/tree/decorator/place_on_ground.rs index 760646a51..38dfdb023 100644 --- a/pumpkin-world/src/generation/feature/features/tree/decorator/place_on_ground.rs +++ b/pumpkin-world/src/generation/feature/features/tree/decorator/place_on_ground.rs @@ -1,10 +1,7 @@ use super::TreeDecorator; use crate::generation::block_state_provider::BlockStateProvider; use crate::generation::proto_chunk::GenerationCache; -use pumpkin_data::{ - Block, - tag::{Block::MINECRAFT_LEAVES, Taggable}, -}; +use pumpkin_data::{Block, tag::Block::MINECRAFT_LEAVES}; use pumpkin_util::{ math::{block_box::BlockBox, position::BlockPos}, random::{RandomGenerator, RandomImpl}, @@ -72,9 +69,9 @@ impl PlaceOnGroundTreeDecorator { let up_pos = pos.up(); let up_state = GenerationCache::get_block_state(chunk, &up_pos.0); // TODO - if (up_state.to_state().is_air() || up_state.to_block() == &Block::VINE) + if (up_state.to_state().is_air() || up_state.to_block_id() == Block::VINE) && state.to_state().is_full_cube() - && !state.to_block().has_tag(&MINECRAFT_LEAVES) + && !MINECRAFT_LEAVES.1.contains(&state.to_block_id()) // TODO: using heightmap seems not to work { chunk.set_block_state(&up_pos.0, self.block_state_provider.get(random, up_pos)); diff --git a/pumpkin-world/src/generation/feature/features/tree/foliage/mod.rs b/pumpkin-world/src/generation/feature/features/tree/foliage/mod.rs index a6750487e..a698a876d 100644 --- a/pumpkin-world/src/generation/feature/features/tree/foliage/mod.rs +++ b/pumpkin-world/src/generation/feature/features/tree/foliage/mod.rs @@ -132,7 +132,7 @@ impl FoliagePlacer { block_state: &BlockState, ) { let block = GenerationCache::get_block_state(chunk, &pos.0); - if !TreeFeature::can_replace(block.to_state(), block.to_block()) { + if !TreeFeature::can_replace(block.to_state(), block.to_block_id()) { return; } chunk.set_block_state(&pos.0, block_state); diff --git a/pumpkin-world/src/generation/feature/features/tree/mod.rs b/pumpkin-world/src/generation/feature/features/tree/mod.rs index c98e34c22..6d2f0fae4 100644 --- a/pumpkin-world/src/generation/feature/features/tree/mod.rs +++ b/pumpkin-world/src/generation/feature/features/tree/mod.rs @@ -1,7 +1,7 @@ use decorator::TreeDecorator; use foliage::FoliagePlacer; use pumpkin_data::tag; -use pumpkin_data::{Block, BlockState, tag::Taggable}; +use pumpkin_data::{Block, BlockState}; use pumpkin_util::{math::position::BlockPos, random::RandomGenerator}; use serde::Deserialize; use trunk::TrunkPlacer; @@ -51,16 +51,19 @@ impl TreeFeature { true } - pub fn can_replace_or_log(state: &BlockState, block: &Block) -> bool { - Self::can_replace(state, block) || block.has_tag(&tag::Block::MINECRAFT_LOGS) + pub fn can_replace_or_log(state: &BlockState, block: u16) -> bool { + Self::can_replace(state, block) || tag::Block::MINECRAFT_LOGS.1.contains(&block) } - pub fn is_air_or_leaves(state: &BlockState, block: &Block) -> bool { - state.is_air() || block.has_tag(&tag::Block::MINECRAFT_LEAVES) + pub fn is_air_or_leaves(state: &BlockState, block: u16) -> bool { + state.is_air() || tag::Block::MINECRAFT_LEAVES.1.contains(&block) } - pub fn can_replace(state: &BlockState, block: &Block) -> bool { - state.is_air() || block.has_tag(&tag::Block::MINECRAFT_REPLACEABLE_BY_TREES) + pub fn can_replace(state: &BlockState, block: u16) -> bool { + state.is_air() + || tag::Block::MINECRAFT_REPLACEABLE_BY_TREES + .1 + .contains(&block) } fn generate_main( @@ -119,9 +122,9 @@ impl TreeFeature { for z in -j..=j { let pos = BlockPos(init_pos.0.add_raw(x, y as i32, z)); let rstate = GenerationCache::get_block_state(chunk, &pos.0); - let block = rstate.to_block(); + let block = rstate.to_block_id(); if Self::can_replace_or_log(rstate.to_state(), block) - && (self.ignore_vines || block != &Block::VINE) + && (self.ignore_vines || block != Block::VINE) { continue; } diff --git a/pumpkin-world/src/generation/feature/features/tree/trunk/dark_oak.rs b/pumpkin-world/src/generation/feature/features/tree/trunk/dark_oak.rs index 3d8c38ddf..bb81b81e2 100644 --- a/pumpkin-world/src/generation/feature/features/tree/trunk/dark_oak.rs +++ b/pumpkin-world/src/generation/feature/features/tree/trunk/dark_oak.rs @@ -68,7 +68,7 @@ impl DarkOakTrunkPlacer { let pos = BlockPos::new(x, current_y, z); // TODO: support multiple chunks let state = GenerationCache::get_block_state(chunk, &pos.0); - if !TreeFeature::is_air_or_leaves(state.to_state(), state.to_block()) { + if !TreeFeature::is_air_or_leaves(state.to_state(), state.to_block_id()) { continue; } if placer.try_place(chunk, &pos, trunk_block) { diff --git a/pumpkin-world/src/generation/feature/features/tree/trunk/fancy.rs b/pumpkin-world/src/generation/feature/features/tree/trunk/fancy.rs index 36fce2207..b71783c02 100644 --- a/pumpkin-world/src/generation/feature/features/tree/trunk/fancy.rs +++ b/pumpkin-world/src/generation/feature/features/tree/trunk/fancy.rs @@ -145,7 +145,7 @@ impl FancyTrunkPlacer { if make { let axis = Self::get_log_axis(start_pos, block_pos_2.0); - if TreeFeature::can_replace(block.to_state(), block.to_block()) { + if TreeFeature::can_replace(block.to_state(), block.to_block_id()) { let block = Block::from_state_id(trunk_provider.id); let original_props = &block.properties(trunk_provider.id).unwrap().to_props(); let axis = axis.to_value(); @@ -167,7 +167,7 @@ impl FancyTrunkPlacer { } } - if TreeFeature::can_replace_or_log(block.to_state(), block.to_block()) { + if TreeFeature::can_replace_or_log(block.to_state(), block.to_block_id()) { continue; } return (false, logs); diff --git a/pumpkin-world/src/generation/feature/features/tree/trunk/mod.rs b/pumpkin-world/src/generation/feature/features/tree/trunk/mod.rs index 8ce3ee867..e1a70f2b4 100644 --- a/pumpkin-world/src/generation/feature/features/tree/trunk/mod.rs +++ b/pumpkin-world/src/generation/feature/features/tree/trunk/mod.rs @@ -1,6 +1,6 @@ use fancy::FancyTrunkPlacer; use pumpkin_data::tag; -use pumpkin_data::{Block, BlockState, tag::Taggable}; +use pumpkin_data::{Block, BlockState}; use pumpkin_util::{ math::position::BlockPos, random::{RandomGenerator, RandomImpl}, @@ -49,11 +49,11 @@ impl TrunkPlacer { force_dirt: bool, dirt_state: &BlockState, ) { - let block = GenerationCache::get_block_state(chunk, &pos.0).to_block(); + let block = GenerationCache::get_block_state(chunk, &pos.0).to_block_id(); if force_dirt - || !(block.has_tag(&tag::Block::MINECRAFT_DIRT) - && block != &Block::GRASS_BLOCK - && block != &Block::MYCELIUM) + || !(tag::Block::MINECRAFT_DIRT.1.contains(&block) + && block != Block::GRASS_BLOCK + && block != Block::MYCELIUM) { chunk.set_block_state(&pos.0, dirt_state); } @@ -66,7 +66,7 @@ impl TrunkPlacer { trunk_block: &BlockState, ) -> bool { let block = GenerationCache::get_block_state(chunk, &pos.0); - if TreeFeature::can_replace(block.to_state(), block.to_block()) { + if TreeFeature::can_replace(block.to_state(), block.to_block_id()) { chunk.set_block_state(&pos.0, trunk_block); return true; } @@ -80,7 +80,7 @@ impl TrunkPlacer { trunk_block: &BlockState, ) -> bool { let block = GenerationCache::get_block_state(chunk, &pos.0); - if TreeFeature::can_replace_or_log(block.to_state(), block.to_block()) { + if TreeFeature::can_replace_or_log(block.to_state(), block.to_block_id()) { return self.place(chunk, pos, trunk_block); } false diff --git a/pumpkin-world/src/generation/feature/placed_features.rs b/pumpkin-world/src/generation/feature/placed_features.rs index 92fffb4e6..1442ed5b5 100644 --- a/pumpkin-world/src/generation/feature/placed_features.rs +++ b/pumpkin-world/src/generation/feature/placed_features.rs @@ -343,7 +343,7 @@ impl CountOnEveryLayerPlacementModifier { if !Self::blocks_spawn(&next_block_state) && Self::blocks_spawn(¤t_block_state) - && next_block_state.to_block() != &Block::BEDROCK + && next_block_state.to_block_id() != Block::BEDROCK { if found_count == target_y { return mutable_pos.0.y + 1; @@ -477,7 +477,6 @@ impl ConditionalPlacementModifier for BiomePlacementModifier { _random: &mut RandomGenerator, pos: BlockPos, ) -> bool { - // we check if the current feature can be applied to the biome at the pos let name = format!("minecraft:{this_feature}"); let biome = chunk.get_biome_for_terrain_gen(pos.0.x, pos.0.y, pos.0.z); diff --git a/pumpkin-world/src/generation/noise/mod.rs b/pumpkin-world/src/generation/noise/mod.rs index 046a838a1..9941ee480 100644 --- a/pumpkin-world/src/generation/noise/mod.rs +++ b/pumpkin-world/src/generation/noise/mod.rs @@ -46,13 +46,14 @@ impl BlockStateSampler { pub fn sample( &mut self, router: &mut ChunkNoiseRouter, + random_config: &GlobalRandomConfig, pos: &impl NoisePos, sample_options: &ChunkNoiseFunctionSampleOptions, height_estimator: &mut SurfaceHeightEstimateSampler, ) -> Option<&'static BlockState> { match self { Self::Aquifer(aquifer) => aquifer.apply(router, pos, sample_options, height_estimator), - Self::Ore(ore) => ore.sample(router, pos, sample_options), + Self::Ore(ore) => ore.sample(router, random_config, pos, sample_options), } } } @@ -70,12 +71,15 @@ impl ChainedBlockStateSampler { fn sample( &mut self, router: &mut ChunkNoiseRouter, + random_config: &GlobalRandomConfig, pos: &impl NoisePos, sample_options: &ChunkNoiseFunctionSampleOptions, height_estimator: &mut SurfaceHeightEstimateSampler, ) -> Option<&'static BlockState> { for sampler in &mut self.samplers { - if let Some(state) = sampler.sample(router, pos, sample_options, height_estimator) { + if let Some(state) = + sampler.sample(router, random_config, pos, sample_options, height_estimator) + { return Some(state); } } @@ -225,10 +229,9 @@ impl<'a> ChunkNoiseGenerator<'a> { }; let samplers: Box<[BlockStateSampler]> = if ore_veins { - let ore_sampler = OreVeinSampler::new(random_config.ore_random_deriver.clone()); Box::new([ BlockStateSampler::Aquifer(aquifer_sampler), - BlockStateSampler::Ore(ore_sampler), + BlockStateSampler::Ore(OreVeinSampler), ]) } else { Box::new([BlockStateSampler::Aquifer(aquifer_sampler)]) @@ -369,6 +372,7 @@ impl<'a> ChunkNoiseGenerator<'a> { #[expect(clippy::too_many_arguments)] pub fn sample_block_state( &mut self, + random_config: &GlobalRandomConfig, start_x: i32, start_y: i32, start_z: i32, @@ -394,8 +398,13 @@ impl<'a> ChunkNoiseGenerator<'a> { 0, ); - self.state_sampler - .sample(&mut self.router, &pos, &options, height_estimator) + self.state_sampler.sample( + &mut self.router, + random_config, + &pos, + &options, + height_estimator, + ) } #[inline] diff --git a/pumpkin-world/src/generation/noise/ore_sampler.rs b/pumpkin-world/src/generation/noise/ore_sampler.rs index d1e112da3..18ad6dbac 100644 --- a/pumpkin-world/src/generation/noise/ore_sampler.rs +++ b/pumpkin-world/src/generation/noise/ore_sampler.rs @@ -1,27 +1,24 @@ use pumpkin_data::{Block, BlockState}; use pumpkin_util::{ math::clamped_map, - random::{RandomDeriver, RandomDeriverImpl, RandomImpl}, + random::{RandomDeriverImpl, RandomImpl}, }; -use crate::generation::noise::router::{ - chunk_density_function::ChunkNoiseFunctionSampleOptions, chunk_noise_router::ChunkNoiseRouter, - density_function::NoisePos, +use crate::{ + GlobalRandomConfig, + generation::noise::router::{ + chunk_density_function::ChunkNoiseFunctionSampleOptions, + chunk_noise_router::ChunkNoiseRouter, density_function::NoisePos, + }, }; -pub struct OreVeinSampler { - random_deriver: RandomDeriver, -} +pub struct OreVeinSampler; impl OreVeinSampler { - #[must_use] - pub const fn new(random_deriver: RandomDeriver) -> Self { - Self { random_deriver } - } - pub fn sample( &self, router: &mut ChunkNoiseRouter, + random_config: &GlobalRandomConfig, pos: &impl NoisePos, sample_options: &ChunkNoiseFunctionSampleOptions, ) -> Option<&'static BlockState> { @@ -40,7 +37,10 @@ impl OreVeinSampler { let mapped_diff = clamped_map(closest_to_bound as f64, 0f64, 20f64, -0.2f64, 0f64); let abs_sample = vein_toggle.abs(); if abs_sample + mapped_diff >= 0.4f32 as f64 { - let mut random = self.random_deriver.split_pos(pos.x(), block_y, pos.z()); + let mut random = + random_config + .ore_random_deriver + .split_pos(pos.x(), block_y, pos.z()); let vein_ridged_sample = router.vein_ridged(pos, sample_options); if random.next_f32() <= 0.7f32 && vein_ridged_sample < 0f64 { diff --git a/pumpkin-world/src/generation/noise/perlin.rs b/pumpkin-world/src/generation/noise/perlin.rs index 8e8c3d2d2..22dbed3cb 100644 --- a/pumpkin-world/src/generation/noise/perlin.rs +++ b/pumpkin-world/src/generation/noise/perlin.rs @@ -18,14 +18,20 @@ impl DoublePerlinNoiseSampler { self.max_value } - pub fn new( + pub fn from_params( rand: &mut RandomGenerator, parameters: &DoublePerlinNoiseParameters, legacy: bool, ) -> Self { - let first_octave = parameters.first_octave; - let amplitudes = parameters.amplitudes; + Self::new(rand, parameters.first_octave, parameters.amplitudes, legacy) + } + pub fn new( + rand: &mut RandomGenerator, + first_octave: i32, + amplitudes: &[f64], + legacy: bool, + ) -> Self { let first_sampler = OctavePerlinNoiseSampler::new(rand, first_octave, amplitudes, legacy); let second_sampler = OctavePerlinNoiseSampler::new(rand, first_octave, amplitudes, legacy); @@ -75,7 +81,7 @@ mod double_perlin_noise_sampler_test { let mut rand_gen = RandomGenerator::Legacy(rand); let params = DoublePerlinNoiseParameters::new(0, &[4f64], ""); - let sampler = DoublePerlinNoiseSampler::new(&mut rand_gen, ¶ms, true); + let sampler = DoublePerlinNoiseSampler::from_params(&mut rand_gen, ¶ms, true); let values = [ ( @@ -174,7 +180,7 @@ mod double_perlin_noise_sampler_test { let params = DoublePerlinNoiseParameters::new(1, &[2f64, 4f64], ""); - let sampler = DoublePerlinNoiseSampler::new(&mut rand_gen, ¶ms, false); + let sampler = DoublePerlinNoiseSampler::from_params(&mut rand_gen, ¶ms, false); let values = [ ( diff --git a/pumpkin-world/src/generation/noise/router/proto_noise_router.rs b/pumpkin-world/src/generation/noise/router/proto_noise_router.rs index 689a62e6d..2ec4e0300 100644 --- a/pumpkin-world/src/generation/noise/router/proto_noise_router.rs +++ b/pumpkin-world/src/generation/noise/router/proto_noise_router.rs @@ -79,7 +79,7 @@ impl<'a> DoublePerlinNoiseBuilder<'a> { .random_config .base_random_deriver .split_string(parameters.id()); - DoublePerlinNoiseSampler::new(&mut random, parameters, false) + DoublePerlinNoiseSampler::from_params(&mut random, parameters, false) } } diff --git a/pumpkin-world/src/generation/proto_chunk.rs b/pumpkin-world/src/generation/proto_chunk.rs index 744cb84e6..0d3ebb9f9 100644 --- a/pumpkin-world/src/generation/proto_chunk.rs +++ b/pumpkin-world/src/generation/proto_chunk.rs @@ -5,9 +5,7 @@ use pumpkin_data::block_properties::is_air; use pumpkin_data::dimension::Dimension; use pumpkin_data::fluid::{Fluid, FluidState}; use pumpkin_data::tag; -use pumpkin_data::{ - Block, BlockState, block_properties::blocks_movement, chunk::Biome, tag::Taggable, -}; +use pumpkin_data::{Block, BlockState, block_properties::blocks_movement, chunk::Biome}; use pumpkin_util::random::{RandomImpl, get_carver_seed}; use pumpkin_util::{ HeightMap, @@ -474,7 +472,7 @@ impl ProtoChunk { } if !block_state.is_air() { self.maybe_update_surface_height_map(local_x, y, local_z); - let block = Block::from_state_id(block_state.id); + let block = Block::get_raw_id_from_state_id(block_state.id); let blocks_movement = blocks_movement(block_state, block); if blocks_movement { @@ -482,7 +480,7 @@ impl ProtoChunk { } if blocks_movement || block_state.is_liquid() { self.maybe_update_motion_blocking_height_map(local_x, y, local_z); - if !block.has_tag(&tag::Block::MINECRAFT_LEAVES) { + if !tag::Block::MINECRAFT_LEAVES.1.contains(&block) { { self.maybe_update_motion_blocking_no_leaves_height_map(local_x, y, local_z); } @@ -572,7 +570,11 @@ impl ProtoChunk { &noise_router.surface_estimator, &surface_config, ); - self.populate_noise(&mut noise_sampler, &mut surface_height_estimate_sampler); + self.populate_noise( + &mut noise_sampler, + random_config, + &mut surface_height_estimate_sampler, + ); self.stage = StagedChunkEnum::Noise; } @@ -673,6 +675,7 @@ impl ProtoChunk { pub fn populate_noise( &mut self, noise_sampler: &mut ChunkNoiseGenerator, + random_config: &GlobalRandomConfig, surface_height_estimate_sampler: &mut SurfaceHeightEstimateSampler, ) { let h_count = noise_sampler.horizontal_cell_block_count() as i32; @@ -724,6 +727,7 @@ impl ProtoChunk { let block_state = noise_sampler .sample_block_state( + random_config, sample_start_x, sample_start_y, sample_start_z, @@ -744,7 +748,7 @@ impl ProtoChunk { } #[must_use] - pub fn get_biome_for_terrain_gen(&self, x: i32, y: i32, z: i32) -> &'static Biome { + pub fn get_terrain_gen_biome_id(&self, x: i32, y: i32, z: i32) -> u8 { // TODO: See if we can cache this value let seed_biome_pos = biome::get_biome_blend( self.bottom_y(), @@ -755,7 +759,11 @@ impl ProtoChunk { z, ); - self.get_biome(seed_biome_pos.x, seed_biome_pos.y, seed_biome_pos.z) + self.get_biome_id(seed_biome_pos.x, seed_biome_pos.y, seed_biome_pos.z) + } + #[must_use] + pub fn get_terrain_gen_biome(&self, x: i32, y: i32, z: i32) -> &'static Biome { + Biome::from_id(self.get_terrain_gen_biome_id(x, y, z)).unwrap() } /// Constructs the terrain surface, although "surface" is a misnomer as it also places underground blocks like bedrock and deepslate. @@ -798,8 +806,8 @@ impl ProtoChunk { top_block }; - let this_biome = self.get_biome_for_terrain_gen(x, biome_y, z); - if this_biome == &Biome::ERODED_BADLANDS { + let this_biome = self.get_terrain_gen_biome_id(x, biome_y, z); + if this_biome == Biome::ERODED_BADLANDS { terrain_cache .terrain_builder .place_badlands_pillar(self, x, z, top_block); @@ -857,7 +865,7 @@ impl ProtoChunk { // panic!("Blending with biome {:?} at: {:?}", biome, biome_pos); if state.id == self.default_block.id { - context.biome = self.get_biome_for_terrain_gen( + context.biome = self.get_terrain_gen_biome( context.block_pos_x, context.block_pos_y, context.block_pos_z, @@ -873,13 +881,13 @@ impl ProtoChunk { } } } - if this_biome == &Biome::FROZEN_OCEAN || this_biome == &Biome::DEEP_FROZEN_OCEAN { + if this_biome == Biome::FROZEN_OCEAN || this_biome == Biome::DEEP_FROZEN_OCEAN { let surface_estimate = estimate_surface_height(&mut context, surface_height_estimate_sampler); terrain_cache.terrain_builder.place_iceberg( self, - this_biome, + Biome::from_id(this_biome).unwrap(), x, z, surface_estimate, diff --git a/pumpkin-world/src/generation/rule/block_match.rs b/pumpkin-world/src/generation/rule/block_match.rs index 3b2a23527..a06bfabb2 100644 --- a/pumpkin-world/src/generation/rule/block_match.rs +++ b/pumpkin-world/src/generation/rule/block_match.rs @@ -1,6 +1,7 @@ -use pumpkin_data::{Block, BlockState}; use serde::Deserialize; +use crate::block::RawBlockState; + #[derive(Deserialize)] pub struct BlockMatchRuleTest { // This should be a Block codec, so this is wrong @@ -8,8 +9,7 @@ pub struct BlockMatchRuleTest { } impl BlockMatchRuleTest { - pub fn test(&self, state: &BlockState) -> bool { - Block::from_state_id(state.id).name - == self.block.strip_prefix("minecraft:").unwrap_or(&self.block) + pub fn test(&self, state: &RawBlockState) -> bool { + state.to_block().name == self.block.strip_prefix("minecraft:").unwrap_or(&self.block) } } diff --git a/pumpkin-world/src/generation/rule/block_state_match.rs b/pumpkin-world/src/generation/rule/block_state_match.rs index 5d36ad5ab..ea8895c16 100644 --- a/pumpkin-world/src/generation/rule/block_state_match.rs +++ b/pumpkin-world/src/generation/rule/block_state_match.rs @@ -1,7 +1,6 @@ -use pumpkin_data::BlockState; use serde::Deserialize; -use crate::block::BlockStateCodec; +use crate::block::{BlockStateCodec, RawBlockState}; #[derive(Deserialize)] pub struct BlockStateMatchRuleTest { @@ -9,7 +8,7 @@ pub struct BlockStateMatchRuleTest { } impl BlockStateMatchRuleTest { - pub fn test(&self, state: &BlockState) -> bool { - state.id == self.block_state.get_state_id() + pub fn test(&self, state: &RawBlockState) -> bool { + state.0 == self.block_state.get_state_id() } } diff --git a/pumpkin-world/src/generation/rule/mod.rs b/pumpkin-world/src/generation/rule/mod.rs index bc73b0af2..7500679b1 100644 --- a/pumpkin-world/src/generation/rule/mod.rs +++ b/pumpkin-world/src/generation/rule/mod.rs @@ -1,12 +1,13 @@ use block_match::BlockMatchRuleTest; use block_state_match::BlockStateMatchRuleTest; -use pumpkin_data::BlockState; use pumpkin_util::random::RandomGenerator; use random_block_match::RandomBlockMatchRuleTest; use random_block_state_match::RandomBlockStateMatchRuleTest; use serde::Deserialize; use tag_match::TagMatchRuleTest; +use crate::block::RawBlockState; + mod block_match; mod block_state_match; mod random_block_match; @@ -31,7 +32,7 @@ pub enum RuleTest { } impl RuleTest { - pub fn test(&self, state: &BlockState, random: &mut RandomGenerator) -> bool { + pub fn test(&self, state: &RawBlockState, random: &mut RandomGenerator) -> bool { match self { Self::AlwaysTrue => true, Self::BlockMatch(rule) => rule.test(state), diff --git a/pumpkin-world/src/generation/rule/random_block_match.rs b/pumpkin-world/src/generation/rule/random_block_match.rs index 1e5f70952..f44c87371 100644 --- a/pumpkin-world/src/generation/rule/random_block_match.rs +++ b/pumpkin-world/src/generation/rule/random_block_match.rs @@ -1,7 +1,8 @@ -use pumpkin_data::{Block, BlockState}; use pumpkin_util::random::{RandomGenerator, RandomImpl}; use serde::Deserialize; +use crate::block::RawBlockState; + #[derive(Deserialize)] pub struct RandomBlockMatchRuleTest { // This should be a Block codec, so this is wrong @@ -10,9 +11,8 @@ pub struct RandomBlockMatchRuleTest { } impl RandomBlockMatchRuleTest { - pub fn test(&self, state: &BlockState, random: &mut RandomGenerator) -> bool { - Block::from_state_id(state.id).name - == self.block.strip_prefix("minecraft:").unwrap_or(&self.block) + pub fn test(&self, state: &RawBlockState, random: &mut RandomGenerator) -> bool { + state.to_block().name == self.block.strip_prefix("minecraft:").unwrap_or(&self.block) && random.next_f32() < self.probability } } diff --git a/pumpkin-world/src/generation/rule/random_block_state_match.rs b/pumpkin-world/src/generation/rule/random_block_state_match.rs index b792743da..e57809912 100644 --- a/pumpkin-world/src/generation/rule/random_block_state_match.rs +++ b/pumpkin-world/src/generation/rule/random_block_state_match.rs @@ -1,8 +1,7 @@ -use pumpkin_data::BlockState; use pumpkin_util::random::{RandomGenerator, RandomImpl}; use serde::Deserialize; -use crate::block::BlockStateCodec; +use crate::block::{BlockStateCodec, RawBlockState}; #[derive(Deserialize)] pub struct RandomBlockStateMatchRuleTest { @@ -11,7 +10,7 @@ pub struct RandomBlockStateMatchRuleTest { } impl RandomBlockStateMatchRuleTest { - pub fn test(&self, state: &BlockState, random: &mut RandomGenerator) -> bool { - state.id == self.block_state.get_state_id() && random.next_f32() < self.probability + pub fn test(&self, state: &RawBlockState, random: &mut RandomGenerator) -> bool { + state.0 == self.block_state.get_state_id() && random.next_f32() < self.probability } } diff --git a/pumpkin-world/src/generation/rule/tag_match.rs b/pumpkin-world/src/generation/rule/tag_match.rs index 018f3ca9f..fa06f3cfb 100644 --- a/pumpkin-world/src/generation/rule/tag_match.rs +++ b/pumpkin-world/src/generation/rule/tag_match.rs @@ -1,15 +1,16 @@ -use pumpkin_data::{Block, BlockState, tag::Taggable}; +use pumpkin_data::tag::{RegistryKey, get_tag_ids}; use serde::Deserialize; +use crate::block::RawBlockState; + #[derive(Deserialize)] pub struct TagMatchRuleTest { tag: String, } impl TagMatchRuleTest { - pub fn test(&self, state: &BlockState) -> bool { - Block::from_state_id(state.id) - .is_tagged_with(&self.tag) - .unwrap() + pub fn test(&self, state: &RawBlockState) -> bool { + let values = get_tag_ids(RegistryKey::Block, &self.tag).unwrap(); + values.contains(&state.to_block_id()) } } diff --git a/pumpkin-world/src/generation/structure/mod.rs b/pumpkin-world/src/generation/structure/mod.rs index 429a55001..01c9da53e 100644 --- a/pumpkin-world/src/generation/structure/mod.rs +++ b/pumpkin-world/src/generation/structure/mod.rs @@ -1,6 +1,6 @@ use std::{collections::HashMap, sync::LazyLock}; -use pumpkin_data::{chunk::Biome, tag::Taggable}; +use pumpkin_data::tag::{RegistryKey, get_tag_ids}; use pumpkin_util::include_json_static; use serde::Deserialize; @@ -185,14 +185,21 @@ impl StructureKeys { if let Some(pos) = structure_pos { // Get the biome at the structure's starting position - let current_biome = chunk.get_biome( + let current_biome = chunk.get_biome_id( biome_coords::from_block(pos.start_pos.0.x), biome_coords::from_block(pos.start_pos.0.y), biome_coords::from_block(pos.start_pos.0.z), - ); - let biomes = Biome::get_tag_values(&structure.biomes).unwrap(); + ) as u16; + let biomes = get_tag_ids( + RegistryKey::WorldgenBiome, + structure + .biomes + .strip_prefix("#") + .unwrap_or(&structure.biomes), + ) + .unwrap(); // Check if the biome is allowed for this structure - if biomes.contains(¤t_biome.registry_id) { + if biomes.contains(¤t_biome) { return Some(pos); } } diff --git a/pumpkin-world/src/generation/structure/placement.rs b/pumpkin-world/src/generation/structure/placement.rs index 793da5d3b..5f0e37f4a 100644 --- a/pumpkin-world/src/generation/structure/placement.rs +++ b/pumpkin-world/src/generation/structure/placement.rs @@ -170,7 +170,7 @@ impl ConcentricRingsStructurePlacement { // ^ (salt as i64); // (seed.abs() % 400) == 0 - rand::random_bool(1.0 / 100.0) + rand::random_bool(1.0 / 1000.0) } } diff --git a/pumpkin-world/src/generation/structure/structures/buried_treasure.rs b/pumpkin-world/src/generation/structure/structures/buried_treasure.rs index 63d1f9d6c..ba175f890 100644 --- a/pumpkin-world/src/generation/structure/structures/buried_treasure.rs +++ b/pumpkin-world/src/generation/structure/structures/buried_treasure.rs @@ -73,19 +73,19 @@ impl StructurePieceBase for BuriedTreasurePiece { let state = chunk.get_block_state(&pos.0); let down_pos = pos.down(); let down_raw_state = chunk.get_block_state(&down_pos.0); - let down_block = down_raw_state.to_block(); + let down_block = down_raw_state.to_block_id(); - if down_block == &Block::SANDSTONE - || down_block == &Block::STONE - || down_block == &Block::ANDESITE - || down_block == &Block::GRANITE - || down_block == &Block::DIORITE + if down_block == Block::SANDSTONE + || down_block == Block::STONE + || down_block == Block::ANDESITE + || down_block == Block::GRANITE + || down_block == Block::DIORITE { for dir in BlockDirection::all() { let offset_pos = pos.offset(dir.to_offset()); let dir_state = chunk.get_block_state(&offset_pos.0); - if !dir_state.to_state().is_air() && !Self::is_liquid(dir_state.to_block()) { + if !dir_state.to_state().is_air() && !Self::is_liquid(dir_state.to_block_id()) { continue; } @@ -93,7 +93,7 @@ impl StructurePieceBase for BuriedTreasurePiece { let down_offset_state = chunk.get_block_state(&down_offset_pos.0); if (down_offset_state.to_state().is_air() - || Self::is_liquid(down_offset_state.to_block())) + || Self::is_liquid(down_offset_state.to_block_id())) && dir != BlockDirection::Up { chunk.set_block_state( @@ -105,11 +105,12 @@ impl StructurePieceBase for BuriedTreasurePiece { continue; } - let state1 = if state.to_state().is_air() || Self::is_liquid(state.to_block()) { - Block::SAND.default_state - } else { - state.to_state() - }; + let state1 = + if state.to_state().is_air() || Self::is_liquid(state.to_block_id()) { + Block::SAND.default_state + } else { + state.to_state() + }; chunk.set_block_state(offset_pos.0.x, offset_pos.0.y, offset_pos.0.z, state1); } @@ -132,7 +133,7 @@ impl StructurePieceBase for BuriedTreasurePiece { } impl BuriedTreasurePiece { - fn is_liquid(block: &Block) -> bool { - block == &Block::WATER || block == &Block::LAVA + fn is_liquid(block: u16) -> bool { + block == Block::WATER || block == Block::LAVA } } diff --git a/pumpkin-world/src/generation/surface/terrain.rs b/pumpkin-world/src/generation/surface/terrain.rs index 4549dab2f..311fbfa8e 100644 --- a/pumpkin-world/src/generation/surface/terrain.rs +++ b/pumpkin-world/src/generation/surface/terrain.rs @@ -239,7 +239,7 @@ impl SurfaceTerrainBuilder { let pos = Vector3::new(x, y, z); let block_state = chunk.get_block_state(&pos); if (block_state.to_state().is_air() && y < top_block && rand.next_f64() > 0.01) - || (block_state.to_block() == &WATER_BLOCK + || (block_state.to_block_id() == WATER_BLOCK && y > bottom_block && y < sea_level && bottom_block != 0 diff --git a/pumpkin-world/src/level.rs b/pumpkin-world/src/level.rs index 26c647264..4ad48303d 100644 --- a/pumpkin-world/src/level.rs +++ b/pumpkin-world/src/level.rs @@ -24,6 +24,8 @@ use pumpkin_util::math::{position::BlockPos, vector2::Vector2}; use pumpkin_util::world_seed::Seed; use rand::{RngExt, SeedableRng, rngs::SmallRng}; use std::sync::Mutex; +use std::time::Duration; +use tokio::time::timeout; use tokio_util::sync::CancellationToken; // use std::time::Duration; use std::{ @@ -283,13 +285,24 @@ impl Level { }; log::info!("Joining {} synchronous threads...", handles.len()); - tokio::task::spawn_blocking(move || { + let join_task = tokio::task::spawn_blocking(move || { for handle in handles { + // Attempt to join. If a thread is stuck, this block stays alive. let _ = handle.join(); } - }) - .await - .unwrap(); + }); + + match timeout(Duration::from_secs(3), join_task).await { + Ok(task_result) => { + task_result.unwrap(); + log::info!("All threads joined successfully."); + } + Err(_) => { + log::warn!( + "Timed out waiting for synchronous threads to join. Proceeding anyway..." + ); + } + } log::debug!("Awaiting remaining async tasks..."); self.tasks.wait().await; diff --git a/pumpkin-world/src/lib.rs b/pumpkin-world/src/lib.rs index 8cce52aaf..389adcf5d 100644 --- a/pumpkin-world/src/lib.rs +++ b/pumpkin-world/src/lib.rs @@ -116,7 +116,11 @@ pub fn bench_create_and_populate_noise( let mut surface_height_estimate_sampler = SurfaceHeightEstimateSampler::generate(&base_router.surface_estimator, &surface_config); - chunk.populate_noise(&mut noise_sampler, &mut surface_height_estimate_sampler); + chunk.populate_noise( + &mut noise_sampler, + random_config, + &mut surface_height_estimate_sampler, + ); } pub fn bench_create_and_populate_biome( @@ -230,7 +234,11 @@ pub fn bench_create_and_populate_noise_with_surface( SurfaceHeightEstimateSampler::generate(&base_router.surface_estimator, &surface_config); chunk.populate_biomes(Dimension::OVERWORLD, &mut multi_noise_sampler); - chunk.populate_noise(&mut noise_sampler, &mut surface_height_estimate_sampler); + chunk.populate_noise( + &mut noise_sampler, + random_config, + &mut surface_height_estimate_sampler, + ); chunk.build_surface( settings, random_config, diff --git a/pumpkin/src/world/mod.rs b/pumpkin/src/world/mod.rs index ffec83a76..dc8c3557b 100644 --- a/pumpkin/src/world/mod.rs +++ b/pumpkin/src/world/mod.rs @@ -864,12 +864,12 @@ impl World { let fluid = Fluid::from_state_id(block_state_id).unwrap_or(&Fluid::EMPTY); if fluid.id == Fluid::EMPTY.id { - let block = Block::from_state_id(block_state_id); + let block = Block::get_raw_id_from_state_id(block_state_id); let block_state = BlockState::from_id(block_state_id); let blocks_movement = block_state.is_solid() - && block != &Block::COBWEB - && block != &Block::BAMBOO_SAPLING; + && block != Block::COBWEB + && block != Block::BAMBOO_SAPLING; if !blocks_movement { let down_pos = pos.down();