From 9ce7496a99df220d7594f853aad667a3e9bff79f Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 18 Jul 2024 11:13:59 +0200 Subject: fix and add structures and missing criteria for advancements --- Readme.md | 36 +- .../structure/trial_chambers/corridor/end_1.nbt | Bin 9101 -> 9094 bytes .../structure/trial_chambers/corridor/end_2.nbt | Bin 9101 -> 9094 bytes .../desert/town_centers/desert_meeting_point_1.nbt | Bin 10278 -> 844 bytes .../desert/town_centers/desert_meeting_point_2.nbt | Bin 10278 -> 844 bytes .../desert/town_centers/desert_meeting_point_3.nbt | Bin 10278 -> 844 bytes .../zombie/town_centers/desert_meeting_point_1.nbt | Bin 10278 -> 844 bytes .../zombie/town_centers/desert_meeting_point_2.nbt | Bin 10278 -> 844 bytes .../zombie/town_centers/desert_meeting_point_3.nbt | Bin 10278 -> 844 bytes .../worldgen/noise_settings/amplified.json | 2542 ++++++++++++++++++++ .../worldgen/noise_settings/large_biomes.json | 2542 ++++++++++++++++++++ data/minecraft/worldgen/structure/monument.json | 8 +- .../worldgen/structure/village_desert.json | 20 + .../function/initialize.mcfunction | 5 +- data/vanilla_skyblock/structure/ocean_monument.nbt | Bin 0 -> 276127 bytes data/vanilla_skyblock/structure/trial_chamber.nbt | Bin 9101 -> 9094 bytes data/vanilla_skyblock/structure/village_desert.nbt | Bin 0 -> 844 bytes .../worldgen/template_pool/ocean_monument.json | 15 + index.js | 75 +- src/worldgen/structure/index.js | 2 + 20 files changed, 5211 insertions(+), 34 deletions(-) create mode 100644 data/minecraft/worldgen/noise_settings/amplified.json create mode 100644 data/minecraft/worldgen/noise_settings/large_biomes.json create mode 100644 data/minecraft/worldgen/structure/village_desert.json create mode 100644 data/vanilla_skyblock/structure/ocean_monument.nbt create mode 100644 data/vanilla_skyblock/structure/village_desert.nbt create mode 100644 data/vanilla_skyblock/worldgen/template_pool/ocean_monument.json diff --git a/Readme.md b/Readme.md index 4894534..37899b8 100644 --- a/Readme.md +++ b/Readme.md @@ -1,13 +1,35 @@ -# TODO +Everything is as vanilla as possible for a 100% Advancements Skyblock. -Ocean Monument with Elder Guardian -and for Normal Guardians possible to spawn +## Notes -Restliche Ruined Portals +Justifications for every block: -Restliche villages +Ocean ruin suspicious blocks for brushing advancement and sniffer eggs, +and would be falling without support blocks underneath +Trial chamber vaults necessary for advancements +Trial spawner spawning only cave spiders and breezes, both necessary for advancements and not available otherwise +(and both are mobs that would spawn in trial spawners regularly) +Sculk sensor and shrieker in ancient city locations for sneak advancements -DANACH => -Per JS json mcmeta manip alle json files generieren, statt per Hand +Ocean monument with a "cage" for an elder guardian for killing every hostile mob + +Desert village with a single sandstone block for a camel to stand on to breed every animal + +Bastion remnant default chests for advancements, and loot + +End portal frame at stronghold location to reach the end + +Elytra frame needs a block +End City chest necessary for Horse Armor loot +Shulker for advancements + +## Issues + +Vault blocks spawned by custom structures are not interactable += https://bugs.mojang.com/browse/MC-268618 +Solution: Set server_data.state_updating_resumes_at manually to 0 with NBTExplorer + +Elder guardian despawns +Solution: They spawn naturally at ocean monuments (for now) diff --git a/data/minecraft/structure/trial_chambers/corridor/end_1.nbt b/data/minecraft/structure/trial_chambers/corridor/end_1.nbt index 63d0f51..7621e2f 100644 Binary files a/data/minecraft/structure/trial_chambers/corridor/end_1.nbt and b/data/minecraft/structure/trial_chambers/corridor/end_1.nbt differ diff --git a/data/minecraft/structure/trial_chambers/corridor/end_2.nbt b/data/minecraft/structure/trial_chambers/corridor/end_2.nbt index 63d0f51..7621e2f 100644 Binary files a/data/minecraft/structure/trial_chambers/corridor/end_2.nbt and b/data/minecraft/structure/trial_chambers/corridor/end_2.nbt differ diff --git a/data/minecraft/structure/village/desert/town_centers/desert_meeting_point_1.nbt b/data/minecraft/structure/village/desert/town_centers/desert_meeting_point_1.nbt index 3eddcb6..c89600c 100644 Binary files a/data/minecraft/structure/village/desert/town_centers/desert_meeting_point_1.nbt and b/data/minecraft/structure/village/desert/town_centers/desert_meeting_point_1.nbt differ diff --git a/data/minecraft/structure/village/desert/town_centers/desert_meeting_point_2.nbt b/data/minecraft/structure/village/desert/town_centers/desert_meeting_point_2.nbt index 3eddcb6..c89600c 100644 Binary files a/data/minecraft/structure/village/desert/town_centers/desert_meeting_point_2.nbt and b/data/minecraft/structure/village/desert/town_centers/desert_meeting_point_2.nbt differ diff --git a/data/minecraft/structure/village/desert/town_centers/desert_meeting_point_3.nbt b/data/minecraft/structure/village/desert/town_centers/desert_meeting_point_3.nbt index 3eddcb6..c89600c 100644 Binary files a/data/minecraft/structure/village/desert/town_centers/desert_meeting_point_3.nbt and b/data/minecraft/structure/village/desert/town_centers/desert_meeting_point_3.nbt differ diff --git a/data/minecraft/structure/village/desert/zombie/town_centers/desert_meeting_point_1.nbt b/data/minecraft/structure/village/desert/zombie/town_centers/desert_meeting_point_1.nbt index 3eddcb6..c89600c 100644 Binary files a/data/minecraft/structure/village/desert/zombie/town_centers/desert_meeting_point_1.nbt and b/data/minecraft/structure/village/desert/zombie/town_centers/desert_meeting_point_1.nbt differ diff --git a/data/minecraft/structure/village/desert/zombie/town_centers/desert_meeting_point_2.nbt b/data/minecraft/structure/village/desert/zombie/town_centers/desert_meeting_point_2.nbt index 3eddcb6..c89600c 100644 Binary files a/data/minecraft/structure/village/desert/zombie/town_centers/desert_meeting_point_2.nbt and b/data/minecraft/structure/village/desert/zombie/town_centers/desert_meeting_point_2.nbt differ diff --git a/data/minecraft/structure/village/desert/zombie/town_centers/desert_meeting_point_3.nbt b/data/minecraft/structure/village/desert/zombie/town_centers/desert_meeting_point_3.nbt index 3eddcb6..c89600c 100644 Binary files a/data/minecraft/structure/village/desert/zombie/town_centers/desert_meeting_point_3.nbt and b/data/minecraft/structure/village/desert/zombie/town_centers/desert_meeting_point_3.nbt differ diff --git a/data/minecraft/worldgen/noise_settings/amplified.json b/data/minecraft/worldgen/noise_settings/amplified.json new file mode 100644 index 0000000..5c4959e --- /dev/null +++ b/data/minecraft/worldgen/noise_settings/amplified.json @@ -0,0 +1,2542 @@ +{ + "aquifers_enabled": false, + "default_block": { + "Name": "minecraft:air" + }, + "default_fluid": { + "Name": "minecraft:air", + "Properties": { + "level": "0" + } + }, + "disable_mob_generation": false, + "legacy_random_source": false, + "noise": { + "height": 320, + "min_y": 0, + "size_horizontal": 1, + "size_vertical": 2 + }, + "noise_router": { + "barrier": { + "noise": "minecraft:aquifer_barrier", + "type": "minecraft:noise", + "xz_scale": 1, + "y_scale": 0.5 + }, + "continents": "minecraft:overworld/continents", + "depth": "minecraft:overworld_amplified/depth", + "erosion": "minecraft:overworld/erosion", + "final_density": { + "argument1": { + "argument": { + "argument1": 0.64, + "argument2": { + "argument": { + "argument": { + "argument1": 0.4, + "argument2": { + "argument1": { + "from_value": 0, + "from_y": -64, + "to_value": 1, + "to_y": -40, + "type": "minecraft:y_clamped_gradient" + }, + "argument2": { + "argument1": -0.4, + "argument2": { + "argument1": -0.078125, + "argument2": { + "argument1": { + "from_value": 1, + "from_y": 304, + "to_value": 0, + "to_y": 320, + "type": "minecraft:y_clamped_gradient" + }, + "argument2": { + "argument1": 0.078125, + "argument2": { + "input": "minecraft:overworld_amplified/sloped_cheese", + "max_exclusive": 1.5625, + "min_inclusive": -1000000, + "type": "minecraft:range_choice", + "when_in_range": { + "argument1": "minecraft:overworld_amplified/sloped_cheese", + "argument2": { + "argument1": 5, + "argument2": "minecraft:overworld/caves/entrances", + "type": "minecraft:mul" + }, + "type": "minecraft:min" + }, + "when_out_of_range": { + "argument1": { + "argument1": { + "argument1": { + "argument1": { + "argument1": 4, + "argument2": { + "argument": { + "noise": "minecraft:cave_layer", + "type": "minecraft:noise", + "xz_scale": 1, + "y_scale": 8 + }, + "type": "minecraft:square" + }, + "type": "minecraft:mul" + }, + "argument2": { + "argument1": { + "input": { + "argument1": 0.27, + "argument2": { + "noise": "minecraft:cave_cheese", + "type": "minecraft:noise", + "xz_scale": 1, + "y_scale": 0.6666666666666666 + }, + "type": "minecraft:add" + }, + "max": 1, + "min": -1, + "type": "minecraft:clamp" + }, + "argument2": { + "input": { + "argument1": 1.5, + "argument2": { + "argument1": -0.64, + "argument2": "minecraft:overworld_amplified/sloped_cheese", + "type": "minecraft:mul" + }, + "type": "minecraft:add" + }, + "max": 0.5, + "min": 0, + "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", + "max_exclusive": 0.03, + "min_inclusive": -1000000, + "type": "minecraft:range_choice", + "when_in_range": -1000000, + "when_out_of_range": "minecraft:overworld/caves/pillars" + }, + "type": "minecraft:max" + } + }, + "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" + }, + "fluid_level_floodedness": { + "noise": "minecraft:aquifer_fluid_level_floodedness", + "type": "minecraft:noise", + "xz_scale": 1, + "y_scale": 0.67 + }, + "fluid_level_spread": { + "noise": "minecraft:aquifer_fluid_level_spread", + "type": "minecraft:noise", + "xz_scale": 1, + "y_scale": 0.7142857142857143 + }, + "initial_density_without_jaggedness": { + "argument1": 0.4, + "argument2": { + "argument1": { + "from_value": 0, + "from_y": -64, + "to_value": 1, + "to_y": -40, + "type": "minecraft:y_clamped_gradient" + }, + "argument2": { + "argument1": -0.4, + "argument2": { + "argument1": -0.078125, + "argument2": { + "argument1": { + "from_value": 1, + "from_y": 304, + "to_value": 0, + "to_y": 320, + "type": "minecraft:y_clamped_gradient" + }, + "argument2": { + "argument1": 0.078125, + "argument2": { + "input": { + "argument1": -0.703125, + "argument2": { + "argument1": 4, + "argument2": { + "argument": { + "argument1": "minecraft:overworld_amplified/depth", + "argument2": { + "argument": "minecraft:overworld_amplified/factor", + "type": "minecraft:cache_2d" + }, + "type": "minecraft:mul" + }, + "type": "minecraft:quarter_negative" + }, + "type": "minecraft:mul" + }, + "type": "minecraft:add" + }, + "max": 64, + "min": -64, + "type": "minecraft:clamp" + }, + "type": "minecraft:add" + }, + "type": "minecraft:mul" + }, + "type": "minecraft:add" + }, + "type": "minecraft:add" + }, + "type": "minecraft:mul" + }, + "type": "minecraft:add" + }, + "lava": { + "noise": "minecraft:aquifer_lava", + "type": "minecraft:noise", + "xz_scale": 1, + "y_scale": 1 + }, + "ridges": "minecraft:overworld/ridges", + "temperature": { + "noise": "minecraft:temperature", + "shift_x": "minecraft:shift_x", + "shift_y": 0, + "shift_z": "minecraft:shift_z", + "type": "minecraft:shifted_noise", + "xz_scale": 0.25, + "y_scale": 0 + }, + "vegetation": { + "noise": "minecraft:vegetation", + "shift_x": "minecraft:shift_x", + "shift_y": 0, + "shift_z": "minecraft:shift_z", + "type": "minecraft:shifted_noise", + "xz_scale": 0.25, + "y_scale": 0 + }, + "vein_gap": { + "noise": "minecraft:ore_gap", + "type": "minecraft:noise", + "xz_scale": 1, + "y_scale": 1 + }, + "vein_ridged": { + "argument1": -0.07999999821186066, + "argument2": { + "argument1": { + "argument": { + "argument": { + "input": "minecraft:y", + "max_exclusive": 51, + "min_inclusive": -60, + "type": "minecraft:range_choice", + "when_in_range": { + "noise": "minecraft:ore_vein_a", + "type": "minecraft:noise", + "xz_scale": 4, + "y_scale": 4 + }, + "when_out_of_range": 0 + }, + "type": "minecraft:interpolated" + }, + "type": "minecraft:abs" + }, + "argument2": { + "argument": { + "argument": { + "input": "minecraft:y", + "max_exclusive": 51, + "min_inclusive": -60, + "type": "minecraft:range_choice", + "when_in_range": { + "noise": "minecraft:ore_vein_b", + "type": "minecraft:noise", + "xz_scale": 4, + "y_scale": 4 + }, + "when_out_of_range": 0 + }, + "type": "minecraft:interpolated" + }, + "type": "minecraft:abs" + }, + "type": "minecraft:max" + }, + "type": "minecraft:add" + }, + "vein_toggle": { + "argument": { + "input": "minecraft:y", + "max_exclusive": 51, + "min_inclusive": -60, + "type": "minecraft:range_choice", + "when_in_range": { + "noise": "minecraft:ore_veininess", + "type": "minecraft:noise", + "xz_scale": 1.5, + "y_scale": 1.5 + }, + "when_out_of_range": 0 + }, + "type": "minecraft:interpolated" + } + }, + "ore_veins_enabled": false, + "sea_level": 63, + "spawn_target": [ + { + "continentalness": [ + -0.11, + 1 + ], + "depth": 0, + "erosion": [ + -1, + 1 + ], + "humidity": [ + -1, + 1 + ], + "offset": 0, + "temperature": [ + -1, + 1 + ], + "weirdness": [ + -1, + -0.16 + ] + }, + { + "continentalness": [ + -0.11, + 1 + ], + "depth": 0, + "erosion": [ + -1, + 1 + ], + "humidity": [ + -1, + 1 + ], + "offset": 0, + "temperature": [ + -1, + 1 + ], + "weirdness": [ + 0.16, + 1 + ] + } + ], + "surface_rule": { + "sequence": [ + { + "if_true": { + "false_at_and_above": { + "above_bottom": 5 + }, + "random_name": "minecraft:bedrock_floor", + "true_at_and_below": { + "above_bottom": 0 + }, + "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": { + "add_surface_depth": false, + "offset": 0, + "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": { + "add_stone_depth": false, + "anchor": { + "absolute": 97 + }, + "surface_depth_multiplier": 2, + "type": "minecraft:y_above" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "max_threshold": -0.5454, + "min_threshold": -0.909, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:coarse_dirt" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "max_threshold": 0.1818, + "min_threshold": -0.1818, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:coarse_dirt" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "max_threshold": 0.909, + "min_threshold": 0.5454, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:coarse_dirt" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "sequence": [ + { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "type": "minecraft:water" + }, + "then_run": { + "result_state": { + "Name": "minecraft:grass_block", + "Properties": { + "snowy": "false" + } + }, + "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": { + "add_stone_depth": false, + "anchor": { + "absolute": 62 + }, + "surface_depth_multiplier": 0, + "type": "minecraft:y_above" + }, + "then_run": { + "if_true": { + "invert": { + "add_stone_depth": false, + "anchor": { + "absolute": 63 + }, + "surface_depth_multiplier": 0, + "type": "minecraft:y_above" + }, + "type": "minecraft:not" + }, + "then_run": { + "if_true": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0, + "noise": "minecraft:surface_swamp", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:water", + "Properties": { + "level": "0" + } + }, + "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": { + "add_stone_depth": false, + "anchor": { + "absolute": 60 + }, + "surface_depth_multiplier": 0, + "type": "minecraft:y_above" + }, + "then_run": { + "if_true": { + "invert": { + "add_stone_depth": false, + "anchor": { + "absolute": 63 + }, + "surface_depth_multiplier": 0, + "type": "minecraft:y_above" + }, + "type": "minecraft:not" + }, + "then_run": { + "if_true": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0, + "noise": "minecraft:surface_swamp", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:water", + "Properties": { + "level": "0" + } + }, + "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": { + "add_surface_depth": false, + "offset": 0, + "secondary_depth_range": 0, + "surface_type": "floor", + "type": "minecraft:stone_depth" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "add_stone_depth": false, + "anchor": { + "absolute": 256 + }, + "surface_depth_multiplier": 0, + "type": "minecraft:y_above" + }, + "then_run": { + "result_state": { + "Name": "minecraft:orange_terracotta" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "add_stone_depth": true, + "anchor": { + "absolute": 74 + }, + "surface_depth_multiplier": 1, + "type": "minecraft:y_above" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "max_threshold": -0.5454, + "min_threshold": -0.909, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:terracotta" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "max_threshold": 0.1818, + "min_threshold": -0.1818, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:terracotta" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "max_threshold": 0.909, + "min_threshold": 0.5454, + "noise": "minecraft:surface", + "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": { + "add_stone_depth": false, + "offset": -1, + "surface_depth_multiplier": 0, + "type": "minecraft:water" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "add_surface_depth": false, + "offset": 0, + "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": { + "add_stone_depth": true, + "offset": -6, + "surface_depth_multiplier": -1, + "type": "minecraft:water" + }, + "then_run": { + "result_state": { + "Name": "minecraft:white_terracotta" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "sequence": [ + { + "if_true": { + "add_surface_depth": false, + "offset": 0, + "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": { + "add_stone_depth": true, + "anchor": { + "absolute": 63 + }, + "surface_depth_multiplier": -1, + "type": "minecraft:y_above" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "add_stone_depth": false, + "anchor": { + "absolute": 63 + }, + "surface_depth_multiplier": 0, + "type": "minecraft:y_above" + }, + "then_run": { + "if_true": { + "invert": { + "add_stone_depth": true, + "anchor": { + "absolute": 74 + }, + "surface_depth_multiplier": 1, + "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": { + "add_surface_depth": true, + "offset": 0, + "secondary_depth_range": 0, + "surface_type": "floor", + "type": "minecraft:stone_depth" + }, + "then_run": { + "if_true": { + "add_stone_depth": true, + "offset": -6, + "surface_depth_multiplier": -1, + "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": { + "add_surface_depth": false, + "offset": 0, + "secondary_depth_range": 0, + "surface_type": "floor", + "type": "minecraft:stone_depth" + }, + "then_run": { + "if_true": { + "add_stone_depth": false, + "offset": -1, + "surface_depth_multiplier": 0, + "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": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "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": { + "Name": "minecraft:water", + "Properties": { + "level": "0" + } + }, + "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": { + "max_threshold": 0.2, + "min_threshold": 0, + "noise": "minecraft:packed_ice", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:packed_ice" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "max_threshold": 0.025, + "min_threshold": 0, + "noise": "minecraft:ice", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:ice" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "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": { + "max_threshold": 0.6, + "min_threshold": 0.35, + "noise": "minecraft:powder_snow", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "type": "minecraft:water" + }, + "then_run": { + "result_state": { + "Name": "minecraft:powder_snow" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "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": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "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": { + "max_threshold": 0.6, + "min_threshold": 0.35, + "noise": "minecraft:powder_snow", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "type": "minecraft:water" + }, + "then_run": { + "result_state": { + "Name": "minecraft:powder_snow" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "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": { + "max_threshold": 0.0125, + "min_threshold": -0.0125, + "noise": "minecraft:calcite", + "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": { + "max_threshold": 0.05, + "min_threshold": -0.05, + "noise": "minecraft:gravel", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "add_surface_depth": false, + "offset": 0, + "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": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0.12121212121212122, + "noise": "minecraft:surface", + "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": { + "add_surface_depth": false, + "offset": 0, + "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": { + "add_surface_depth": false, + "offset": 0, + "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": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0.21212121212121213, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:stone" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": -0.06060606060606061, + "noise": "minecraft:surface", + "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": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0.24242424242424243, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "add_surface_depth": false, + "offset": 0, + "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": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0.12121212121212122, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:stone" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": -0.12121212121212122, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "type": "minecraft:water" + }, + "then_run": { + "result_state": { + "Name": "minecraft:grass_block", + "Properties": { + "snowy": "false" + } + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "result_state": { + "Name": "minecraft:dirt" + }, + "type": "minecraft:block" + } + ], + "type": "minecraft:sequence" + }, + "type": "minecraft:condition" + }, + { + "sequence": [ + { + "if_true": { + "add_surface_depth": false, + "offset": 0, + "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": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0.21212121212121213, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:coarse_dirt" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": -0.11515151515151514, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:podzol", + "Properties": { + "snowy": "false" + } + }, + "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": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "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": { + "Name": "minecraft:mycelium", + "Properties": { + "snowy": "false" + } + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "sequence": [ + { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "type": "minecraft:water" + }, + "then_run": { + "result_state": { + "Name": "minecraft:grass_block", + "Properties": { + "snowy": "false" + } + }, + "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": { + "add_stone_depth": true, + "offset": -6, + "surface_depth_multiplier": -1, + "type": "minecraft:water" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "add_surface_depth": false, + "offset": 0, + "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": { + "Name": "minecraft:water", + "Properties": { + "level": "0" + } + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + "type": "minecraft:condition" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "add_surface_depth": true, + "offset": 0, + "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": { + "max_threshold": 0.2, + "min_threshold": -0.5, + "noise": "minecraft:packed_ice", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:packed_ice" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "max_threshold": 0.025, + "min_threshold": -0.0625, + "noise": "minecraft:ice", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:ice" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "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": { + "max_threshold": 0.58, + "min_threshold": 0.45, + "noise": "minecraft:powder_snow", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "type": "minecraft:water" + }, + "then_run": { + "result_state": { + "Name": "minecraft:powder_snow" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "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": { + "max_threshold": 0.58, + "min_threshold": 0.45, + "noise": "minecraft:powder_snow", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "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": { + "max_threshold": 0.0125, + "min_threshold": -0.0125, + "noise": "minecraft:calcite", + "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": { + "max_threshold": 0.05, + "min_threshold": -0.05, + "noise": "minecraft:gravel", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "add_surface_depth": false, + "offset": 0, + "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": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0.12121212121212122, + "noise": "minecraft:surface", + "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": { + "add_surface_depth": false, + "offset": 0, + "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": { + "add_surface_depth": false, + "offset": 0, + "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": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0.21212121212121213, + "noise": "minecraft:surface", + "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": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0.24242424242424243, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "add_surface_depth": false, + "offset": 0, + "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": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0.12121212121212122, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:stone" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": -0.12121212121212122, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:dirt" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "sequence": [ + { + "if_true": { + "add_surface_depth": false, + "offset": 0, + "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": { + "add_surface_depth": true, + "offset": 0, + "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": { + "add_surface_depth": true, + "offset": 0, + "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": { + "add_surface_depth": false, + "offset": 0, + "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": { + "add_surface_depth": false, + "offset": 0, + "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": { + "add_surface_depth": false, + "offset": 0, + "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": { + "false_at_and_above": { + "absolute": 8 + }, + "random_name": "minecraft:deepslate", + "true_at_and_below": { + "absolute": 0 + }, + "type": "minecraft:vertical_gradient" + }, + "then_run": { + "result_state": { + "Name": "minecraft:deepslate", + "Properties": { + "axis": "y" + } + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + } + ], + "type": "minecraft:sequence" + } +} \ No newline at end of file diff --git a/data/minecraft/worldgen/noise_settings/large_biomes.json b/data/minecraft/worldgen/noise_settings/large_biomes.json new file mode 100644 index 0000000..3a338ca --- /dev/null +++ b/data/minecraft/worldgen/noise_settings/large_biomes.json @@ -0,0 +1,2542 @@ +{ + "aquifers_enabled": false, + "default_block": { + "Name": "minecraft:air" + }, + "default_fluid": { + "Name": "minecraft:air", + "Properties": { + "level": "0" + } + }, + "disable_mob_generation": false, + "legacy_random_source": false, + "noise": { + "height": 320, + "min_y": 0, + "size_horizontal": 1, + "size_vertical": 2 + }, + "noise_router": { + "barrier": { + "noise": "minecraft:aquifer_barrier", + "type": "minecraft:noise", + "xz_scale": 1, + "y_scale": 0.5 + }, + "continents": "minecraft:overworld_large_biomes/continents", + "depth": "minecraft:overworld_large_biomes/depth", + "erosion": "minecraft:overworld_large_biomes/erosion", + "final_density": { + "argument1": { + "argument": { + "argument1": 0.64, + "argument2": { + "argument": { + "argument": { + "argument1": 0.1171875, + "argument2": { + "argument1": { + "from_value": 0, + "from_y": -64, + "to_value": 1, + "to_y": -40, + "type": "minecraft:y_clamped_gradient" + }, + "argument2": { + "argument1": -0.1171875, + "argument2": { + "argument1": -0.078125, + "argument2": { + "argument1": { + "from_value": 1, + "from_y": 240, + "to_value": 0, + "to_y": 256, + "type": "minecraft:y_clamped_gradient" + }, + "argument2": { + "argument1": 0.078125, + "argument2": { + "input": "minecraft:overworld_large_biomes/sloped_cheese", + "max_exclusive": 1.5625, + "min_inclusive": -1000000, + "type": "minecraft:range_choice", + "when_in_range": { + "argument1": "minecraft:overworld_large_biomes/sloped_cheese", + "argument2": { + "argument1": 5, + "argument2": "minecraft:overworld/caves/entrances", + "type": "minecraft:mul" + }, + "type": "minecraft:min" + }, + "when_out_of_range": { + "argument1": { + "argument1": { + "argument1": { + "argument1": { + "argument1": 4, + "argument2": { + "argument": { + "noise": "minecraft:cave_layer", + "type": "minecraft:noise", + "xz_scale": 1, + "y_scale": 8 + }, + "type": "minecraft:square" + }, + "type": "minecraft:mul" + }, + "argument2": { + "argument1": { + "input": { + "argument1": 0.27, + "argument2": { + "noise": "minecraft:cave_cheese", + "type": "minecraft:noise", + "xz_scale": 1, + "y_scale": 0.6666666666666666 + }, + "type": "minecraft:add" + }, + "max": 1, + "min": -1, + "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" + }, + "max": 0.5, + "min": 0, + "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", + "max_exclusive": 0.03, + "min_inclusive": -1000000, + "type": "minecraft:range_choice", + "when_in_range": -1000000, + "when_out_of_range": "minecraft:overworld/caves/pillars" + }, + "type": "minecraft:max" + } + }, + "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" + }, + "fluid_level_floodedness": { + "noise": "minecraft:aquifer_fluid_level_floodedness", + "type": "minecraft:noise", + "xz_scale": 1, + "y_scale": 0.67 + }, + "fluid_level_spread": { + "noise": "minecraft:aquifer_fluid_level_spread", + "type": "minecraft:noise", + "xz_scale": 1, + "y_scale": 0.7142857142857143 + }, + "initial_density_without_jaggedness": { + "argument1": 0.1171875, + "argument2": { + "argument1": { + "from_value": 0, + "from_y": -64, + "to_value": 1, + "to_y": -40, + "type": "minecraft:y_clamped_gradient" + }, + "argument2": { + "argument1": -0.1171875, + "argument2": { + "argument1": -0.078125, + "argument2": { + "argument1": { + "from_value": 1, + "from_y": 240, + "to_value": 0, + "to_y": 256, + "type": "minecraft:y_clamped_gradient" + }, + "argument2": { + "argument1": 0.078125, + "argument2": { + "input": { + "argument1": -0.703125, + "argument2": { + "argument1": 4, + "argument2": { + "argument": { + "argument1": "minecraft:overworld_large_biomes/depth", + "argument2": { + "argument": "minecraft:overworld_large_biomes/factor", + "type": "minecraft:cache_2d" + }, + "type": "minecraft:mul" + }, + "type": "minecraft:quarter_negative" + }, + "type": "minecraft:mul" + }, + "type": "minecraft:add" + }, + "max": 64, + "min": -64, + "type": "minecraft:clamp" + }, + "type": "minecraft:add" + }, + "type": "minecraft:mul" + }, + "type": "minecraft:add" + }, + "type": "minecraft:add" + }, + "type": "minecraft:mul" + }, + "type": "minecraft:add" + }, + "lava": { + "noise": "minecraft:aquifer_lava", + "type": "minecraft:noise", + "xz_scale": 1, + "y_scale": 1 + }, + "ridges": "minecraft:overworld/ridges", + "temperature": { + "noise": "minecraft:temperature_large", + "shift_x": "minecraft:shift_x", + "shift_y": 0, + "shift_z": "minecraft:shift_z", + "type": "minecraft:shifted_noise", + "xz_scale": 0.25, + "y_scale": 0 + }, + "vegetation": { + "noise": "minecraft:vegetation_large", + "shift_x": "minecraft:shift_x", + "shift_y": 0, + "shift_z": "minecraft:shift_z", + "type": "minecraft:shifted_noise", + "xz_scale": 0.25, + "y_scale": 0 + }, + "vein_gap": { + "noise": "minecraft:ore_gap", + "type": "minecraft:noise", + "xz_scale": 1, + "y_scale": 1 + }, + "vein_ridged": { + "argument1": -0.07999999821186066, + "argument2": { + "argument1": { + "argument": { + "argument": { + "input": "minecraft:y", + "max_exclusive": 51, + "min_inclusive": -60, + "type": "minecraft:range_choice", + "when_in_range": { + "noise": "minecraft:ore_vein_a", + "type": "minecraft:noise", + "xz_scale": 4, + "y_scale": 4 + }, + "when_out_of_range": 0 + }, + "type": "minecraft:interpolated" + }, + "type": "minecraft:abs" + }, + "argument2": { + "argument": { + "argument": { + "input": "minecraft:y", + "max_exclusive": 51, + "min_inclusive": -60, + "type": "minecraft:range_choice", + "when_in_range": { + "noise": "minecraft:ore_vein_b", + "type": "minecraft:noise", + "xz_scale": 4, + "y_scale": 4 + }, + "when_out_of_range": 0 + }, + "type": "minecraft:interpolated" + }, + "type": "minecraft:abs" + }, + "type": "minecraft:max" + }, + "type": "minecraft:add" + }, + "vein_toggle": { + "argument": { + "input": "minecraft:y", + "max_exclusive": 51, + "min_inclusive": -60, + "type": "minecraft:range_choice", + "when_in_range": { + "noise": "minecraft:ore_veininess", + "type": "minecraft:noise", + "xz_scale": 1.5, + "y_scale": 1.5 + }, + "when_out_of_range": 0 + }, + "type": "minecraft:interpolated" + } + }, + "ore_veins_enabled": false, + "sea_level": 63, + "spawn_target": [ + { + "continentalness": [ + -0.11, + 1 + ], + "depth": 0, + "erosion": [ + -1, + 1 + ], + "humidity": [ + -1, + 1 + ], + "offset": 0, + "temperature": [ + -1, + 1 + ], + "weirdness": [ + -1, + -0.16 + ] + }, + { + "continentalness": [ + -0.11, + 1 + ], + "depth": 0, + "erosion": [ + -1, + 1 + ], + "humidity": [ + -1, + 1 + ], + "offset": 0, + "temperature": [ + -1, + 1 + ], + "weirdness": [ + 0.16, + 1 + ] + } + ], + "surface_rule": { + "sequence": [ + { + "if_true": { + "false_at_and_above": { + "above_bottom": 5 + }, + "random_name": "minecraft:bedrock_floor", + "true_at_and_below": { + "above_bottom": 0 + }, + "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": { + "add_surface_depth": false, + "offset": 0, + "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": { + "add_stone_depth": false, + "anchor": { + "absolute": 97 + }, + "surface_depth_multiplier": 2, + "type": "minecraft:y_above" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "max_threshold": -0.5454, + "min_threshold": -0.909, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:coarse_dirt" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "max_threshold": 0.1818, + "min_threshold": -0.1818, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:coarse_dirt" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "max_threshold": 0.909, + "min_threshold": 0.5454, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:coarse_dirt" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "sequence": [ + { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "type": "minecraft:water" + }, + "then_run": { + "result_state": { + "Name": "minecraft:grass_block", + "Properties": { + "snowy": "false" + } + }, + "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": { + "add_stone_depth": false, + "anchor": { + "absolute": 62 + }, + "surface_depth_multiplier": 0, + "type": "minecraft:y_above" + }, + "then_run": { + "if_true": { + "invert": { + "add_stone_depth": false, + "anchor": { + "absolute": 63 + }, + "surface_depth_multiplier": 0, + "type": "minecraft:y_above" + }, + "type": "minecraft:not" + }, + "then_run": { + "if_true": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0, + "noise": "minecraft:surface_swamp", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:water", + "Properties": { + "level": "0" + } + }, + "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": { + "add_stone_depth": false, + "anchor": { + "absolute": 60 + }, + "surface_depth_multiplier": 0, + "type": "minecraft:y_above" + }, + "then_run": { + "if_true": { + "invert": { + "add_stone_depth": false, + "anchor": { + "absolute": 63 + }, + "surface_depth_multiplier": 0, + "type": "minecraft:y_above" + }, + "type": "minecraft:not" + }, + "then_run": { + "if_true": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0, + "noise": "minecraft:surface_swamp", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:water", + "Properties": { + "level": "0" + } + }, + "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": { + "add_surface_depth": false, + "offset": 0, + "secondary_depth_range": 0, + "surface_type": "floor", + "type": "minecraft:stone_depth" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "add_stone_depth": false, + "anchor": { + "absolute": 256 + }, + "surface_depth_multiplier": 0, + "type": "minecraft:y_above" + }, + "then_run": { + "result_state": { + "Name": "minecraft:orange_terracotta" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "add_stone_depth": true, + "anchor": { + "absolute": 74 + }, + "surface_depth_multiplier": 1, + "type": "minecraft:y_above" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "max_threshold": -0.5454, + "min_threshold": -0.909, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:terracotta" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "max_threshold": 0.1818, + "min_threshold": -0.1818, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:terracotta" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "max_threshold": 0.909, + "min_threshold": 0.5454, + "noise": "minecraft:surface", + "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": { + "add_stone_depth": false, + "offset": -1, + "surface_depth_multiplier": 0, + "type": "minecraft:water" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "add_surface_depth": false, + "offset": 0, + "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": { + "add_stone_depth": true, + "offset": -6, + "surface_depth_multiplier": -1, + "type": "minecraft:water" + }, + "then_run": { + "result_state": { + "Name": "minecraft:white_terracotta" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "sequence": [ + { + "if_true": { + "add_surface_depth": false, + "offset": 0, + "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": { + "add_stone_depth": true, + "anchor": { + "absolute": 63 + }, + "surface_depth_multiplier": -1, + "type": "minecraft:y_above" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "add_stone_depth": false, + "anchor": { + "absolute": 63 + }, + "surface_depth_multiplier": 0, + "type": "minecraft:y_above" + }, + "then_run": { + "if_true": { + "invert": { + "add_stone_depth": true, + "anchor": { + "absolute": 74 + }, + "surface_depth_multiplier": 1, + "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": { + "add_surface_depth": true, + "offset": 0, + "secondary_depth_range": 0, + "surface_type": "floor", + "type": "minecraft:stone_depth" + }, + "then_run": { + "if_true": { + "add_stone_depth": true, + "offset": -6, + "surface_depth_multiplier": -1, + "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": { + "add_surface_depth": false, + "offset": 0, + "secondary_depth_range": 0, + "surface_type": "floor", + "type": "minecraft:stone_depth" + }, + "then_run": { + "if_true": { + "add_stone_depth": false, + "offset": -1, + "surface_depth_multiplier": 0, + "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": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "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": { + "Name": "minecraft:water", + "Properties": { + "level": "0" + } + }, + "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": { + "max_threshold": 0.2, + "min_threshold": 0, + "noise": "minecraft:packed_ice", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:packed_ice" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "max_threshold": 0.025, + "min_threshold": 0, + "noise": "minecraft:ice", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:ice" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "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": { + "max_threshold": 0.6, + "min_threshold": 0.35, + "noise": "minecraft:powder_snow", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "type": "minecraft:water" + }, + "then_run": { + "result_state": { + "Name": "minecraft:powder_snow" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "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": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "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": { + "max_threshold": 0.6, + "min_threshold": 0.35, + "noise": "minecraft:powder_snow", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "type": "minecraft:water" + }, + "then_run": { + "result_state": { + "Name": "minecraft:powder_snow" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "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": { + "max_threshold": 0.0125, + "min_threshold": -0.0125, + "noise": "minecraft:calcite", + "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": { + "max_threshold": 0.05, + "min_threshold": -0.05, + "noise": "minecraft:gravel", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "add_surface_depth": false, + "offset": 0, + "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": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0.12121212121212122, + "noise": "minecraft:surface", + "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": { + "add_surface_depth": false, + "offset": 0, + "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": { + "add_surface_depth": false, + "offset": 0, + "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": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0.21212121212121213, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:stone" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": -0.06060606060606061, + "noise": "minecraft:surface", + "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": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0.24242424242424243, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "add_surface_depth": false, + "offset": 0, + "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": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0.12121212121212122, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:stone" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": -0.12121212121212122, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "type": "minecraft:water" + }, + "then_run": { + "result_state": { + "Name": "minecraft:grass_block", + "Properties": { + "snowy": "false" + } + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "result_state": { + "Name": "minecraft:dirt" + }, + "type": "minecraft:block" + } + ], + "type": "minecraft:sequence" + }, + "type": "minecraft:condition" + }, + { + "sequence": [ + { + "if_true": { + "add_surface_depth": false, + "offset": 0, + "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": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0.21212121212121213, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:coarse_dirt" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": -0.11515151515151514, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:podzol", + "Properties": { + "snowy": "false" + } + }, + "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": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "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": { + "Name": "minecraft:mycelium", + "Properties": { + "snowy": "false" + } + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "sequence": [ + { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "type": "minecraft:water" + }, + "then_run": { + "result_state": { + "Name": "minecraft:grass_block", + "Properties": { + "snowy": "false" + } + }, + "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": { + "add_stone_depth": true, + "offset": -6, + "surface_depth_multiplier": -1, + "type": "minecraft:water" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "add_surface_depth": false, + "offset": 0, + "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": { + "Name": "minecraft:water", + "Properties": { + "level": "0" + } + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + "type": "minecraft:condition" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "add_surface_depth": true, + "offset": 0, + "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": { + "max_threshold": 0.2, + "min_threshold": -0.5, + "noise": "minecraft:packed_ice", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:packed_ice" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "max_threshold": 0.025, + "min_threshold": -0.0625, + "noise": "minecraft:ice", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:ice" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "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": { + "max_threshold": 0.58, + "min_threshold": 0.45, + "noise": "minecraft:powder_snow", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "type": "minecraft:water" + }, + "then_run": { + "result_state": { + "Name": "minecraft:powder_snow" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "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": { + "max_threshold": 0.58, + "min_threshold": 0.45, + "noise": "minecraft:powder_snow", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "if_true": { + "add_stone_depth": false, + "offset": 0, + "surface_depth_multiplier": 0, + "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": { + "max_threshold": 0.0125, + "min_threshold": -0.0125, + "noise": "minecraft:calcite", + "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": { + "max_threshold": 0.05, + "min_threshold": -0.05, + "noise": "minecraft:gravel", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "add_surface_depth": false, + "offset": 0, + "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": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0.12121212121212122, + "noise": "minecraft:surface", + "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": { + "add_surface_depth": false, + "offset": 0, + "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": { + "add_surface_depth": false, + "offset": 0, + "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": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0.21212121212121213, + "noise": "minecraft:surface", + "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": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0.24242424242424243, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "sequence": [ + { + "if_true": { + "add_surface_depth": false, + "offset": 0, + "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": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": 0.12121212121212122, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:stone" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "if_true": { + "max_threshold": 1.7976931348623157e+308, + "min_threshold": -0.12121212121212122, + "noise": "minecraft:surface", + "type": "minecraft:noise_threshold" + }, + "then_run": { + "result_state": { + "Name": "minecraft:dirt" + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + }, + { + "sequence": [ + { + "if_true": { + "add_surface_depth": false, + "offset": 0, + "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": { + "add_surface_depth": true, + "offset": 0, + "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": { + "add_surface_depth": true, + "offset": 0, + "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": { + "add_surface_depth": false, + "offset": 0, + "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": { + "add_surface_depth": false, + "offset": 0, + "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": { + "add_surface_depth": false, + "offset": 0, + "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": { + "false_at_and_above": { + "absolute": 8 + }, + "random_name": "minecraft:deepslate", + "true_at_and_below": { + "absolute": 0 + }, + "type": "minecraft:vertical_gradient" + }, + "then_run": { + "result_state": { + "Name": "minecraft:deepslate", + "Properties": { + "axis": "y" + } + }, + "type": "minecraft:block" + }, + "type": "minecraft:condition" + } + ], + "type": "minecraft:sequence" + } +} \ No newline at end of file diff --git a/data/minecraft/worldgen/structure/monument.json b/data/minecraft/worldgen/structure/monument.json index 210441d..b45f16c 100644 --- a/data/minecraft/worldgen/structure/monument.json +++ b/data/minecraft/worldgen/structure/monument.json @@ -14,6 +14,12 @@ "maxCount": 4, "minCount": 2, "type": "minecraft:guardian", + "weight": 100 + }, + { + "maxCount": 1, + "minCount": 1, + "type": "minecraft:elder_guardian", "weight": 1 } ] @@ -32,7 +38,7 @@ }, "type": "minecraft:biased_to_bottom" }, - "start_pool": "vanilla_skyblock:empty_full", + "start_pool": "vanilla_skyblock:ocean_monument", "step": "surface_structures", "type": "minecraft:jigsaw", "use_expansion_hack": false diff --git a/data/minecraft/worldgen/structure/village_desert.json b/data/minecraft/worldgen/structure/village_desert.json new file mode 100644 index 0000000..c0f2fba --- /dev/null +++ b/data/minecraft/worldgen/structure/village_desert.json @@ -0,0 +1,20 @@ +{ + "biomes": "#minecraft:has_structure/village_desert", + "max_distance_from_center": 80, + "size": 6, + "spawn_overrides": {}, + "start_height": { + "max_inclusive": { + "below_top": 0 + }, + "min_inclusive": { + "above_bottom": 0 + }, + "type": "minecraft:biased_to_bottom" + }, + "start_pool": "minecraft:village/desert/town_centers", + "step": "surface_structures", + "terrain_adaptation": "beard_thin", + "type": "minecraft:jigsaw", + "use_expansion_hack": true +} \ No newline at end of file diff --git a/data/vanilla_skyblock/function/initialize.mcfunction b/data/vanilla_skyblock/function/initialize.mcfunction index 9aa7c02..b30ae0c 100644 --- a/data/vanilla_skyblock/function/initialize.mcfunction +++ b/data/vanilla_skyblock/function/initialize.mcfunction @@ -19,9 +19,8 @@ execute in overworld run place feature oak -1 64 4 execute in overworld run setblock 4 64 0 chest[facing=west] execute in overworld run item replace block 4 64 0 container.0 with ice 1 execute in overworld run item replace block 4 64 0 container.1 with lava_bucket 1 - -execute in overworld run setblock -1 61 4 chest[facing=north] -execute in overworld run item replace block -1 61 4 container.0 with sweet_berries 1 +execute in overworld run item replace block 4 64 0 container.25 with sweet_berries 1 +execute in overworld run item replace block 4 64 0 container.26 with glow_berries 1 diff --git a/data/vanilla_skyblock/structure/ocean_monument.nbt b/data/vanilla_skyblock/structure/ocean_monument.nbt new file mode 100644 index 0000000..f785daf Binary files /dev/null and b/data/vanilla_skyblock/structure/ocean_monument.nbt differ diff --git a/data/vanilla_skyblock/structure/trial_chamber.nbt b/data/vanilla_skyblock/structure/trial_chamber.nbt index 63d0f51..7621e2f 100644 Binary files a/data/vanilla_skyblock/structure/trial_chamber.nbt and b/data/vanilla_skyblock/structure/trial_chamber.nbt differ diff --git a/data/vanilla_skyblock/structure/village_desert.nbt b/data/vanilla_skyblock/structure/village_desert.nbt new file mode 100644 index 0000000..c89600c Binary files /dev/null and b/data/vanilla_skyblock/structure/village_desert.nbt differ diff --git a/data/vanilla_skyblock/worldgen/template_pool/ocean_monument.json b/data/vanilla_skyblock/worldgen/template_pool/ocean_monument.json new file mode 100644 index 0000000..803a6b9 --- /dev/null +++ b/data/vanilla_skyblock/worldgen/template_pool/ocean_monument.json @@ -0,0 +1,15 @@ +{ + "name": "vanilla_skyblock:ocean_monument", + "fallback": "minecraft:empty", + "elements": [ + { + "weight": 1, + "element": { + "element_type": "minecraft:single_pool_element", + "location": "vanilla_skyblock:ocean_monument", + "projection": "rigid", + "processors": "minecraft:empty" + } + } + ] +} diff --git a/index.js b/index.js index 3c6a450..0bc43cd 100644 --- a/index.js +++ b/index.js @@ -2,7 +2,7 @@ const path = require('path'); const fs = require('fs'); const { execSync } = require('child_process'); -const { jigsawConversion } = require('./src/worldgen/structure/index.js'); +const { jigsawConversion, jigsawStartHeightBiasedToBottom } = require('./src/worldgen/structure/index.js'); const { TemplatePool, JigsawStartHeight } = require('./src/enum.js'); @@ -96,29 +96,40 @@ function overwriteWorldgenNoiseSettings(name, data) { // overworld -const overworld = getWorldgenNoiseSettingsMeta('overworld'); -Object.assign(overworld, { - aquifers_enabled: false, - ore_veins_enabled: false, - default_block: { - ...overworld.default_block, - - Name: 'minecraft:air', - }, - default_fluid: { - ...overworld.default_fluid, +function overworldNoiseSettingsAdjustments(base) { + return { + aquifers_enabled: false, + ore_veins_enabled: false, + default_block: { + ...base.default_block, + + Name: 'minecraft:air', + }, + default_fluid: { + ...base.default_fluid, - Name: 'minecraft:air', - }, - noise: { - ...overworld.noise, + Name: 'minecraft:air', + }, + noise: { + ...base.noise, - min_y: 0, - height: 320, - }, -}); + min_y: 0, + height: 320, + }, + }; +}; +const overworld = getWorldgenNoiseSettingsMeta('overworld'); +Object.assign(overworld, overworldNoiseSettingsAdjustments(overworld)); overwriteWorldgenNoiseSettings('overworld', overworld); +const largeBiomes = getWorldgenNoiseSettingsMeta('large_biomes'); +Object.assign(largeBiomes, overworldNoiseSettingsAdjustments(largeBiomes)); +overwriteWorldgenNoiseSettings('large_biomes', largeBiomes); + +const amplified = getWorldgenNoiseSettingsMeta('amplified'); +Object.assign(amplified, overworldNoiseSettingsAdjustments(amplified)); +overwriteWorldgenNoiseSettings('amplified', amplified); + // nether const nether = getWorldgenNoiseSettingsMeta('nether'); Object.assign(nether, { @@ -201,9 +212,16 @@ overwriteWorldgenStructure('igloo', igloo); // ocean monument let monument = getWorldgenStructureMeta('monument'); monument = jigsawConversion(monument, { - start_pool: TemplatePool.EMPTY_FULL, + start_pool: 'vanilla_skyblock:ocean_monument', start_height: JigsawStartHeight.BIASED_TO_BOTTOM, }); +monument.spawn_overrides.monster.spawns[0].weight = 100; +monument.spawn_overrides.monster.spawns.push({ + maxCount: 1, + minCount: 1, + type: 'minecraft:elder_guardian', + weight: 1, +}); overwriteWorldgenStructure('monument', monument); // ocean ruin cold @@ -263,7 +281,7 @@ for (const structure of shipwrecks) { overwriteWorldgenStructure(structure, shipwreck); } -// stronhold +// stronghold let stronghold = getWorldgenStructureMeta('stronghold'); stronghold = jigsawConversion(stronghold, { start_pool: 'vanilla_skyblock:stronghold', @@ -276,6 +294,12 @@ const trailRuins = getWorldgenStructureMeta('trail_ruins'); delete trailRuins['project_start_to_heightmap']; overwriteWorldgenStructure('trail_ruins', trailRuins); +// village - desert +const villageDesert = getWorldgenStructureMeta('village_desert'); +delete villageDesert['project_start_to_heightmap']; +villageDesert.start_height = jigsawStartHeightBiasedToBottom; +overwriteWorldgenStructure('village_desert', villageDesert); + /* @@ -401,6 +425,11 @@ for (const village of villages) { const villageTemplatePool = getMetaData(`worldgen/template_pool/${villageStartPool}`); for (const templatePoolElement of villageTemplatePool.elements) { const location = templatePoolElement.element.location.replace('minecraft:', ''); - replaceData('structure/empty_16.nbt', `structure/${location}.nbt`); + + if (village === 'village_desert') { + replaceData('structure/village_desert.nbt', `structure/${location}.nbt`); + } else { + replaceData('structure/empty_16.nbt', `structure/${location}.nbt`); + } } } diff --git a/src/worldgen/structure/index.js b/src/worldgen/structure/index.js index 8f19547..1977931 100644 --- a/src/worldgen/structure/index.js +++ b/src/worldgen/structure/index.js @@ -67,5 +67,7 @@ function jigsawConversion(structure, fields) { module.exports = { jigsawConversionFields, jigsawStartHeightUniform, + jigsawStartHeightBiasedToBottom, + jigsawStartHeightVeryBiasedToBottom, jigsawConversion, }; -- cgit v1.2.3