diff options
68 files changed, 2294 insertions, 1765 deletions
| diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..8f75eb8 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "mcmeta"] +	path = mcmeta +	url = https://github.com/misode/mcmeta.git diff --git a/data/minecraft/structure/generate_empty_structures.js b/data/minecraft/structure/generate_empty_structures.js deleted file mode 100644 index ff5d505..0000000 --- a/data/minecraft/structure/generate_empty_structures.js +++ /dev/null @@ -1,12 +0,0 @@ -let mcmetaPath = '~/mcmeta'; // ~/Downloads/Minecraft/mcmeta # if not exists => git clone https://github.com/misode/mcmeta - -// TODO -// go to directory, switch to "summary" branch -// get "registries/data.json" -// => get "worldgen/template_pool" -// switch to "data" branch -// foreach entry get "data/minecraft/worldgen/template_pool/$entry.json" -// => foreach "elements[].element.location" -// create empty nbt file in "data/minecraft/structures" - -const result = fetch('template_pool'); diff --git a/data/minecraft/structure/village/savanna/houses/savanna_animal_pen_3.nbt b/data/minecraft/structure/village/savanna/houses/savanna_animal_pen_3.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_animal_pen_3.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_armorer_1.nbt b/data/minecraft/structure/village/savanna/houses/savanna_armorer_1.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_armorer_1.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_butchers_shop_1.nbt b/data/minecraft/structure/village/savanna/houses/savanna_butchers_shop_1.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_butchers_shop_1.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_butchers_shop_2.nbt b/data/minecraft/structure/village/savanna/houses/savanna_butchers_shop_2.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_butchers_shop_2.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_cartographer_1.nbt b/data/minecraft/structure/village/savanna/houses/savanna_cartographer_1.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_cartographer_1.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_fisher_cottage_1.nbt b/data/minecraft/structure/village/savanna/houses/savanna_fisher_cottage_1.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_fisher_cottage_1.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_fletcher_house_1.nbt b/data/minecraft/structure/village/savanna/houses/savanna_fletcher_house_1.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_fletcher_house_1.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_large_farm_1.nbt b/data/minecraft/structure/village/savanna/houses/savanna_large_farm_1.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_large_farm_1.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_large_farm_2.nbt b/data/minecraft/structure/village/savanna/houses/savanna_large_farm_2.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_large_farm_2.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_library_1.nbt b/data/minecraft/structure/village/savanna/houses/savanna_library_1.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_library_1.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_mason_1.nbt b/data/minecraft/structure/village/savanna/houses/savanna_mason_1.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_mason_1.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_medium_house_1.nbt b/data/minecraft/structure/village/savanna/houses/savanna_medium_house_1.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_medium_house_1.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_medium_house_2.nbt b/data/minecraft/structure/village/savanna/houses/savanna_medium_house_2.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_medium_house_2.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_shepherd_1.nbt b/data/minecraft/structure/village/savanna/houses/savanna_shepherd_1.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_shepherd_1.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_small_farm.nbt b/data/minecraft/structure/village/savanna/houses/savanna_small_farm.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_small_farm.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_small_house_1.nbt b/data/minecraft/structure/village/savanna/houses/savanna_small_house_1.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_small_house_1.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_small_house_2.nbt b/data/minecraft/structure/village/savanna/houses/savanna_small_house_2.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_small_house_2.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_small_house_3.nbt b/data/minecraft/structure/village/savanna/houses/savanna_small_house_3.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_small_house_3.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_small_house_4.nbt b/data/minecraft/structure/village/savanna/houses/savanna_small_house_4.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_small_house_4.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_small_house_5.nbt b/data/minecraft/structure/village/savanna/houses/savanna_small_house_5.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_small_house_5.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_small_house_6.nbt b/data/minecraft/structure/village/savanna/houses/savanna_small_house_6.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_small_house_6.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_small_house_7.nbt b/data/minecraft/structure/village/savanna/houses/savanna_small_house_7.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_small_house_7.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_small_house_8.nbt b/data/minecraft/structure/village/savanna/houses/savanna_small_house_8.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_small_house_8.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_tannery_1.nbt b/data/minecraft/structure/village/savanna/houses/savanna_tannery_1.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_tannery_1.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_temple_1.nbt b/data/minecraft/structure/village/savanna/houses/savanna_temple_1.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_temple_1.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_temple_2.nbt b/data/minecraft/structure/village/savanna/houses/savanna_temple_2.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_temple_2.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_tool_smith_1.nbt b/data/minecraft/structure/village/savanna/houses/savanna_tool_smith_1.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_tool_smith_1.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_weaponsmith_1.nbt b/data/minecraft/structure/village/savanna/houses/savanna_weaponsmith_1.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_weaponsmith_1.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_weaponsmith_2.nbt b/data/minecraft/structure/village/savanna/houses/savanna_weaponsmith_2.nbt deleted file mode 100644 index e69de29..0000000 --- a/data/minecraft/structure/village/savanna/houses/savanna_weaponsmith_2.nbt +++ /dev/null diff --git a/data/minecraft/structure/village/savanna/houses/savanna_animal_pen_1.nbt b/data/minecraft/structure/village/taiga/town_centers/taiga_meeting_point_1.nbt index e69de29..e69de29 100644 --- a/data/minecraft/structure/village/savanna/houses/savanna_animal_pen_1.nbt +++ b/data/minecraft/structure/village/taiga/town_centers/taiga_meeting_point_1.nbt diff --git a/data/minecraft/structure/village/savanna/houses/savanna_animal_pen_2.nbt b/data/minecraft/structure/village/taiga/town_centers/taiga_meeting_point_2.nbt index e69de29..e69de29 100644 --- a/data/minecraft/structure/village/savanna/houses/savanna_animal_pen_2.nbt +++ b/data/minecraft/structure/village/taiga/town_centers/taiga_meeting_point_2.nbt diff --git a/data/minecraft/worldgen/configured_feature/end_island.json b/data/minecraft/worldgen/configured_feature/end_island.json index d4c80fe..60246a8 100644 --- a/data/minecraft/worldgen/configured_feature/end_island.json +++ b/data/minecraft/worldgen/configured_feature/end_island.json @@ -1,9 +1,9 @@  { -  "type": "minecraft:fill_layer",    "config": { +    "height": 0,      "state": {        "Name": "minecraft:air" -    }, -    "height": 0 -  } -} +    } +  }, +  "type": "minecraft:fill_layer" +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/configured_feature/iceberg_blue.json b/data/minecraft/worldgen/configured_feature/iceberg_blue.json index d4c80fe..60246a8 100644 --- a/data/minecraft/worldgen/configured_feature/iceberg_blue.json +++ b/data/minecraft/worldgen/configured_feature/iceberg_blue.json @@ -1,9 +1,9 @@  { -  "type": "minecraft:fill_layer",    "config": { +    "height": 0,      "state": {        "Name": "minecraft:air" -    }, -    "height": 0 -  } -} +    } +  }, +  "type": "minecraft:fill_layer" +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/configured_feature/iceberg_packed.json b/data/minecraft/worldgen/configured_feature/iceberg_packed.json index d4c80fe..60246a8 100644 --- a/data/minecraft/worldgen/configured_feature/iceberg_packed.json +++ b/data/minecraft/worldgen/configured_feature/iceberg_packed.json @@ -1,9 +1,9 @@  { -  "type": "minecraft:fill_layer",    "config": { +    "height": 0,      "state": {        "Name": "minecraft:air" -    }, -    "height": 0 -  } -} +    } +  }, +  "type": "minecraft:fill_layer" +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/noise/iceberg_pillar.json b/data/minecraft/worldgen/noise/iceberg_pillar.json index fe7e7ca..b0a3efa 100644 --- a/data/minecraft/worldgen/noise/iceberg_pillar.json +++ b/data/minecraft/worldgen/noise/iceberg_pillar.json @@ -1,4 +1,4 @@  { -  "firstOctave": 0, -  "amplitudes": [] -} +  "amplitudes": [], +  "firstOctave": 0 +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/noise/iceberg_pillar_roof.json b/data/minecraft/worldgen/noise/iceberg_pillar_roof.json index fe7e7ca..b0a3efa 100644 --- a/data/minecraft/worldgen/noise/iceberg_pillar_roof.json +++ b/data/minecraft/worldgen/noise/iceberg_pillar_roof.json @@ -1,4 +1,4 @@  { -  "firstOctave": 0, -  "amplitudes": [] -} +  "amplitudes": [], +  "firstOctave": 0 +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/noise/iceberg_surface.json b/data/minecraft/worldgen/noise/iceberg_surface.json index fe7e7ca..b0a3efa 100644 --- a/data/minecraft/worldgen/noise/iceberg_surface.json +++ b/data/minecraft/worldgen/noise/iceberg_surface.json @@ -1,4 +1,4 @@  { -  "firstOctave": 0, -  "amplitudes": [] -} +  "amplitudes": [], +  "firstOctave": 0 +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/noise_settings/end.json b/data/minecraft/worldgen/noise_settings/end.json index ca141a8..44490d7 100644 --- a/data/minecraft/worldgen/noise_settings/end.json +++ b/data/minecraft/worldgen/noise_settings/end.json @@ -1,142 +1,142 @@  { -  "sea_level": 0, -  "disable_mob_generation": true,    "aquifers_enabled": false, -  "ore_veins_enabled": false, -  "legacy_random_source": true,    "default_block": {      "Name": "minecraft:air"    },    "default_fluid": {      "Name": "minecraft:air"    }, +  "disable_mob_generation": true, +  "legacy_random_source": true,    "noise": { -    "min_y": 0,      "height": 128, +    "min_y": 0,      "size_horizontal": 2,      "size_vertical": 1    },    "noise_router": {      "barrier": 0, -    "fluid_level_floodedness": 0, -    "fluid_level_spread": 0, -    "lava": 0, -    "temperature": 0, -    "vegetation": 0,      "continents": 0, +    "depth": 0,      "erosion": { -      "type": "minecraft:cache_2d",        "argument": {          "type": "minecraft:end_islands" -      } +      }, +      "type": "minecraft:cache_2d"      }, -    "depth": 0, -    "ridges": 0, +    "final_density": { +      "argument": { +        "argument1": 0.64, +        "argument2": { +          "argument": { +            "argument": { +              "argument1": -0.234375, +              "argument2": { +                "argument1": { +                  "from_value": 0, +                  "from_y": 4, +                  "to_value": 1, +                  "to_y": 32, +                  "type": "minecraft:y_clamped_gradient" +                }, +                "argument2": { +                  "argument1": 0.234375, +                  "argument2": { +                    "argument1": -23.4375, +                    "argument2": { +                      "argument1": { +                        "from_value": 1, +                        "from_y": 56, +                        "to_value": 0, +                        "to_y": 312, +                        "type": "minecraft:y_clamped_gradient" +                      }, +                      "argument2": { +                        "argument1": 23.4375, +                        "argument2": "minecraft:end/sloped_cheese", +                        "type": "minecraft:add" +                      }, +                      "type": "minecraft:mul" +                    }, +                    "type": "minecraft:add" +                  }, +                  "type": "minecraft:add" +                }, +                "type": "minecraft:mul" +              }, +              "type": "minecraft:add" +            }, +            "type": "minecraft:blend_density" +          }, +          "type": "minecraft:interpolated" +        }, +        "type": "minecraft:mul" +      }, +      "type": "minecraft:squeeze" +    }, +    "fluid_level_floodedness": 0, +    "fluid_level_spread": 0,      "initial_density_without_jaggedness": { -      "type": "minecraft:add",        "argument1": -0.234375,        "argument2": { -        "type": "minecraft:mul",          "argument1": { -          "type": "minecraft:y_clamped_gradient", +          "from_value": 0,            "from_y": 4, +          "to_value": 1,            "to_y": 32, -          "from_value": 0, -          "to_value": 1 +          "type": "minecraft:y_clamped_gradient"          },          "argument2": { -          "type": "minecraft:add",            "argument1": 0.234375,            "argument2": { -            "type": "minecraft:add",              "argument1": -23.4375,              "argument2": { -              "type": "minecraft:mul",                "argument1": { -                "type": "minecraft:y_clamped_gradient", +                "from_value": 1,                  "from_y": 56, +                "to_value": 0,                  "to_y": 312, -                "from_value": 1, -                "to_value": 0 +                "type": "minecraft:y_clamped_gradient"                },                "argument2": { -                "type": "minecraft:add",                  "argument1": 23.4375,                  "argument2": { -                  "type": "minecraft:add",                    "argument1": -0.703125,                    "argument2": { -                    "type": "minecraft:cache_2d",                      "argument": {                        "type": "minecraft:end_islands" -                    } -                  } -                } -              } -            } -          } -        } -      } -    }, -    "final_density": { -      "type": "minecraft:squeeze", -      "argument": { -        "type": "minecraft:mul", -        "argument1": 0.64, -        "argument2": { -          "type": "minecraft:interpolated", -          "argument": { -            "type": "minecraft:blend_density", -            "argument": { -              "type": "minecraft:add", -              "argument1": -0.234375, -              "argument2": { -                "type": "minecraft:mul", -                "argument1": { -                  "type": "minecraft:y_clamped_gradient", -                  "from_y": 4, -                  "to_y": 32, -                  "from_value": 0, -                  "to_value": 1 +                    }, +                    "type": "minecraft:cache_2d" +                  }, +                  "type": "minecraft:add"                  }, -                "argument2": { -                  "type": "minecraft:add", -                  "argument1": 0.234375, -                  "argument2": { -                    "type": "minecraft:add", -                    "argument1": -23.4375, -                    "argument2": { -                      "type": "minecraft:mul", -                      "argument1": { -                        "type": "minecraft:y_clamped_gradient", -                        "from_y": 56, -                        "to_y": 312, -                        "from_value": 1, -                        "to_value": 0 -                      }, -                      "argument2": { -                        "type": "minecraft:add", -                        "argument1": 23.4375, -                        "argument2": "minecraft:end/sloped_cheese" -                      } -                    } -                  } -                } -              } -            } -          } -        } -      } +                "type": "minecraft:add" +              }, +              "type": "minecraft:mul" +            }, +            "type": "minecraft:add" +          }, +          "type": "minecraft:add" +        }, +        "type": "minecraft:mul" +      }, +      "type": "minecraft:add"      }, -    "vein_toggle": 0, +    "lava": 0, +    "ridges": 0, +    "temperature": 0, +    "vegetation": 0, +    "vein_gap": 0,      "vein_ridged": 0, -    "vein_gap": 0 +    "vein_toggle": 0    }, +  "ore_veins_enabled": false, +  "sea_level": 0,    "spawn_target": [],    "surface_rule": { -    "type": "minecraft:block",      "result_state": {        "Name": "minecraft:end_stone" -    } +    }, +    "type": "minecraft:block"    } -} +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/noise_settings/nether.json b/data/minecraft/worldgen/noise_settings/nether.json index c184317..0e70483 100644 --- a/data/minecraft/worldgen/noise_settings/nether.json +++ b/data/minecraft/worldgen/noise_settings/nether.json @@ -1,9 +1,5 @@  { -  "sea_level": 32, -  "disable_mob_generation": false,    "aquifers_enabled": false, -  "ore_veins_enabled": false, -  "legacy_random_source": true,    "default_block": {      "Name": "minecraft:air"    }, @@ -13,725 +9,729 @@        "level": "0"      }    }, +  "disable_mob_generation": false, +  "legacy_random_source": true,    "noise": { -    "min_y": 0,      "height": 128, +    "min_y": 0,      "size_horizontal": 1,      "size_vertical": 2    },    "noise_router": {      "barrier": 0, -    "fluid_level_floodedness": 0, -    "fluid_level_spread": 0, -    "lava": 0, -    "temperature": { -      "type": "minecraft:shifted_noise", -      "noise": "minecraft:temperature", -      "xz_scale": 0.25, -      "y_scale": 0, -      "shift_x": "minecraft:shift_x", -      "shift_y": 0, -      "shift_z": "minecraft:shift_z" -    }, -    "vegetation": { -      "type": "minecraft:shifted_noise", -      "noise": "minecraft:vegetation", -      "xz_scale": 0.25, -      "y_scale": 0, -      "shift_x": "minecraft:shift_x", -      "shift_y": 0, -      "shift_z": "minecraft:shift_z" -    },      "continents": 0, -    "erosion": 0,      "depth": 0, -    "ridges": 0, -    "initial_density_without_jaggedness": 0, +    "erosion": 0,      "final_density": { -      "type": "minecraft:squeeze",        "argument": { -        "type": "minecraft:mul",          "argument1": 0.64,          "argument2": { -          "type": "minecraft:interpolated",            "argument": { -            "type": "minecraft:blend_density",              "argument": { -              "type": "minecraft:add",                "argument1": 2.5,                "argument2": { -                "type": "minecraft:mul",                  "argument1": { -                  "type": "minecraft:y_clamped_gradient", +                  "from_value": 0,                    "from_y": -8, +                  "to_value": 1,                    "to_y": 24, -                  "from_value": 0, -                  "to_value": 1 +                  "type": "minecraft:y_clamped_gradient"                  },                  "argument2": { -                  "type": "minecraft:add",                    "argument1": -2.5,                    "argument2": { -                    "type": "minecraft:add",                      "argument1": 0.9375,                      "argument2": { -                      "type": "minecraft:mul",                        "argument1": { -                        "type": "minecraft:y_clamped_gradient", +                        "from_value": 1,                          "from_y": 104, +                        "to_value": 0,                          "to_y": 128, -                        "from_value": 1, -                        "to_value": 0 +                        "type": "minecraft:y_clamped_gradient"                        },                        "argument2": { -                        "type": "minecraft:add",                          "argument1": -0.9375, -                        "argument2": "minecraft:nether/base_3d_noise" -                      } -                    } -                  } -                } -              } -            } -          } -        } -      } +                        "argument2": "minecraft:nether/base_3d_noise", +                        "type": "minecraft:add" +                      }, +                      "type": "minecraft:mul" +                    }, +                    "type": "minecraft:add" +                  }, +                  "type": "minecraft:add" +                }, +                "type": "minecraft:mul" +              }, +              "type": "minecraft:add" +            }, +            "type": "minecraft:blend_density" +          }, +          "type": "minecraft:interpolated" +        }, +        "type": "minecraft:mul" +      }, +      "type": "minecraft:squeeze" +    }, +    "fluid_level_floodedness": 0, +    "fluid_level_spread": 0, +    "initial_density_without_jaggedness": 0, +    "lava": 0, +    "ridges": 0, +    "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_toggle": 0, +    "vein_gap": 0,      "vein_ridged": 0, -    "vein_gap": 0 +    "vein_toggle": 0    }, +  "ore_veins_enabled": false, +  "sea_level": 32,    "spawn_target": [],    "surface_rule": { -    "type": "minecraft:sequence",      "sequence": [        { -        "type": "minecraft:condition",          "if_true": { -          "type": "minecraft:vertical_gradient", +          "false_at_and_above": { +            "above_bottom": 5 +          },            "random_name": "minecraft:bedrock_floor",            "true_at_and_below": {              "above_bottom": 0            }, -          "false_at_and_above": { -            "above_bottom": 5 -          } +          "type": "minecraft:vertical_gradient"          },          "then_run": { -          "type": "minecraft:block",            "result_state": {              "Name": "minecraft:bedrock" -          } -        } +          }, +          "type": "minecraft:block" +        }, +        "type": "minecraft:condition"        },        { -        "type": "minecraft:condition",          "if_true": { -          "type": "minecraft:not",            "invert": { -            "type": "minecraft:vertical_gradient", +            "false_at_and_above": { +              "below_top": 0 +            },              "random_name": "minecraft:bedrock_roof",              "true_at_and_below": {                "below_top": 5              }, -            "false_at_and_above": { -              "below_top": 0 -            } -          } +            "type": "minecraft:vertical_gradient" +          }, +          "type": "minecraft:not"          },          "then_run": { -          "type": "minecraft:block",            "result_state": {              "Name": "minecraft:bedrock" -          } -        } +          }, +          "type": "minecraft:block" +        }, +        "type": "minecraft:condition"        },        { -        "type": "minecraft:condition",          "if_true": { -          "type": "minecraft:y_above", +          "add_stone_depth": false,            "anchor": {              "below_top": 5            },            "surface_depth_multiplier": 0, -          "add_stone_depth": false +          "type": "minecraft:y_above"          },          "then_run": { -          "type": "minecraft:block",            "result_state": {              "Name": "minecraft:netherrack" -          } -        } +          }, +          "type": "minecraft:block" +        }, +        "type": "minecraft:condition"        },        { -        "type": "minecraft:condition",          "if_true": { -          "type": "minecraft:biome",            "biome_is": [              "minecraft:basalt_deltas" -          ] +          ], +          "type": "minecraft:biome"          },          "then_run": { -          "type": "minecraft:sequence",            "sequence": [              { -              "type": "minecraft:condition",                "if_true": { -                "type": "minecraft:stone_depth", +                "add_surface_depth": true,                  "offset": 0, +                "secondary_depth_range": 0,                  "surface_type": "ceiling", -                "add_surface_depth": true, -                "secondary_depth_range": 0 +                "type": "minecraft:stone_depth"                },                "then_run": { -                "type": "minecraft:block",                  "result_state": {                    "Name": "minecraft:basalt",                    "Properties": {                      "axis": "y"                    } -                } -              } +                }, +                "type": "minecraft:block" +              }, +              "type": "minecraft:condition"              },              { -              "type": "minecraft:condition",                "if_true": { -                "type": "minecraft:stone_depth", +                "add_surface_depth": true,                  "offset": 0, +                "secondary_depth_range": 0,                  "surface_type": "floor", -                "add_surface_depth": true, -                "secondary_depth_range": 0 +                "type": "minecraft:stone_depth"                },                "then_run": { -                "type": "minecraft:sequence",                  "sequence": [                    { -                    "type": "minecraft:condition",                      "if_true": { -                      "type": "minecraft:noise_threshold", -                      "noise": "minecraft:patch", +                      "max_threshold": 1.7976931348623157e+308,                        "min_threshold": -0.012, -                      "max_threshold": 1.7976931348623157e+308 +                      "noise": "minecraft:patch", +                      "type": "minecraft:noise_threshold"                      },                      "then_run": { -                      "type": "minecraft:condition",                        "if_true": { -                        "type": "minecraft:y_above", +                        "add_stone_depth": true,                          "anchor": {                            "absolute": 30                          },                          "surface_depth_multiplier": 0, -                        "add_stone_depth": true +                        "type": "minecraft:y_above"                        },                        "then_run": { -                        "type": "minecraft:condition",                          "if_true": { -                          "type": "minecraft:not",                            "invert": { -                            "type": "minecraft:y_above", +                            "add_stone_depth": true,                              "anchor": {                                "absolute": 35                              },                              "surface_depth_multiplier": 0, -                            "add_stone_depth": true -                          } +                            "type": "minecraft:y_above" +                          }, +                          "type": "minecraft:not"                          },                          "then_run": { -                          "type": "minecraft:block",                            "result_state": {                              "Name": "minecraft:gravel" -                          } -                        } -                      } -                    } +                          }, +                          "type": "minecraft:block" +                        }, +                        "type": "minecraft:condition" +                      }, +                      "type": "minecraft:condition" +                    }, +                    "type": "minecraft:condition"                    },                    { -                    "type": "minecraft:condition",                      "if_true": { -                      "type": "minecraft:noise_threshold", -                      "noise": "minecraft:nether_state_selector", +                      "max_threshold": 1.7976931348623157e+308,                        "min_threshold": 0, -                      "max_threshold": 1.7976931348623157e+308 +                      "noise": "minecraft:nether_state_selector", +                      "type": "minecraft:noise_threshold"                      },                      "then_run": { -                      "type": "minecraft:block",                        "result_state": {                          "Name": "minecraft:basalt",                          "Properties": {                            "axis": "y"                          } -                      } -                    } +                      }, +                      "type": "minecraft:block" +                    }, +                    "type": "minecraft:condition"                    },                    { -                    "type": "minecraft:block",                      "result_state": {                        "Name": "minecraft:blackstone" -                    } +                    }, +                    "type": "minecraft:block"                    } -                ] -              } +                ], +                "type": "minecraft:sequence" +              }, +              "type": "minecraft:condition"              } -          ] -        } +          ], +          "type": "minecraft:sequence" +        }, +        "type": "minecraft:condition"        },        { -        "type": "minecraft:condition",          "if_true": { -          "type": "minecraft:biome",            "biome_is": [              "minecraft:soul_sand_valley" -          ] +          ], +          "type": "minecraft:biome"          },          "then_run": { -          "type": "minecraft:sequence",            "sequence": [              { -              "type": "minecraft:condition",                "if_true": { -                "type": "minecraft:stone_depth", +                "add_surface_depth": true,                  "offset": 0, +                "secondary_depth_range": 0,                  "surface_type": "ceiling", -                "add_surface_depth": true, -                "secondary_depth_range": 0 +                "type": "minecraft:stone_depth"                },                "then_run": { -                "type": "minecraft:sequence",                  "sequence": [                    { -                    "type": "minecraft:condition",                      "if_true": { -                      "type": "minecraft:noise_threshold", -                      "noise": "minecraft:nether_state_selector", +                      "max_threshold": 1.7976931348623157e+308,                        "min_threshold": 0, -                      "max_threshold": 1.7976931348623157e+308 +                      "noise": "minecraft:nether_state_selector", +                      "type": "minecraft:noise_threshold"                      },                      "then_run": { -                      "type": "minecraft:block",                        "result_state": {                          "Name": "minecraft:soul_sand" -                      } -                    } +                      }, +                      "type": "minecraft:block" +                    }, +                    "type": "minecraft:condition"                    },                    { -                    "type": "minecraft:block",                      "result_state": {                        "Name": "minecraft:soul_soil" -                    } +                    }, +                    "type": "minecraft:block"                    } -                ] -              } +                ], +                "type": "minecraft:sequence" +              }, +              "type": "minecraft:condition"              },              { -              "type": "minecraft:condition",                "if_true": { -                "type": "minecraft:stone_depth", +                "add_surface_depth": true,                  "offset": 0, +                "secondary_depth_range": 0,                  "surface_type": "floor", -                "add_surface_depth": true, -                "secondary_depth_range": 0 +                "type": "minecraft:stone_depth"                },                "then_run": { -                "type": "minecraft:sequence",                  "sequence": [                    { -                    "type": "minecraft:condition",                      "if_true": { -                      "type": "minecraft:noise_threshold", -                      "noise": "minecraft:patch", +                      "max_threshold": 1.7976931348623157e+308,                        "min_threshold": -0.012, -                      "max_threshold": 1.7976931348623157e+308 +                      "noise": "minecraft:patch", +                      "type": "minecraft:noise_threshold"                      },                      "then_run": { -                      "type": "minecraft:condition",                        "if_true": { -                        "type": "minecraft:y_above", +                        "add_stone_depth": true,                          "anchor": {                            "absolute": 30                          },                          "surface_depth_multiplier": 0, -                        "add_stone_depth": true +                        "type": "minecraft:y_above"                        },                        "then_run": { -                        "type": "minecraft:condition",                          "if_true": { -                          "type": "minecraft:not",                            "invert": { -                            "type": "minecraft:y_above", +                            "add_stone_depth": true,                              "anchor": {                                "absolute": 35                              },                              "surface_depth_multiplier": 0, -                            "add_stone_depth": true -                          } +                            "type": "minecraft:y_above" +                          }, +                          "type": "minecraft:not"                          },                          "then_run": { -                          "type": "minecraft:block",                            "result_state": {                              "Name": "minecraft:gravel" -                          } -                        } -                      } -                    } +                          }, +                          "type": "minecraft:block" +                        }, +                        "type": "minecraft:condition" +                      }, +                      "type": "minecraft:condition" +                    }, +                    "type": "minecraft:condition"                    },                    { -                    "type": "minecraft:condition",                      "if_true": { -                      "type": "minecraft:noise_threshold", -                      "noise": "minecraft:nether_state_selector", +                      "max_threshold": 1.7976931348623157e+308,                        "min_threshold": 0, -                      "max_threshold": 1.7976931348623157e+308 +                      "noise": "minecraft:nether_state_selector", +                      "type": "minecraft:noise_threshold"                      },                      "then_run": { -                      "type": "minecraft:block",                        "result_state": {                          "Name": "minecraft:soul_sand" -                      } -                    } +                      }, +                      "type": "minecraft:block" +                    }, +                    "type": "minecraft:condition"                    },                    { -                    "type": "minecraft:block",                      "result_state": {                        "Name": "minecraft:soul_soil" -                    } +                    }, +                    "type": "minecraft:block"                    } -                ] -              } +                ], +                "type": "minecraft:sequence" +              }, +              "type": "minecraft:condition"              } -          ] -        } +          ], +          "type": "minecraft:sequence" +        }, +        "type": "minecraft:condition"        },        { -        "type": "minecraft:condition",          "if_true": { -          "type": "minecraft:stone_depth", +          "add_surface_depth": false,            "offset": 0, +          "secondary_depth_range": 0,            "surface_type": "floor", -          "add_surface_depth": false, -          "secondary_depth_range": 0 +          "type": "minecraft:stone_depth"          },          "then_run": { -          "type": "minecraft:sequence",            "sequence": [              { -              "type": "minecraft:condition",                "if_true": { -                "type": "minecraft:not",                  "invert": { -                  "type": "minecraft:y_above", +                  "add_stone_depth": false,                    "anchor": {                      "absolute": 32                    },                    "surface_depth_multiplier": 0, -                  "add_stone_depth": false -                } +                  "type": "minecraft:y_above" +                }, +                "type": "minecraft:not"                },                "then_run": { -                "type": "minecraft:condition",                  "if_true": {                    "type": "minecraft:hole"                  },                  "then_run": { -                  "type": "minecraft:block",                    "result_state": {                      "Name": "minecraft:lava",                      "Properties": {                        "level": "0"                      } -                  } -                } -              } +                  }, +                  "type": "minecraft:block" +                }, +                "type": "minecraft:condition" +              }, +              "type": "minecraft:condition"              },              { -              "type": "minecraft:condition",                "if_true": { -                "type": "minecraft:biome",                  "biome_is": [                    "minecraft:warped_forest" -                ] +                ], +                "type": "minecraft:biome"                },                "then_run": { -                "type": "minecraft:condition",                  "if_true": { -                  "type": "minecraft:not",                    "invert": { -                    "type": "minecraft:noise_threshold", -                    "noise": "minecraft:netherrack", +                    "max_threshold": 1.7976931348623157e+308,                      "min_threshold": 0.54, -                    "max_threshold": 1.7976931348623157e+308 -                  } +                    "noise": "minecraft:netherrack", +                    "type": "minecraft:noise_threshold" +                  }, +                  "type": "minecraft:not"                  },                  "then_run": { -                  "type": "minecraft:condition",                    "if_true": { -                    "type": "minecraft:y_above", +                    "add_stone_depth": false,                      "anchor": {                        "absolute": 31                      },                      "surface_depth_multiplier": 0, -                    "add_stone_depth": false +                    "type": "minecraft:y_above"                    },                    "then_run": { -                    "type": "minecraft:sequence",                      "sequence": [                        { -                        "type": "minecraft:condition",                          "if_true": { -                          "type": "minecraft:noise_threshold", -                          "noise": "minecraft:nether_wart", +                          "max_threshold": 1.7976931348623157e+308,                            "min_threshold": 1.17, -                          "max_threshold": 1.7976931348623157e+308 +                          "noise": "minecraft:nether_wart", +                          "type": "minecraft:noise_threshold"                          },                          "then_run": { -                          "type": "minecraft:block",                            "result_state": {                              "Name": "minecraft:warped_wart_block" -                          } -                        } +                          }, +                          "type": "minecraft:block" +                        }, +                        "type": "minecraft:condition"                        },                        { -                        "type": "minecraft:block",                          "result_state": {                            "Name": "minecraft:warped_nylium" -                        } +                        }, +                        "type": "minecraft:block"                        } -                    ] -                  } -                } -              } +                    ], +                    "type": "minecraft:sequence" +                  }, +                  "type": "minecraft:condition" +                }, +                "type": "minecraft:condition" +              }, +              "type": "minecraft:condition"              },              { -              "type": "minecraft:condition",                "if_true": { -                "type": "minecraft:biome",                  "biome_is": [                    "minecraft:crimson_forest" -                ] +                ], +                "type": "minecraft:biome"                },                "then_run": { -                "type": "minecraft:condition",                  "if_true": { -                  "type": "minecraft:not",                    "invert": { -                    "type": "minecraft:noise_threshold", -                    "noise": "minecraft:netherrack", +                    "max_threshold": 1.7976931348623157e+308,                      "min_threshold": 0.54, -                    "max_threshold": 1.7976931348623157e+308 -                  } +                    "noise": "minecraft:netherrack", +                    "type": "minecraft:noise_threshold" +                  }, +                  "type": "minecraft:not"                  },                  "then_run": { -                  "type": "minecraft:condition",                    "if_true": { -                    "type": "minecraft:y_above", +                    "add_stone_depth": false,                      "anchor": {                        "absolute": 31                      },                      "surface_depth_multiplier": 0, -                    "add_stone_depth": false +                    "type": "minecraft:y_above"                    },                    "then_run": { -                    "type": "minecraft:sequence",                      "sequence": [                        { -                        "type": "minecraft:condition",                          "if_true": { -                          "type": "minecraft:noise_threshold", -                          "noise": "minecraft:nether_wart", +                          "max_threshold": 1.7976931348623157e+308,                            "min_threshold": 1.17, -                          "max_threshold": 1.7976931348623157e+308 +                          "noise": "minecraft:nether_wart", +                          "type": "minecraft:noise_threshold"                          },                          "then_run": { -                          "type": "minecraft:block",                            "result_state": {                              "Name": "minecraft:nether_wart_block" -                          } -                        } +                          }, +                          "type": "minecraft:block" +                        }, +                        "type": "minecraft:condition"                        },                        { -                        "type": "minecraft:block",                          "result_state": {                            "Name": "minecraft:crimson_nylium" -                        } +                        }, +                        "type": "minecraft:block"                        } -                    ] -                  } -                } -              } +                    ], +                    "type": "minecraft:sequence" +                  }, +                  "type": "minecraft:condition" +                }, +                "type": "minecraft:condition" +              }, +              "type": "minecraft:condition"              } -          ] -        } +          ], +          "type": "minecraft:sequence" +        }, +        "type": "minecraft:condition"        },        { -        "type": "minecraft:condition",          "if_true": { -          "type": "minecraft:biome",            "biome_is": [              "minecraft:nether_wastes" -          ] +          ], +          "type": "minecraft:biome"          },          "then_run": { -          "type": "minecraft:sequence",            "sequence": [              { -              "type": "minecraft:condition",                "if_true": { -                "type": "minecraft:stone_depth", +                "add_surface_depth": true,                  "offset": 0, +                "secondary_depth_range": 0,                  "surface_type": "floor", -                "add_surface_depth": true, -                "secondary_depth_range": 0 +                "type": "minecraft:stone_depth"                },                "then_run": { -                "type": "minecraft:condition",                  "if_true": { -                  "type": "minecraft:noise_threshold", -                  "noise": "minecraft:soul_sand_layer", +                  "max_threshold": 1.7976931348623157e+308,                    "min_threshold": -0.012, -                  "max_threshold": 1.7976931348623157e+308 +                  "noise": "minecraft:soul_sand_layer", +                  "type": "minecraft:noise_threshold"                  },                  "then_run": { -                  "type": "minecraft:sequence",                    "sequence": [                      { -                      "type": "minecraft:condition",                        "if_true": { -                        "type": "minecraft:not",                          "invert": {                            "type": "minecraft:hole" -                        } +                        }, +                        "type": "minecraft:not"                        },                        "then_run": { -                        "type": "minecraft:condition",                          "if_true": { -                          "type": "minecraft:y_above", +                          "add_stone_depth": true,                            "anchor": {                              "absolute": 30                            },                            "surface_depth_multiplier": 0, -                          "add_stone_depth": true +                          "type": "minecraft:y_above"                          },                          "then_run": { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:not",                              "invert": { -                              "type": "minecraft:y_above", +                              "add_stone_depth": true,                                "anchor": {                                  "absolute": 35                                },                                "surface_depth_multiplier": 0, -                              "add_stone_depth": true -                            } +                              "type": "minecraft:y_above" +                            }, +                            "type": "minecraft:not"                            },                            "then_run": { -                            "type": "minecraft:block",                              "result_state": {                                "Name": "minecraft:soul_sand" -                            } -                          } -                        } -                      } +                            }, +                            "type": "minecraft:block" +                          }, +                          "type": "minecraft:condition" +                        }, +                        "type": "minecraft:condition" +                      }, +                      "type": "minecraft:condition"                      },                      { -                      "type": "minecraft:block",                        "result_state": {                          "Name": "minecraft:netherrack" -                      } +                      }, +                      "type": "minecraft:block"                      } -                  ] -                } -              } +                  ], +                  "type": "minecraft:sequence" +                }, +                "type": "minecraft:condition" +              }, +              "type": "minecraft:condition"              },              { -              "type": "minecraft:condition",                "if_true": { -                "type": "minecraft:stone_depth", +                "add_surface_depth": false,                  "offset": 0, +                "secondary_depth_range": 0,                  "surface_type": "floor", -                "add_surface_depth": false, -                "secondary_depth_range": 0 +                "type": "minecraft:stone_depth"                },                "then_run": { -                "type": "minecraft:condition",                  "if_true": { -                  "type": "minecraft:y_above", +                  "add_stone_depth": false,                    "anchor": {                      "absolute": 31                    },                    "surface_depth_multiplier": 0, -                  "add_stone_depth": false +                  "type": "minecraft:y_above"                  },                  "then_run": { -                  "type": "minecraft:condition",                    "if_true": { -                    "type": "minecraft:not",                      "invert": { -                      "type": "minecraft:y_above", +                      "add_stone_depth": true,                        "anchor": {                          "absolute": 35                        },                        "surface_depth_multiplier": 0, -                      "add_stone_depth": true -                    } +                      "type": "minecraft:y_above" +                    }, +                    "type": "minecraft:not"                    },                    "then_run": { -                    "type": "minecraft:condition",                      "if_true": { -                      "type": "minecraft:noise_threshold", -                      "noise": "minecraft:gravel_layer", +                      "max_threshold": 1.7976931348623157e+308,                        "min_threshold": -0.012, -                      "max_threshold": 1.7976931348623157e+308 +                      "noise": "minecraft:gravel_layer", +                      "type": "minecraft:noise_threshold"                      },                      "then_run": { -                      "type": "minecraft:sequence",                        "sequence": [                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:y_above", +                            "add_stone_depth": false,                              "anchor": {                                "absolute": 32                              },                              "surface_depth_multiplier": 0, -                            "add_stone_depth": false +                            "type": "minecraft:y_above"                            },                            "then_run": { -                            "type": "minecraft:block",                              "result_state": {                                "Name": "minecraft:gravel" -                            } -                          } +                            }, +                            "type": "minecraft:block" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:not",                              "invert": {                                "type": "minecraft:hole" -                            } +                            }, +                            "type": "minecraft:not"                            },                            "then_run": { -                            "type": "minecraft:block",                              "result_state": {                                "Name": "minecraft:gravel" -                            } -                          } +                            }, +                            "type": "minecraft:block" +                          }, +                          "type": "minecraft:condition"                          } -                      ] -                    } -                  } -                } -              } +                      ], +                      "type": "minecraft:sequence" +                    }, +                    "type": "minecraft:condition" +                  }, +                  "type": "minecraft:condition" +                }, +                "type": "minecraft:condition" +              }, +              "type": "minecraft:condition"              } -          ] -        } +          ], +          "type": "minecraft:sequence" +        }, +        "type": "minecraft:condition"        },        { -        "type": "minecraft:block",          "result_state": {            "Name": "minecraft:netherrack" -        } +        }, +        "type": "minecraft:block"        } -    ] +    ], +    "type": "minecraft:sequence"    } -} +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/noise_settings/overworld.json b/data/minecraft/worldgen/noise_settings/overworld.json index a2a1903..5db0033 100644 --- a/data/minecraft/worldgen/noise_settings/overworld.json +++ b/data/minecraft/worldgen/noise_settings/overworld.json @@ -1,9 +1,5 @@  { -  "sea_level": 63, -  "disable_mob_generation": false,    "aquifers_enabled": false, -  "ore_veins_enabled": false, -  "legacy_random_source": false,    "default_block": {      "Name": "minecraft:air"    }, @@ -13,2530 +9,2534 @@        "level": "0"      }    }, +  "disable_mob_generation": false, +  "legacy_random_source": false,    "noise": { -    "min_y": 0,      "height": 320, +    "min_y": 0,      "size_horizontal": 1,      "size_vertical": 2    },    "noise_router": {      "barrier": { -      "type": "minecraft:noise",        "noise": "minecraft:aquifer_barrier", -      "xz_scale": 1, -      "y_scale": 0.5 -    }, -    "fluid_level_floodedness": { -      "type": "minecraft:noise", -      "noise": "minecraft:aquifer_fluid_level_floodedness", -      "xz_scale": 1, -      "y_scale": 0.67 -    }, -    "fluid_level_spread": { -      "type": "minecraft:noise", -      "noise": "minecraft:aquifer_fluid_level_spread", -      "xz_scale": 1, -      "y_scale": 0.7142857142857143 -    }, -    "lava": {        "type": "minecraft:noise", -      "noise": "minecraft:aquifer_lava",        "xz_scale": 1, -      "y_scale": 1 -    }, -    "temperature": { -      "type": "minecraft:shifted_noise", -      "noise": "minecraft:temperature", -      "xz_scale": 0.25, -      "y_scale": 0, -      "shift_x": "minecraft:shift_x", -      "shift_y": 0, -      "shift_z": "minecraft:shift_z" -    }, -    "vegetation": { -      "type": "minecraft:shifted_noise", -      "noise": "minecraft:vegetation", -      "xz_scale": 0.25, -      "y_scale": 0, -      "shift_x": "minecraft:shift_x", -      "shift_y": 0, -      "shift_z": "minecraft:shift_z" +      "y_scale": 0.5      },      "continents": "minecraft:overworld/continents", -    "erosion": "minecraft:overworld/erosion",      "depth": "minecraft:overworld/depth", -    "ridges": "minecraft:overworld/ridges", -    "initial_density_without_jaggedness": { -      "type": "minecraft:add", -      "argument1": 0.1171875, -      "argument2": { -        "type": "minecraft:mul", -        "argument1": { -          "type": "minecraft:y_clamped_gradient", -          "from_y": -64, -          "to_y": -40, -          "from_value": 0, -          "to_value": 1 -        }, -        "argument2": { -          "type": "minecraft:add", -          "argument1": -0.1171875, -          "argument2": { -            "type": "minecraft:add", -            "argument1": -0.078125, -            "argument2": { -              "type": "minecraft:mul", -              "argument1": { -                "type": "minecraft:y_clamped_gradient", -                "from_y": 240, -                "to_y": 256, -                "from_value": 1, -                "to_value": 0 -              }, -              "argument2": { -                "type": "minecraft:add", -                "argument1": 0.078125, -                "argument2": { -                  "type": "minecraft:clamp", -                  "input": { -                    "type": "minecraft:add", -                    "argument1": -0.703125, -                    "argument2": { -                      "type": "minecraft:mul", -                      "argument1": 4, -                      "argument2": { -                        "type": "minecraft:quarter_negative", -                        "argument": { -                          "type": "minecraft:mul", -                          "argument1": "minecraft:overworld/depth", -                          "argument2": { -                            "type": "minecraft:cache_2d", -                            "argument": "minecraft:overworld/factor" -                          } -                        } -                      } -                    } -                  }, -                  "min": -64, -                  "max": 64 -                } -              } -            } -          } -        } -      } -    }, +    "erosion": "minecraft:overworld/erosion",      "final_density": { -      "type": "minecraft:min",        "argument1": { -        "type": "minecraft:squeeze",          "argument": { -          "type": "minecraft:mul",            "argument1": 0.64,            "argument2": { -            "type": "minecraft:interpolated",              "argument": { -              "type": "minecraft:blend_density",                "argument": { -                "type": "minecraft:add",                  "argument1": 0.1171875,                  "argument2": { -                  "type": "minecraft:mul",                    "argument1": { -                    "type": "minecraft:y_clamped_gradient", +                    "from_value": 0,                      "from_y": -64, +                    "to_value": 1,                      "to_y": -40, -                    "from_value": 0, -                    "to_value": 1 +                    "type": "minecraft:y_clamped_gradient"                    },                    "argument2": { -                    "type": "minecraft:add",                      "argument1": -0.1171875,                      "argument2": { -                      "type": "minecraft:add",                        "argument1": -0.078125,                        "argument2": { -                        "type": "minecraft:mul",                          "argument1": { -                          "type": "minecraft:y_clamped_gradient", +                          "from_value": 1,                            "from_y": 240, +                          "to_value": 0,                            "to_y": 256, -                          "from_value": 1, -                          "to_value": 0 +                          "type": "minecraft:y_clamped_gradient"                          },                          "argument2": { -                          "type": "minecraft:add",                            "argument1": 0.078125,                            "argument2": { -                            "type": "minecraft:range_choice",                              "input": "minecraft:overworld/sloped_cheese", -                            "min_inclusive": -1000000,                              "max_exclusive": 1.5625, +                            "min_inclusive": -1000000, +                            "type": "minecraft:range_choice",                              "when_in_range": { -                              "type": "minecraft:min",                                "argument1": "minecraft:overworld/sloped_cheese",                                "argument2": { -                                "type": "minecraft:mul",                                  "argument1": 5, -                                "argument2": "minecraft:overworld/caves/entrances" -                              } +                                "argument2": "minecraft:overworld/caves/entrances", +                                "type": "minecraft:mul" +                              }, +                              "type": "minecraft:min"                              },                              "when_out_of_range": { -                              "type": "minecraft:max",                                "argument1": { -                                "type": "minecraft:min",                                  "argument1": { -                                  "type": "minecraft:min",                                    "argument1": { -                                    "type": "minecraft:add",                                      "argument1": { -                                      "type": "minecraft:mul",                                        "argument1": 4,                                        "argument2": { -                                        "type": "minecraft:square",                                          "argument": { -                                          "type": "minecraft:noise",                                            "noise": "minecraft:cave_layer", +                                          "type": "minecraft:noise",                                            "xz_scale": 1,                                            "y_scale": 8 -                                        } -                                      } +                                        }, +                                        "type": "minecraft:square" +                                      }, +                                      "type": "minecraft:mul"                                      },                                      "argument2": { -                                      "type": "minecraft:add",                                        "argument1": { -                                        "type": "minecraft:clamp",                                          "input": { -                                          "type": "minecraft:add",                                            "argument1": 0.27,                                            "argument2": { -                                            "type": "minecraft:noise",                                              "noise": "minecraft:cave_cheese", +                                            "type": "minecraft:noise",                                              "xz_scale": 1,                                              "y_scale": 0.6666666666666666 -                                          } +                                          }, +                                          "type": "minecraft:add"                                          }, +                                        "max": 1,                                          "min": -1, -                                        "max": 1 +                                        "type": "minecraft:clamp"                                        },                                        "argument2": { -                                        "type": "minecraft:clamp",                                          "input": { -                                          "type": "minecraft:add",                                            "argument1": 1.5,                                            "argument2": { -                                            "type": "minecraft:mul",                                              "argument1": -0.64, -                                            "argument2": "minecraft:overworld/sloped_cheese" -                                          } +                                            "argument2": "minecraft:overworld/sloped_cheese", +                                            "type": "minecraft:mul" +                                          }, +                                          "type": "minecraft:add"                                          }, +                                        "max": 0.5,                                          "min": 0, -                                        "max": 0.5 -                                      } -                                    } +                                        "type": "minecraft:clamp" +                                      }, +                                      "type": "minecraft:add" +                                    }, +                                    "type": "minecraft:add"                                    }, -                                  "argument2": "minecraft:overworld/caves/entrances" +                                  "argument2": "minecraft:overworld/caves/entrances", +                                  "type": "minecraft:min"                                  },                                  "argument2": { -                                  "type": "minecraft:add",                                    "argument1": "minecraft:overworld/caves/spaghetti_2d", -                                  "argument2": "minecraft:overworld/caves/spaghetti_roughness_function" -                                } +                                  "argument2": "minecraft:overworld/caves/spaghetti_roughness_function", +                                  "type": "minecraft:add" +                                }, +                                "type": "minecraft:min"                                },                                "argument2": { -                                "type": "minecraft:range_choice",                                  "input": "minecraft:overworld/caves/pillars", -                                "min_inclusive": -1000000,                                  "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" +      "argument2": "minecraft:overworld/caves/noodle", +      "type": "minecraft:min"      }, -    "vein_toggle": { -      "type": "minecraft:interpolated", -      "argument": { -        "type": "minecraft:range_choice", -        "input": "minecraft:y", -        "min_inclusive": -60, -        "max_exclusive": 51, -        "when_in_range": { -          "type": "minecraft:noise", -          "noise": "minecraft:ore_veininess", -          "xz_scale": 1.5, -          "y_scale": 1.5 +    "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"          }, -        "when_out_of_range": 0 -      } +        "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/depth", +                          "argument2": { +                            "argument": "minecraft:overworld/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": { -      "type": "minecraft:add",        "argument1": -0.07999999821186066,        "argument2": { -        "type": "minecraft:max",          "argument1": { -          "type": "minecraft:abs",            "argument": { -            "type": "minecraft:interpolated",              "argument": { -              "type": "minecraft:range_choice",                "input": "minecraft:y", -              "min_inclusive": -60,                "max_exclusive": 51, +              "min_inclusive": -60, +              "type": "minecraft:range_choice",                "when_in_range": { -                "type": "minecraft:noise",                  "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": { -          "type": "minecraft:abs",            "argument": { -            "type": "minecraft:interpolated",              "argument": { -              "type": "minecraft:range_choice",                "input": "minecraft:y", -              "min_inclusive": -60,                "max_exclusive": 51, +              "min_inclusive": -60, +              "type": "minecraft:range_choice",                "when_in_range": { -                "type": "minecraft:noise",                  "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_gap": { -      "type": "minecraft:noise", -      "noise": "minecraft:ore_gap", -      "xz_scale": 1, -      "y_scale": 1 +    "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": [      { -      "temperature": [ -        -1, +      "continentalness": [ +        -0.11,          1        ], -      "humidity": [ +      "depth": 0, +      "erosion": [          -1,          1        ], -      "continentalness": [ -        -0.11, +      "humidity": [ +        -1,          1        ], -      "erosion": [ +      "offset": 0, +      "temperature": [          -1,          1        ],        "weirdness": [          -1,          -0.16 -      ], -      "depth": 0, -      "offset": 0 +      ]      },      { -      "temperature": [ -        -1, +      "continentalness": [ +        -0.11,          1        ], -      "humidity": [ +      "depth": 0, +      "erosion": [          -1,          1        ], -      "continentalness": [ -        -0.11, +      "humidity": [ +        -1,          1        ], -      "erosion": [ +      "offset": 0, +      "temperature": [          -1,          1        ],        "weirdness": [          0.16,          1 -      ], -      "depth": 0, -      "offset": 0 +      ]      }    ],    "surface_rule": { -    "type": "minecraft:sequence",      "sequence": [        { -        "type": "minecraft:condition",          "if_true": { -          "type": "minecraft:vertical_gradient", +          "false_at_and_above": { +            "above_bottom": 5 +          },            "random_name": "minecraft:bedrock_floor",            "true_at_and_below": {              "above_bottom": 0            }, -          "false_at_and_above": { -            "above_bottom": 5 -          } +          "type": "minecraft:vertical_gradient"          },          "then_run": { -          "type": "minecraft:block",            "result_state": {              "Name": "minecraft:bedrock" -          } -        } +          }, +          "type": "minecraft:block" +        }, +        "type": "minecraft:condition"        },        { -        "type": "minecraft:condition",          "if_true": {            "type": "minecraft:above_preliminary_surface"          },          "then_run": { -          "type": "minecraft:sequence",            "sequence": [              { -              "type": "minecraft:condition",                "if_true": { -                "type": "minecraft:stone_depth", +                "add_surface_depth": false,                  "offset": 0, +                "secondary_depth_range": 0,                  "surface_type": "floor", -                "add_surface_depth": false, -                "secondary_depth_range": 0 +                "type": "minecraft:stone_depth"                },                "then_run": { -                "type": "minecraft:sequence",                  "sequence": [                    { -                    "type": "minecraft:condition",                      "if_true": { -                      "type": "minecraft:biome",                        "biome_is": [                          "minecraft:wooded_badlands" -                      ] +                      ], +                      "type": "minecraft:biome"                      },                      "then_run": { -                      "type": "minecraft:condition",                        "if_true": { -                        "type": "minecraft:y_above", +                        "add_stone_depth": false,                          "anchor": {                            "absolute": 97                          },                          "surface_depth_multiplier": 2, -                        "add_stone_depth": false +                        "type": "minecraft:y_above"                        },                        "then_run": { -                        "type": "minecraft:sequence",                          "sequence": [                            { -                            "type": "minecraft:condition",                              "if_true": { -                              "type": "minecraft:noise_threshold", -                              "noise": "minecraft:surface", +                              "max_threshold": -0.5454,                                "min_threshold": -0.909, -                              "max_threshold": -0.5454 +                              "noise": "minecraft:surface", +                              "type": "minecraft:noise_threshold"                              },                              "then_run": { -                              "type": "minecraft:block",                                "result_state": {                                  "Name": "minecraft:coarse_dirt" -                              } -                            } +                              }, +                              "type": "minecraft:block" +                            }, +                            "type": "minecraft:condition"                            },                            { -                            "type": "minecraft:condition",                              "if_true": { -                              "type": "minecraft:noise_threshold", -                              "noise": "minecraft:surface", +                              "max_threshold": 0.1818,                                "min_threshold": -0.1818, -                              "max_threshold": 0.1818 +                              "noise": "minecraft:surface", +                              "type": "minecraft:noise_threshold"                              },                              "then_run": { -                              "type": "minecraft:block",                                "result_state": {                                  "Name": "minecraft:coarse_dirt" -                              } -                            } +                              }, +                              "type": "minecraft:block" +                            }, +                            "type": "minecraft:condition"                            },                            { -                            "type": "minecraft:condition",                              "if_true": { -                              "type": "minecraft:noise_threshold", -                              "noise": "minecraft:surface", +                              "max_threshold": 0.909,                                "min_threshold": 0.5454, -                              "max_threshold": 0.909 +                              "noise": "minecraft:surface", +                              "type": "minecraft:noise_threshold"                              },                              "then_run": { -                              "type": "minecraft:block",                                "result_state": {                                  "Name": "minecraft:coarse_dirt" -                              } -                            } +                              }, +                              "type": "minecraft:block" +                            }, +                            "type": "minecraft:condition"                            },                            { -                            "type": "minecraft:sequence",                              "sequence": [                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:water", +                                  "add_stone_depth": false,                                    "offset": 0,                                    "surface_depth_multiplier": 0, -                                  "add_stone_depth": false +                                  "type": "minecraft:water"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:grass_block",                                      "Properties": {                                        "snowy": "false"                                      } -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:block",                                  "result_state": {                                    "Name": "minecraft:dirt" -                                } +                                }, +                                "type": "minecraft:block"                                } -                            ] +                            ], +                            "type": "minecraft:sequence"                            } -                        ] -                      } -                    } +                        ], +                        "type": "minecraft:sequence" +                      }, +                      "type": "minecraft:condition" +                    }, +                    "type": "minecraft:condition"                    },                    { -                    "type": "minecraft:condition",                      "if_true": { -                      "type": "minecraft:biome",                        "biome_is": [                          "minecraft:swamp" -                      ] +                      ], +                      "type": "minecraft:biome"                      },                      "then_run": { -                      "type": "minecraft:condition",                        "if_true": { -                        "type": "minecraft:y_above", +                        "add_stone_depth": false,                          "anchor": {                            "absolute": 62                          },                          "surface_depth_multiplier": 0, -                        "add_stone_depth": false +                        "type": "minecraft:y_above"                        },                        "then_run": { -                        "type": "minecraft:condition",                          "if_true": { -                          "type": "minecraft:not",                            "invert": { -                            "type": "minecraft:y_above", +                            "add_stone_depth": false,                              "anchor": {                                "absolute": 63                              },                              "surface_depth_multiplier": 0, -                            "add_stone_depth": false -                          } +                            "type": "minecraft:y_above" +                          }, +                          "type": "minecraft:not"                          },                          "then_run": { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:noise_threshold", -                            "noise": "minecraft:surface_swamp", +                            "max_threshold": 1.7976931348623157e+308,                              "min_threshold": 0, -                            "max_threshold": 1.7976931348623157e+308 +                            "noise": "minecraft:surface_swamp", +                            "type": "minecraft:noise_threshold"                            },                            "then_run": { -                            "type": "minecraft:block",                              "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:condition",                      "if_true": { -                      "type": "minecraft:biome",                        "biome_is": [                          "minecraft:mangrove_swamp" -                      ] +                      ], +                      "type": "minecraft:biome"                      },                      "then_run": { -                      "type": "minecraft:condition",                        "if_true": { -                        "type": "minecraft:y_above", +                        "add_stone_depth": false,                          "anchor": {                            "absolute": 60                          },                          "surface_depth_multiplier": 0, -                        "add_stone_depth": false +                        "type": "minecraft:y_above"                        },                        "then_run": { -                        "type": "minecraft:condition",                          "if_true": { -                          "type": "minecraft:not",                            "invert": { -                            "type": "minecraft:y_above", +                            "add_stone_depth": false,                              "anchor": {                                "absolute": 63                              },                              "surface_depth_multiplier": 0, -                            "add_stone_depth": false -                          } +                            "type": "minecraft:y_above" +                          }, +                          "type": "minecraft:not"                          },                          "then_run": { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:noise_threshold", -                            "noise": "minecraft:surface_swamp", +                            "max_threshold": 1.7976931348623157e+308,                              "min_threshold": 0, -                            "max_threshold": 1.7976931348623157e+308 +                            "noise": "minecraft:surface_swamp", +                            "type": "minecraft:noise_threshold"                            },                            "then_run": { -                            "type": "minecraft:block",                              "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"              },              { -              "type": "minecraft:condition",                "if_true": { -                "type": "minecraft:biome",                  "biome_is": [                    "minecraft:badlands",                    "minecraft:eroded_badlands",                    "minecraft:wooded_badlands" -                ] +                ], +                "type": "minecraft:biome"                },                "then_run": { -                "type": "minecraft:sequence",                  "sequence": [                    { -                    "type": "minecraft:condition",                      "if_true": { -                      "type": "minecraft:stone_depth", +                      "add_surface_depth": false,                        "offset": 0, +                      "secondary_depth_range": 0,                        "surface_type": "floor", -                      "add_surface_depth": false, -                      "secondary_depth_range": 0 +                      "type": "minecraft:stone_depth"                      },                      "then_run": { -                      "type": "minecraft:sequence",                        "sequence": [                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:y_above", +                            "add_stone_depth": false,                              "anchor": {                                "absolute": 256                              },                              "surface_depth_multiplier": 0, -                            "add_stone_depth": false +                            "type": "minecraft:y_above"                            },                            "then_run": { -                            "type": "minecraft:block",                              "result_state": {                                "Name": "minecraft:orange_terracotta" -                            } -                          } +                            }, +                            "type": "minecraft:block" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:y_above", +                            "add_stone_depth": true,                              "anchor": {                                "absolute": 74                              },                              "surface_depth_multiplier": 1, -                            "add_stone_depth": true +                            "type": "minecraft:y_above"                            },                            "then_run": { -                            "type": "minecraft:sequence",                              "sequence": [                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:surface", +                                  "max_threshold": -0.5454,                                    "min_threshold": -0.909, -                                  "max_threshold": -0.5454 +                                  "noise": "minecraft:surface", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:terracotta" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:surface", +                                  "max_threshold": 0.1818,                                    "min_threshold": -0.1818, -                                  "max_threshold": 0.1818 +                                  "noise": "minecraft:surface", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:terracotta" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:surface", +                                  "max_threshold": 0.909,                                    "min_threshold": 0.5454, -                                  "max_threshold": 0.909 +                                  "noise": "minecraft:surface", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:terracotta" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                },                                {                                  "type": "minecraft:bandlands"                                } -                            ] -                          } +                            ], +                            "type": "minecraft:sequence" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:water", +                            "add_stone_depth": false,                              "offset": -1,                              "surface_depth_multiplier": 0, -                            "add_stone_depth": false +                            "type": "minecraft:water"                            },                            "then_run": { -                            "type": "minecraft:sequence",                              "sequence": [                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:stone_depth", +                                  "add_surface_depth": false,                                    "offset": 0, +                                  "secondary_depth_range": 0,                                    "surface_type": "ceiling", -                                  "add_surface_depth": false, -                                  "secondary_depth_range": 0 +                                  "type": "minecraft:stone_depth"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:red_sandstone" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:block",                                  "result_state": {                                    "Name": "minecraft:red_sand" -                                } +                                }, +                                "type": "minecraft:block"                                } -                            ] -                          } +                            ], +                            "type": "minecraft:sequence" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:not",                              "invert": {                                "type": "minecraft:hole" -                            } +                            }, +                            "type": "minecraft:not"                            },                            "then_run": { -                            "type": "minecraft:block",                              "result_state": {                                "Name": "minecraft:orange_terracotta" -                            } -                          } +                            }, +                            "type": "minecraft:block" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:water", +                            "add_stone_depth": true,                              "offset": -6,                              "surface_depth_multiplier": -1, -                            "add_stone_depth": true +                            "type": "minecraft:water"                            },                            "then_run": { -                            "type": "minecraft:block",                              "result_state": {                                "Name": "minecraft:white_terracotta" -                            } -                          } +                            }, +                            "type": "minecraft:block" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:sequence",                            "sequence": [                              { -                              "type": "minecraft:condition",                                "if_true": { -                                "type": "minecraft:stone_depth", +                                "add_surface_depth": false,                                  "offset": 0, +                                "secondary_depth_range": 0,                                  "surface_type": "ceiling", -                                "add_surface_depth": false, -                                "secondary_depth_range": 0 +                                "type": "minecraft:stone_depth"                                },                                "then_run": { -                                "type": "minecraft:block",                                  "result_state": {                                    "Name": "minecraft:stone" -                                } -                              } +                                }, +                                "type": "minecraft:block" +                              }, +                              "type": "minecraft:condition"                              },                              { -                              "type": "minecraft:block",                                "result_state": {                                  "Name": "minecraft:gravel" -                              } +                              }, +                              "type": "minecraft:block"                              } -                          ] +                          ], +                          "type": "minecraft:sequence"                          } -                      ] -                    } +                      ], +                      "type": "minecraft:sequence" +                    }, +                    "type": "minecraft:condition"                    },                    { -                    "type": "minecraft:condition",                      "if_true": { -                      "type": "minecraft:y_above", +                      "add_stone_depth": true,                        "anchor": {                          "absolute": 63                        },                        "surface_depth_multiplier": -1, -                      "add_stone_depth": true +                      "type": "minecraft:y_above"                      },                      "then_run": { -                      "type": "minecraft:sequence",                        "sequence": [                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:y_above", +                            "add_stone_depth": false,                              "anchor": {                                "absolute": 63                              },                              "surface_depth_multiplier": 0, -                            "add_stone_depth": false +                            "type": "minecraft:y_above"                            },                            "then_run": { -                            "type": "minecraft:condition",                              "if_true": { -                              "type": "minecraft:not",                                "invert": { -                                "type": "minecraft:y_above", +                                "add_stone_depth": true,                                  "anchor": {                                    "absolute": 74                                  },                                  "surface_depth_multiplier": 1, -                                "add_stone_depth": true -                              } +                                "type": "minecraft:y_above" +                              }, +                              "type": "minecraft:not"                              },                              "then_run": { -                              "type": "minecraft:block",                                "result_state": {                                  "Name": "minecraft:orange_terracotta" -                              } -                            } -                          } +                              }, +                              "type": "minecraft:block" +                            }, +                            "type": "minecraft:condition" +                          }, +                          "type": "minecraft:condition"                          },                          {                            "type": "minecraft:bandlands"                          } -                      ] -                    } +                      ], +                      "type": "minecraft:sequence" +                    }, +                    "type": "minecraft:condition"                    },                    { -                    "type": "minecraft:condition",                      "if_true": { -                      "type": "minecraft:stone_depth", +                      "add_surface_depth": true,                        "offset": 0, +                      "secondary_depth_range": 0,                        "surface_type": "floor", -                      "add_surface_depth": true, -                      "secondary_depth_range": 0 +                      "type": "minecraft:stone_depth"                      },                      "then_run": { -                      "type": "minecraft:condition",                        "if_true": { -                        "type": "minecraft:water", +                        "add_stone_depth": true,                          "offset": -6,                          "surface_depth_multiplier": -1, -                        "add_stone_depth": true +                        "type": "minecraft:water"                        },                        "then_run": { -                        "type": "minecraft:block",                          "result_state": {                            "Name": "minecraft:white_terracotta" -                        } -                      } -                    } +                        }, +                        "type": "minecraft:block" +                      }, +                      "type": "minecraft:condition" +                    }, +                    "type": "minecraft:condition"                    } -                ] -              } +                ], +                "type": "minecraft:sequence" +              }, +              "type": "minecraft:condition"              },              { -              "type": "minecraft:condition",                "if_true": { -                "type": "minecraft:stone_depth", +                "add_surface_depth": false,                  "offset": 0, +                "secondary_depth_range": 0,                  "surface_type": "floor", -                "add_surface_depth": false, -                "secondary_depth_range": 0 +                "type": "minecraft:stone_depth"                },                "then_run": { -                "type": "minecraft:condition",                  "if_true": { -                  "type": "minecraft:water", +                  "add_stone_depth": false,                    "offset": -1,                    "surface_depth_multiplier": 0, -                  "add_stone_depth": false +                  "type": "minecraft:water"                  },                  "then_run": { -                  "type": "minecraft:sequence",                    "sequence": [                      { -                      "type": "minecraft:condition",                        "if_true": { -                        "type": "minecraft:biome",                          "biome_is": [                            "minecraft:frozen_ocean",                            "minecraft:deep_frozen_ocean" -                        ] +                        ], +                        "type": "minecraft:biome"                        },                        "then_run": { -                        "type": "minecraft:condition",                          "if_true": {                            "type": "minecraft:hole"                          },                          "then_run": { -                          "type": "minecraft:sequence",                            "sequence": [                              { -                              "type": "minecraft:condition",                                "if_true": { -                                "type": "minecraft:water", +                                "add_stone_depth": false,                                  "offset": 0,                                  "surface_depth_multiplier": 0, -                                "add_stone_depth": false +                                "type": "minecraft:water"                                },                                "then_run": { -                                "type": "minecraft:block",                                  "result_state": {                                    "Name": "minecraft:air" -                                } -                              } +                                }, +                                "type": "minecraft:block" +                              }, +                              "type": "minecraft:condition"                              },                              { -                              "type": "minecraft:condition",                                "if_true": {                                  "type": "minecraft:temperature"                                },                                "then_run": { -                                "type": "minecraft:block",                                  "result_state": {                                    "Name": "minecraft:ice" -                                } -                              } +                                }, +                                "type": "minecraft:block" +                              }, +                              "type": "minecraft:condition"                              },                              { -                              "type": "minecraft:block",                                "result_state": {                                  "Name": "minecraft:water",                                  "Properties": {                                    "level": "0"                                  } -                              } +                              }, +                              "type": "minecraft:block"                              } -                          ] -                        } -                      } +                          ], +                          "type": "minecraft:sequence" +                        }, +                        "type": "minecraft:condition" +                      }, +                      "type": "minecraft:condition"                      },                      { -                      "type": "minecraft:sequence",                        "sequence": [                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:biome",                              "biome_is": [                                "minecraft:frozen_peaks" -                            ] +                            ], +                            "type": "minecraft:biome"                            },                            "then_run": { -                            "type": "minecraft:sequence",                              "sequence": [                                { -                                "type": "minecraft:condition",                                  "if_true": {                                    "type": "minecraft:steep"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:packed_ice" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:packed_ice", +                                  "max_threshold": 0.2,                                    "min_threshold": 0, -                                  "max_threshold": 0.2 +                                  "noise": "minecraft:packed_ice", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:packed_ice" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:ice", +                                  "max_threshold": 0.025,                                    "min_threshold": 0, -                                  "max_threshold": 0.025 +                                  "noise": "minecraft:ice", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:ice" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:water", +                                  "add_stone_depth": false,                                    "offset": 0,                                    "surface_depth_multiplier": 0, -                                  "add_stone_depth": false +                                  "type": "minecraft:water"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:snow_block" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                } -                            ] -                          } +                            ], +                            "type": "minecraft:sequence" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:biome",                              "biome_is": [                                "minecraft:snowy_slopes" -                            ] +                            ], +                            "type": "minecraft:biome"                            },                            "then_run": { -                            "type": "minecraft:sequence",                              "sequence": [                                { -                                "type": "minecraft:condition",                                  "if_true": {                                    "type": "minecraft:steep"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:stone" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:powder_snow", +                                  "max_threshold": 0.6,                                    "min_threshold": 0.35, -                                  "max_threshold": 0.6 +                                  "noise": "minecraft:powder_snow", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:condition",                                    "if_true": { -                                    "type": "minecraft:water", +                                    "add_stone_depth": false,                                      "offset": 0,                                      "surface_depth_multiplier": 0, -                                    "add_stone_depth": false +                                    "type": "minecraft:water"                                    },                                    "then_run": { -                                    "type": "minecraft:block",                                      "result_state": {                                        "Name": "minecraft:powder_snow" -                                    } -                                  } -                                } +                                    }, +                                    "type": "minecraft:block" +                                  }, +                                  "type": "minecraft:condition" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:water", +                                  "add_stone_depth": false,                                    "offset": 0,                                    "surface_depth_multiplier": 0, -                                  "add_stone_depth": false +                                  "type": "minecraft:water"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:snow_block" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                } -                            ] -                          } +                            ], +                            "type": "minecraft:sequence" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:biome",                              "biome_is": [                                "minecraft:jagged_peaks" -                            ] +                            ], +                            "type": "minecraft:biome"                            },                            "then_run": { -                            "type": "minecraft:sequence",                              "sequence": [                                { -                                "type": "minecraft:condition",                                  "if_true": {                                    "type": "minecraft:steep"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:stone" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:water", +                                  "add_stone_depth": false,                                    "offset": 0,                                    "surface_depth_multiplier": 0, -                                  "add_stone_depth": false +                                  "type": "minecraft:water"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:snow_block" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                } -                            ] -                          } +                            ], +                            "type": "minecraft:sequence" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:biome",                              "biome_is": [                                "minecraft:grove" -                            ] +                            ], +                            "type": "minecraft:biome"                            },                            "then_run": { -                            "type": "minecraft:sequence",                              "sequence": [                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:powder_snow", +                                  "max_threshold": 0.6,                                    "min_threshold": 0.35, -                                  "max_threshold": 0.6 +                                  "noise": "minecraft:powder_snow", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:condition",                                    "if_true": { -                                    "type": "minecraft:water", +                                    "add_stone_depth": false,                                      "offset": 0,                                      "surface_depth_multiplier": 0, -                                    "add_stone_depth": false +                                    "type": "minecraft:water"                                    },                                    "then_run": { -                                    "type": "minecraft:block",                                      "result_state": {                                        "Name": "minecraft:powder_snow" -                                    } -                                  } -                                } +                                    }, +                                    "type": "minecraft:block" +                                  }, +                                  "type": "minecraft:condition" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:water", +                                  "add_stone_depth": false,                                    "offset": 0,                                    "surface_depth_multiplier": 0, -                                  "add_stone_depth": false +                                  "type": "minecraft:water"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:snow_block" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                } -                            ] -                          } +                            ], +                            "type": "minecraft:sequence" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:sequence",                            "sequence": [                              { -                              "type": "minecraft:condition",                                "if_true": { -                                "type": "minecraft:biome",                                  "biome_is": [                                    "minecraft:stony_peaks" -                                ] +                                ], +                                "type": "minecraft:biome"                                },                                "then_run": { -                                "type": "minecraft:sequence",                                  "sequence": [                                    { -                                    "type": "minecraft:condition",                                      "if_true": { -                                      "type": "minecraft:noise_threshold", -                                      "noise": "minecraft:calcite", +                                      "max_threshold": 0.0125,                                        "min_threshold": -0.0125, -                                      "max_threshold": 0.0125 +                                      "noise": "minecraft:calcite", +                                      "type": "minecraft:noise_threshold"                                      },                                      "then_run": { -                                      "type": "minecraft:block",                                        "result_state": {                                          "Name": "minecraft:calcite" -                                      } -                                    } +                                      }, +                                      "type": "minecraft:block" +                                    }, +                                    "type": "minecraft:condition"                                    },                                    { -                                    "type": "minecraft:block",                                      "result_state": {                                        "Name": "minecraft:stone" -                                    } +                                    }, +                                    "type": "minecraft:block"                                    } -                                ] -                              } +                                ], +                                "type": "minecraft:sequence" +                              }, +                              "type": "minecraft:condition"                              },                              { -                              "type": "minecraft:condition",                                "if_true": { -                                "type": "minecraft:biome",                                  "biome_is": [                                    "minecraft:stony_shore" -                                ] +                                ], +                                "type": "minecraft:biome"                                },                                "then_run": { -                                "type": "minecraft:sequence",                                  "sequence": [                                    { -                                    "type": "minecraft:condition",                                      "if_true": { -                                      "type": "minecraft:noise_threshold", -                                      "noise": "minecraft:gravel", +                                      "max_threshold": 0.05,                                        "min_threshold": -0.05, -                                      "max_threshold": 0.05 +                                      "noise": "minecraft:gravel", +                                      "type": "minecraft:noise_threshold"                                      },                                      "then_run": { -                                      "type": "minecraft:sequence",                                        "sequence": [                                          { -                                          "type": "minecraft:condition",                                            "if_true": { -                                            "type": "minecraft:stone_depth", +                                            "add_surface_depth": false,                                              "offset": 0, +                                            "secondary_depth_range": 0,                                              "surface_type": "ceiling", -                                            "add_surface_depth": false, -                                            "secondary_depth_range": 0 +                                            "type": "minecraft:stone_depth"                                            },                                            "then_run": { -                                            "type": "minecraft:block",                                              "result_state": {                                                "Name": "minecraft:stone" -                                            } -                                          } +                                            }, +                                            "type": "minecraft:block" +                                          }, +                                          "type": "minecraft:condition"                                          },                                          { -                                          "type": "minecraft:block",                                            "result_state": {                                              "Name": "minecraft:gravel" -                                          } +                                          }, +                                          "type": "minecraft:block"                                          } -                                      ] -                                    } +                                      ], +                                      "type": "minecraft:sequence" +                                    }, +                                    "type": "minecraft:condition"                                    },                                    { -                                    "type": "minecraft:block",                                      "result_state": {                                        "Name": "minecraft:stone" -                                    } +                                    }, +                                    "type": "minecraft:block"                                    } -                                ] -                              } +                                ], +                                "type": "minecraft:sequence" +                              }, +                              "type": "minecraft:condition"                              },                              { -                              "type": "minecraft:condition",                                "if_true": { -                                "type": "minecraft:biome",                                  "biome_is": [                                    "minecraft:windswept_hills" -                                ] +                                ], +                                "type": "minecraft:biome"                                },                                "then_run": { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:surface", +                                  "max_threshold": 1.7976931348623157e+308,                                    "min_threshold": 0.12121212121212122, -                                  "max_threshold": 1.7976931348623157e+308 +                                  "noise": "minecraft:surface", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:stone" -                                  } -                                } -                              } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition" +                              }, +                              "type": "minecraft:condition"                              },                              { -                              "type": "minecraft:condition",                                "if_true": { -                                "type": "minecraft:biome",                                  "biome_is": [                                    "minecraft:warm_ocean",                                    "minecraft:beach",                                    "minecraft:snowy_beach" -                                ] +                                ], +                                "type": "minecraft:biome"                                },                                "then_run": { -                                "type": "minecraft:sequence",                                  "sequence": [                                    { -                                    "type": "minecraft:condition",                                      "if_true": { -                                      "type": "minecraft:stone_depth", +                                      "add_surface_depth": false,                                        "offset": 0, +                                      "secondary_depth_range": 0,                                        "surface_type": "ceiling", -                                      "add_surface_depth": false, -                                      "secondary_depth_range": 0 +                                      "type": "minecraft:stone_depth"                                      },                                      "then_run": { -                                      "type": "minecraft:block",                                        "result_state": {                                          "Name": "minecraft:sandstone" -                                      } -                                    } +                                      }, +                                      "type": "minecraft:block" +                                    }, +                                    "type": "minecraft:condition"                                    },                                    { -                                    "type": "minecraft:block",                                      "result_state": {                                        "Name": "minecraft:sand" -                                    } +                                    }, +                                    "type": "minecraft:block"                                    } -                                ] -                              } +                                ], +                                "type": "minecraft:sequence" +                              }, +                              "type": "minecraft:condition"                              },                              { -                              "type": "minecraft:condition",                                "if_true": { -                                "type": "minecraft:biome",                                  "biome_is": [                                    "minecraft:desert" -                                ] +                                ], +                                "type": "minecraft:biome"                                },                                "then_run": { -                                "type": "minecraft:sequence",                                  "sequence": [                                    { -                                    "type": "minecraft:condition",                                      "if_true": { -                                      "type": "minecraft:stone_depth", +                                      "add_surface_depth": false,                                        "offset": 0, +                                      "secondary_depth_range": 0,                                        "surface_type": "ceiling", -                                      "add_surface_depth": false, -                                      "secondary_depth_range": 0 +                                      "type": "minecraft:stone_depth"                                      },                                      "then_run": { -                                      "type": "minecraft:block",                                        "result_state": {                                          "Name": "minecraft:sandstone" -                                      } -                                    } +                                      }, +                                      "type": "minecraft:block" +                                    }, +                                    "type": "minecraft:condition"                                    },                                    { -                                    "type": "minecraft:block",                                      "result_state": {                                        "Name": "minecraft:sand" -                                    } +                                    }, +                                    "type": "minecraft:block"                                    } -                                ] -                              } +                                ], +                                "type": "minecraft:sequence" +                              }, +                              "type": "minecraft:condition"                              },                              { -                              "type": "minecraft:condition",                                "if_true": { -                                "type": "minecraft:biome",                                  "biome_is": [                                    "minecraft:dripstone_caves" -                                ] +                                ], +                                "type": "minecraft:biome"                                },                                "then_run": { -                                "type": "minecraft:block",                                  "result_state": {                                    "Name": "minecraft:stone" -                                } -                              } +                                }, +                                "type": "minecraft:block" +                              }, +                              "type": "minecraft:condition"                              } -                          ] +                          ], +                          "type": "minecraft:sequence"                          },                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:biome",                              "biome_is": [                                "minecraft:windswept_savanna" -                            ] +                            ], +                            "type": "minecraft:biome"                            },                            "then_run": { -                            "type": "minecraft:sequence",                              "sequence": [                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:surface", +                                  "max_threshold": 1.7976931348623157e+308,                                    "min_threshold": 0.21212121212121213, -                                  "max_threshold": 1.7976931348623157e+308 +                                  "noise": "minecraft:surface", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:stone" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:surface", +                                  "max_threshold": 1.7976931348623157e+308,                                    "min_threshold": -0.06060606060606061, -                                  "max_threshold": 1.7976931348623157e+308 +                                  "noise": "minecraft:surface", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:coarse_dirt" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                } -                            ] -                          } +                            ], +                            "type": "minecraft:sequence" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:biome",                              "biome_is": [                                "minecraft:windswept_gravelly_hills" -                            ] +                            ], +                            "type": "minecraft:biome"                            },                            "then_run": { -                            "type": "minecraft:sequence",                              "sequence": [                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:surface", +                                  "max_threshold": 1.7976931348623157e+308,                                    "min_threshold": 0.24242424242424243, -                                  "max_threshold": 1.7976931348623157e+308 +                                  "noise": "minecraft:surface", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:sequence",                                    "sequence": [                                      { -                                      "type": "minecraft:condition",                                        "if_true": { -                                        "type": "minecraft:stone_depth", +                                        "add_surface_depth": false,                                          "offset": 0, +                                        "secondary_depth_range": 0,                                          "surface_type": "ceiling", -                                        "add_surface_depth": false, -                                        "secondary_depth_range": 0 +                                        "type": "minecraft:stone_depth"                                        },                                        "then_run": { -                                        "type": "minecraft:block",                                          "result_state": {                                            "Name": "minecraft:stone" -                                        } -                                      } +                                        }, +                                        "type": "minecraft:block" +                                      }, +                                      "type": "minecraft:condition"                                      },                                      { -                                      "type": "minecraft:block",                                        "result_state": {                                          "Name": "minecraft:gravel" -                                      } +                                      }, +                                      "type": "minecraft:block"                                      } -                                  ] -                                } +                                  ], +                                  "type": "minecraft:sequence" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:surface", +                                  "max_threshold": 1.7976931348623157e+308,                                    "min_threshold": 0.12121212121212122, -                                  "max_threshold": 1.7976931348623157e+308 +                                  "noise": "minecraft:surface", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:stone" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:surface", +                                  "max_threshold": 1.7976931348623157e+308,                                    "min_threshold": -0.12121212121212122, -                                  "max_threshold": 1.7976931348623157e+308 +                                  "noise": "minecraft:surface", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:sequence",                                    "sequence": [                                      { -                                      "type": "minecraft:condition",                                        "if_true": { -                                        "type": "minecraft:water", +                                        "add_stone_depth": false,                                          "offset": 0,                                          "surface_depth_multiplier": 0, -                                        "add_stone_depth": false +                                        "type": "minecraft:water"                                        },                                        "then_run": { -                                        "type": "minecraft:block",                                          "result_state": {                                            "Name": "minecraft:grass_block",                                            "Properties": {                                              "snowy": "false"                                            } -                                        } -                                      } +                                        }, +                                        "type": "minecraft:block" +                                      }, +                                      "type": "minecraft:condition"                                      },                                      { -                                      "type": "minecraft:block",                                        "result_state": {                                          "Name": "minecraft:dirt" -                                      } +                                      }, +                                      "type": "minecraft:block"                                      } -                                  ] -                                } +                                  ], +                                  "type": "minecraft:sequence" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:sequence",                                  "sequence": [                                    { -                                    "type": "minecraft:condition",                                      "if_true": { -                                      "type": "minecraft:stone_depth", +                                      "add_surface_depth": false,                                        "offset": 0, +                                      "secondary_depth_range": 0,                                        "surface_type": "ceiling", -                                      "add_surface_depth": false, -                                      "secondary_depth_range": 0 +                                      "type": "minecraft:stone_depth"                                      },                                      "then_run": { -                                      "type": "minecraft:block",                                        "result_state": {                                          "Name": "minecraft:stone" -                                      } -                                    } +                                      }, +                                      "type": "minecraft:block" +                                    }, +                                    "type": "minecraft:condition"                                    },                                    { -                                    "type": "minecraft:block",                                      "result_state": {                                        "Name": "minecraft:gravel" -                                    } +                                    }, +                                    "type": "minecraft:block"                                    } -                                ] +                                ], +                                "type": "minecraft:sequence"                                } -                            ] -                          } +                            ], +                            "type": "minecraft:sequence" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:biome",                              "biome_is": [                                "minecraft:old_growth_pine_taiga",                                "minecraft:old_growth_spruce_taiga" -                            ] +                            ], +                            "type": "minecraft:biome"                            },                            "then_run": { -                            "type": "minecraft:sequence",                              "sequence": [                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:surface", +                                  "max_threshold": 1.7976931348623157e+308,                                    "min_threshold": 0.21212121212121213, -                                  "max_threshold": 1.7976931348623157e+308 +                                  "noise": "minecraft:surface", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:coarse_dirt" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:surface", +                                  "max_threshold": 1.7976931348623157e+308,                                    "min_threshold": -0.11515151515151514, -                                  "max_threshold": 1.7976931348623157e+308 +                                  "noise": "minecraft:surface", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:podzol",                                      "Properties": {                                        "snowy": "false"                                      } -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                } -                            ] -                          } +                            ], +                            "type": "minecraft:sequence" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:biome",                              "biome_is": [                                "minecraft:ice_spikes" -                            ] +                            ], +                            "type": "minecraft:biome"                            },                            "then_run": { -                            "type": "minecraft:condition",                              "if_true": { -                              "type": "minecraft:water", +                              "add_stone_depth": false,                                "offset": 0,                                "surface_depth_multiplier": 0, -                              "add_stone_depth": false +                              "type": "minecraft:water"                              },                              "then_run": { -                              "type": "minecraft:block",                                "result_state": {                                  "Name": "minecraft:snow_block" -                              } -                            } -                          } +                              }, +                              "type": "minecraft:block" +                            }, +                            "type": "minecraft:condition" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:biome",                              "biome_is": [                                "minecraft:mangrove_swamp" -                            ] +                            ], +                            "type": "minecraft:biome"                            },                            "then_run": { -                            "type": "minecraft:block",                              "result_state": {                                "Name": "minecraft:mud" -                            } -                          } +                            }, +                            "type": "minecraft:block" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:biome",                              "biome_is": [                                "minecraft:mushroom_fields" -                            ] +                            ], +                            "type": "minecraft:biome"                            },                            "then_run": { -                            "type": "minecraft:block",                              "result_state": {                                "Name": "minecraft:mycelium",                                "Properties": {                                  "snowy": "false"                                } -                            } -                          } +                            }, +                            "type": "minecraft:block" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:sequence",                            "sequence": [                              { -                              "type": "minecraft:condition",                                "if_true": { -                                "type": "minecraft:water", +                                "add_stone_depth": false,                                  "offset": 0,                                  "surface_depth_multiplier": 0, -                                "add_stone_depth": false +                                "type": "minecraft:water"                                },                                "then_run": { -                                "type": "minecraft:block",                                  "result_state": {                                    "Name": "minecraft:grass_block",                                    "Properties": {                                      "snowy": "false"                                    } -                                } -                              } +                                }, +                                "type": "minecraft:block" +                              }, +                              "type": "minecraft:condition"                              },                              { -                              "type": "minecraft:block",                                "result_state": {                                  "Name": "minecraft:dirt" -                              } +                              }, +                              "type": "minecraft:block"                              } -                          ] +                          ], +                          "type": "minecraft:sequence"                          } -                      ] +                      ], +                      "type": "minecraft:sequence"                      } -                  ] -                } -              } +                  ], +                  "type": "minecraft:sequence" +                }, +                "type": "minecraft:condition" +              }, +              "type": "minecraft:condition"              },              { -              "type": "minecraft:condition",                "if_true": { -                "type": "minecraft:water", +                "add_stone_depth": true,                  "offset": -6,                  "surface_depth_multiplier": -1, -                "add_stone_depth": true +                "type": "minecraft:water"                },                "then_run": { -                "type": "minecraft:sequence",                  "sequence": [                    { -                    "type": "minecraft:condition",                      "if_true": { -                      "type": "minecraft:stone_depth", +                      "add_surface_depth": false,                        "offset": 0, +                      "secondary_depth_range": 0,                        "surface_type": "floor", -                      "add_surface_depth": false, -                      "secondary_depth_range": 0 +                      "type": "minecraft:stone_depth"                      },                      "then_run": { -                      "type": "minecraft:condition",                        "if_true": { -                        "type": "minecraft:biome",                          "biome_is": [                            "minecraft:frozen_ocean",                            "minecraft:deep_frozen_ocean" -                        ] +                        ], +                        "type": "minecraft:biome"                        },                        "then_run": { -                        "type": "minecraft:condition",                          "if_true": {                            "type": "minecraft:hole"                          },                          "then_run": { -                          "type": "minecraft:block",                            "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": { -                      "type": "minecraft:stone_depth", +                      "add_surface_depth": true,                        "offset": 0, +                      "secondary_depth_range": 0,                        "surface_type": "floor", -                      "add_surface_depth": true, -                      "secondary_depth_range": 0 +                      "type": "minecraft:stone_depth"                      },                      "then_run": { -                      "type": "minecraft:sequence",                        "sequence": [                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:biome",                              "biome_is": [                                "minecraft:frozen_peaks" -                            ] +                            ], +                            "type": "minecraft:biome"                            },                            "then_run": { -                            "type": "minecraft:sequence",                              "sequence": [                                { -                                "type": "minecraft:condition",                                  "if_true": {                                    "type": "minecraft:steep"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:packed_ice" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:packed_ice", +                                  "max_threshold": 0.2,                                    "min_threshold": -0.5, -                                  "max_threshold": 0.2 +                                  "noise": "minecraft:packed_ice", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:packed_ice" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:ice", +                                  "max_threshold": 0.025,                                    "min_threshold": -0.0625, -                                  "max_threshold": 0.025 +                                  "noise": "minecraft:ice", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:ice" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:water", +                                  "add_stone_depth": false,                                    "offset": 0,                                    "surface_depth_multiplier": 0, -                                  "add_stone_depth": false +                                  "type": "minecraft:water"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:snow_block" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                } -                            ] -                          } +                            ], +                            "type": "minecraft:sequence" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:biome",                              "biome_is": [                                "minecraft:snowy_slopes" -                            ] +                            ], +                            "type": "minecraft:biome"                            },                            "then_run": { -                            "type": "minecraft:sequence",                              "sequence": [                                { -                                "type": "minecraft:condition",                                  "if_true": {                                    "type": "minecraft:steep"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:stone" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:powder_snow", +                                  "max_threshold": 0.58,                                    "min_threshold": 0.45, -                                  "max_threshold": 0.58 +                                  "noise": "minecraft:powder_snow", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:condition",                                    "if_true": { -                                    "type": "minecraft:water", +                                    "add_stone_depth": false,                                      "offset": 0,                                      "surface_depth_multiplier": 0, -                                    "add_stone_depth": false +                                    "type": "minecraft:water"                                    },                                    "then_run": { -                                    "type": "minecraft:block",                                      "result_state": {                                        "Name": "minecraft:powder_snow" -                                    } -                                  } -                                } +                                    }, +                                    "type": "minecraft:block" +                                  }, +                                  "type": "minecraft:condition" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:water", +                                  "add_stone_depth": false,                                    "offset": 0,                                    "surface_depth_multiplier": 0, -                                  "add_stone_depth": false +                                  "type": "minecraft:water"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:snow_block" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                } -                            ] -                          } +                            ], +                            "type": "minecraft:sequence" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:biome",                              "biome_is": [                                "minecraft:jagged_peaks" -                            ] +                            ], +                            "type": "minecraft:biome"                            },                            "then_run": { -                            "type": "minecraft:block",                              "result_state": {                                "Name": "minecraft:stone" -                            } -                          } +                            }, +                            "type": "minecraft:block" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:biome",                              "biome_is": [                                "minecraft:grove" -                            ] +                            ], +                            "type": "minecraft:biome"                            },                            "then_run": { -                            "type": "minecraft:sequence",                              "sequence": [                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:powder_snow", +                                  "max_threshold": 0.58,                                    "min_threshold": 0.45, -                                  "max_threshold": 0.58 +                                  "noise": "minecraft:powder_snow", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:condition",                                    "if_true": { -                                    "type": "minecraft:water", +                                    "add_stone_depth": false,                                      "offset": 0,                                      "surface_depth_multiplier": 0, -                                    "add_stone_depth": false +                                    "type": "minecraft:water"                                    },                                    "then_run": { -                                    "type": "minecraft:block",                                      "result_state": {                                        "Name": "minecraft:powder_snow" -                                    } -                                  } -                                } +                                    }, +                                    "type": "minecraft:block" +                                  }, +                                  "type": "minecraft:condition" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:block",                                  "result_state": {                                    "Name": "minecraft:dirt" -                                } +                                }, +                                "type": "minecraft:block"                                } -                            ] -                          } +                            ], +                            "type": "minecraft:sequence" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:sequence",                            "sequence": [                              { -                              "type": "minecraft:condition",                                "if_true": { -                                "type": "minecraft:biome",                                  "biome_is": [                                    "minecraft:stony_peaks" -                                ] +                                ], +                                "type": "minecraft:biome"                                },                                "then_run": { -                                "type": "minecraft:sequence",                                  "sequence": [                                    { -                                    "type": "minecraft:condition",                                      "if_true": { -                                      "type": "minecraft:noise_threshold", -                                      "noise": "minecraft:calcite", +                                      "max_threshold": 0.0125,                                        "min_threshold": -0.0125, -                                      "max_threshold": 0.0125 +                                      "noise": "minecraft:calcite", +                                      "type": "minecraft:noise_threshold"                                      },                                      "then_run": { -                                      "type": "minecraft:block",                                        "result_state": {                                          "Name": "minecraft:calcite" -                                      } -                                    } +                                      }, +                                      "type": "minecraft:block" +                                    }, +                                    "type": "minecraft:condition"                                    },                                    { -                                    "type": "minecraft:block",                                      "result_state": {                                        "Name": "minecraft:stone" -                                    } +                                    }, +                                    "type": "minecraft:block"                                    } -                                ] -                              } +                                ], +                                "type": "minecraft:sequence" +                              }, +                              "type": "minecraft:condition"                              },                              { -                              "type": "minecraft:condition",                                "if_true": { -                                "type": "minecraft:biome",                                  "biome_is": [                                    "minecraft:stony_shore" -                                ] +                                ], +                                "type": "minecraft:biome"                                },                                "then_run": { -                                "type": "minecraft:sequence",                                  "sequence": [                                    { -                                    "type": "minecraft:condition",                                      "if_true": { -                                      "type": "minecraft:noise_threshold", -                                      "noise": "minecraft:gravel", +                                      "max_threshold": 0.05,                                        "min_threshold": -0.05, -                                      "max_threshold": 0.05 +                                      "noise": "minecraft:gravel", +                                      "type": "minecraft:noise_threshold"                                      },                                      "then_run": { -                                      "type": "minecraft:sequence",                                        "sequence": [                                          { -                                          "type": "minecraft:condition",                                            "if_true": { -                                            "type": "minecraft:stone_depth", +                                            "add_surface_depth": false,                                              "offset": 0, +                                            "secondary_depth_range": 0,                                              "surface_type": "ceiling", -                                            "add_surface_depth": false, -                                            "secondary_depth_range": 0 +                                            "type": "minecraft:stone_depth"                                            },                                            "then_run": { -                                            "type": "minecraft:block",                                              "result_state": {                                                "Name": "minecraft:stone" -                                            } -                                          } +                                            }, +                                            "type": "minecraft:block" +                                          }, +                                          "type": "minecraft:condition"                                          },                                          { -                                          "type": "minecraft:block",                                            "result_state": {                                              "Name": "minecraft:gravel" -                                          } +                                          }, +                                          "type": "minecraft:block"                                          } -                                      ] -                                    } +                                      ], +                                      "type": "minecraft:sequence" +                                    }, +                                    "type": "minecraft:condition"                                    },                                    { -                                    "type": "minecraft:block",                                      "result_state": {                                        "Name": "minecraft:stone" -                                    } +                                    }, +                                    "type": "minecraft:block"                                    } -                                ] -                              } +                                ], +                                "type": "minecraft:sequence" +                              }, +                              "type": "minecraft:condition"                              },                              { -                              "type": "minecraft:condition",                                "if_true": { -                                "type": "minecraft:biome",                                  "biome_is": [                                    "minecraft:windswept_hills" -                                ] +                                ], +                                "type": "minecraft:biome"                                },                                "then_run": { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:surface", +                                  "max_threshold": 1.7976931348623157e+308,                                    "min_threshold": 0.12121212121212122, -                                  "max_threshold": 1.7976931348623157e+308 +                                  "noise": "minecraft:surface", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:stone" -                                  } -                                } -                              } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition" +                              }, +                              "type": "minecraft:condition"                              },                              { -                              "type": "minecraft:condition",                                "if_true": { -                                "type": "minecraft:biome",                                  "biome_is": [                                    "minecraft:warm_ocean",                                    "minecraft:beach",                                    "minecraft:snowy_beach" -                                ] +                                ], +                                "type": "minecraft:biome"                                },                                "then_run": { -                                "type": "minecraft:sequence",                                  "sequence": [                                    { -                                    "type": "minecraft:condition",                                      "if_true": { -                                      "type": "minecraft:stone_depth", +                                      "add_surface_depth": false,                                        "offset": 0, +                                      "secondary_depth_range": 0,                                        "surface_type": "ceiling", -                                      "add_surface_depth": false, -                                      "secondary_depth_range": 0 +                                      "type": "minecraft:stone_depth"                                      },                                      "then_run": { -                                      "type": "minecraft:block",                                        "result_state": {                                          "Name": "minecraft:sandstone" -                                      } -                                    } +                                      }, +                                      "type": "minecraft:block" +                                    }, +                                    "type": "minecraft:condition"                                    },                                    { -                                    "type": "minecraft:block",                                      "result_state": {                                        "Name": "minecraft:sand" -                                    } +                                    }, +                                    "type": "minecraft:block"                                    } -                                ] -                              } +                                ], +                                "type": "minecraft:sequence" +                              }, +                              "type": "minecraft:condition"                              },                              { -                              "type": "minecraft:condition",                                "if_true": { -                                "type": "minecraft:biome",                                  "biome_is": [                                    "minecraft:desert" -                                ] +                                ], +                                "type": "minecraft:biome"                                },                                "then_run": { -                                "type": "minecraft:sequence",                                  "sequence": [                                    { -                                    "type": "minecraft:condition",                                      "if_true": { -                                      "type": "minecraft:stone_depth", +                                      "add_surface_depth": false,                                        "offset": 0, +                                      "secondary_depth_range": 0,                                        "surface_type": "ceiling", -                                      "add_surface_depth": false, -                                      "secondary_depth_range": 0 +                                      "type": "minecraft:stone_depth"                                      },                                      "then_run": { -                                      "type": "minecraft:block",                                        "result_state": {                                          "Name": "minecraft:sandstone" -                                      } -                                    } +                                      }, +                                      "type": "minecraft:block" +                                    }, +                                    "type": "minecraft:condition"                                    },                                    { -                                    "type": "minecraft:block",                                      "result_state": {                                        "Name": "minecraft:sand" -                                    } +                                    }, +                                    "type": "minecraft:block"                                    } -                                ] -                              } +                                ], +                                "type": "minecraft:sequence" +                              }, +                              "type": "minecraft:condition"                              },                              { -                              "type": "minecraft:condition",                                "if_true": { -                                "type": "minecraft:biome",                                  "biome_is": [                                    "minecraft:dripstone_caves" -                                ] +                                ], +                                "type": "minecraft:biome"                                },                                "then_run": { -                                "type": "minecraft:block",                                  "result_state": {                                    "Name": "minecraft:stone" -                                } -                              } +                                }, +                                "type": "minecraft:block" +                              }, +                              "type": "minecraft:condition"                              } -                          ] +                          ], +                          "type": "minecraft:sequence"                          },                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:biome",                              "biome_is": [                                "minecraft:windswept_savanna" -                            ] +                            ], +                            "type": "minecraft:biome"                            },                            "then_run": { -                            "type": "minecraft:condition",                              "if_true": { -                              "type": "minecraft:noise_threshold", -                              "noise": "minecraft:surface", +                              "max_threshold": 1.7976931348623157e+308,                                "min_threshold": 0.21212121212121213, -                              "max_threshold": 1.7976931348623157e+308 +                              "noise": "minecraft:surface", +                              "type": "minecraft:noise_threshold"                              },                              "then_run": { -                              "type": "minecraft:block",                                "result_state": {                                  "Name": "minecraft:stone" -                              } -                            } -                          } +                              }, +                              "type": "minecraft:block" +                            }, +                            "type": "minecraft:condition" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:biome",                              "biome_is": [                                "minecraft:windswept_gravelly_hills" -                            ] +                            ], +                            "type": "minecraft:biome"                            },                            "then_run": { -                            "type": "minecraft:sequence",                              "sequence": [                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:surface", +                                  "max_threshold": 1.7976931348623157e+308,                                    "min_threshold": 0.24242424242424243, -                                  "max_threshold": 1.7976931348623157e+308 +                                  "noise": "minecraft:surface", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:sequence",                                    "sequence": [                                      { -                                      "type": "minecraft:condition",                                        "if_true": { -                                        "type": "minecraft:stone_depth", +                                        "add_surface_depth": false,                                          "offset": 0, +                                        "secondary_depth_range": 0,                                          "surface_type": "ceiling", -                                        "add_surface_depth": false, -                                        "secondary_depth_range": 0 +                                        "type": "minecraft:stone_depth"                                        },                                        "then_run": { -                                        "type": "minecraft:block",                                          "result_state": {                                            "Name": "minecraft:stone" -                                        } -                                      } +                                        }, +                                        "type": "minecraft:block" +                                      }, +                                      "type": "minecraft:condition"                                      },                                      { -                                      "type": "minecraft:block",                                        "result_state": {                                          "Name": "minecraft:gravel" -                                      } +                                      }, +                                      "type": "minecraft:block"                                      } -                                  ] -                                } +                                  ], +                                  "type": "minecraft:sequence" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:surface", +                                  "max_threshold": 1.7976931348623157e+308,                                    "min_threshold": 0.12121212121212122, -                                  "max_threshold": 1.7976931348623157e+308 +                                  "noise": "minecraft:surface", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:stone" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:condition",                                  "if_true": { -                                  "type": "minecraft:noise_threshold", -                                  "noise": "minecraft:surface", +                                  "max_threshold": 1.7976931348623157e+308,                                    "min_threshold": -0.12121212121212122, -                                  "max_threshold": 1.7976931348623157e+308 +                                  "noise": "minecraft:surface", +                                  "type": "minecraft:noise_threshold"                                  },                                  "then_run": { -                                  "type": "minecraft:block",                                    "result_state": {                                      "Name": "minecraft:dirt" -                                  } -                                } +                                  }, +                                  "type": "minecraft:block" +                                }, +                                "type": "minecraft:condition"                                },                                { -                                "type": "minecraft:sequence",                                  "sequence": [                                    { -                                    "type": "minecraft:condition",                                      "if_true": { -                                      "type": "minecraft:stone_depth", +                                      "add_surface_depth": false,                                        "offset": 0, +                                      "secondary_depth_range": 0,                                        "surface_type": "ceiling", -                                      "add_surface_depth": false, -                                      "secondary_depth_range": 0 +                                      "type": "minecraft:stone_depth"                                      },                                      "then_run": { -                                      "type": "minecraft:block",                                        "result_state": {                                          "Name": "minecraft:stone" -                                      } -                                    } +                                      }, +                                      "type": "minecraft:block" +                                    }, +                                    "type": "minecraft:condition"                                    },                                    { -                                    "type": "minecraft:block",                                      "result_state": {                                        "Name": "minecraft:gravel" -                                    } +                                    }, +                                    "type": "minecraft:block"                                    } -                                ] +                                ], +                                "type": "minecraft:sequence"                                } -                            ] -                          } +                            ], +                            "type": "minecraft:sequence" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:biome",                              "biome_is": [                                "minecraft:mangrove_swamp" -                            ] +                            ], +                            "type": "minecraft:biome"                            },                            "then_run": { -                            "type": "minecraft:block",                              "result_state": {                                "Name": "minecraft:mud" -                            } -                          } +                            }, +                            "type": "minecraft:block" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:block",                            "result_state": {                              "Name": "minecraft:dirt" -                          } +                          }, +                          "type": "minecraft:block"                          } -                      ] -                    } +                      ], +                      "type": "minecraft:sequence" +                    }, +                    "type": "minecraft:condition"                    },                    { -                    "type": "minecraft:condition",                      "if_true": { -                      "type": "minecraft:biome",                        "biome_is": [                          "minecraft:warm_ocean",                          "minecraft:beach",                          "minecraft:snowy_beach" -                      ] +                      ], +                      "type": "minecraft:biome"                      },                      "then_run": { -                      "type": "minecraft:condition",                        "if_true": { -                        "type": "minecraft:stone_depth", +                        "add_surface_depth": true,                          "offset": 0, +                        "secondary_depth_range": 6,                          "surface_type": "floor", -                        "add_surface_depth": true, -                        "secondary_depth_range": 6 +                        "type": "minecraft:stone_depth"                        },                        "then_run": { -                        "type": "minecraft:block",                          "result_state": {                            "Name": "minecraft:sandstone" -                        } -                      } -                    } +                        }, +                        "type": "minecraft:block" +                      }, +                      "type": "minecraft:condition" +                    }, +                    "type": "minecraft:condition"                    },                    { -                    "type": "minecraft:condition",                      "if_true": { -                      "type": "minecraft:biome",                        "biome_is": [                          "minecraft:desert" -                      ] +                      ], +                      "type": "minecraft:biome"                      },                      "then_run": { -                      "type": "minecraft:condition",                        "if_true": { -                        "type": "minecraft:stone_depth", +                        "add_surface_depth": true,                          "offset": 0, +                        "secondary_depth_range": 30,                          "surface_type": "floor", -                        "add_surface_depth": true, -                        "secondary_depth_range": 30 +                        "type": "minecraft:stone_depth"                        },                        "then_run": { -                        "type": "minecraft:block",                          "result_state": {                            "Name": "minecraft:sandstone" -                        } -                      } -                    } +                        }, +                        "type": "minecraft:block" +                      }, +                      "type": "minecraft:condition" +                    }, +                    "type": "minecraft:condition"                    } -                ] -              } +                ], +                "type": "minecraft:sequence" +              }, +              "type": "minecraft:condition"              },              { -              "type": "minecraft:condition",                "if_true": { -                "type": "minecraft:stone_depth", +                "add_surface_depth": false,                  "offset": 0, +                "secondary_depth_range": 0,                  "surface_type": "floor", -                "add_surface_depth": false, -                "secondary_depth_range": 0 +                "type": "minecraft:stone_depth"                },                "then_run": { -                "type": "minecraft:sequence",                  "sequence": [                    { -                    "type": "minecraft:condition",                      "if_true": { -                      "type": "minecraft:biome",                        "biome_is": [                          "minecraft:frozen_peaks",                          "minecraft:jagged_peaks" -                      ] +                      ], +                      "type": "minecraft:biome"                      },                      "then_run": { -                      "type": "minecraft:block",                        "result_state": {                          "Name": "minecraft:stone" -                      } -                    } +                      }, +                      "type": "minecraft:block" +                    }, +                    "type": "minecraft:condition"                    },                    { -                    "type": "minecraft:condition",                      "if_true": { -                      "type": "minecraft:biome",                        "biome_is": [                          "minecraft:warm_ocean",                          "minecraft:lukewarm_ocean",                          "minecraft:deep_lukewarm_ocean" -                      ] +                      ], +                      "type": "minecraft:biome"                      },                      "then_run": { -                      "type": "minecraft:sequence",                        "sequence": [                          { -                          "type": "minecraft:condition",                            "if_true": { -                            "type": "minecraft:stone_depth", +                            "add_surface_depth": false,                              "offset": 0, +                            "secondary_depth_range": 0,                              "surface_type": "ceiling", -                            "add_surface_depth": false, -                            "secondary_depth_range": 0 +                            "type": "minecraft:stone_depth"                            },                            "then_run": { -                            "type": "minecraft:block",                              "result_state": {                                "Name": "minecraft:sandstone" -                            } -                          } +                            }, +                            "type": "minecraft:block" +                          }, +                          "type": "minecraft:condition"                          },                          { -                          "type": "minecraft:block",                            "result_state": {                              "Name": "minecraft:sand" -                          } +                          }, +                          "type": "minecraft:block"                          } -                      ] -                    } +                      ], +                      "type": "minecraft:sequence" +                    }, +                    "type": "minecraft:condition"                    },                    { -                    "type": "minecraft:sequence",                      "sequence": [                        { -                        "type": "minecraft:condition",                          "if_true": { -                          "type": "minecraft:stone_depth", +                          "add_surface_depth": false,                            "offset": 0, +                          "secondary_depth_range": 0,                            "surface_type": "ceiling", -                          "add_surface_depth": false, -                          "secondary_depth_range": 0 +                          "type": "minecraft:stone_depth"                          },                          "then_run": { -                          "type": "minecraft:block",                            "result_state": {                              "Name": "minecraft:stone" -                          } -                        } +                          }, +                          "type": "minecraft:block" +                        }, +                        "type": "minecraft:condition"                        },                        { -                        "type": "minecraft:block",                          "result_state": {                            "Name": "minecraft:gravel" -                        } +                        }, +                        "type": "minecraft:block"                        } -                    ] +                    ], +                    "type": "minecraft:sequence"                    } -                ] -              } +                ], +                "type": "minecraft:sequence" +              }, +              "type": "minecraft:condition"              } -          ] -        } +          ], +          "type": "minecraft:sequence" +        }, +        "type": "minecraft:condition"        },        { -        "type": "minecraft:condition",          "if_true": { -          "type": "minecraft:vertical_gradient", +          "false_at_and_above": { +            "absolute": 8 +          },            "random_name": "minecraft:deepslate",            "true_at_and_below": {              "absolute": 0            }, -          "false_at_and_above": { -            "absolute": 8 -          } +          "type": "minecraft:vertical_gradient"          },          "then_run": { -          "type": "minecraft:block",            "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/ancient_city.json b/data/minecraft/worldgen/structure/ancient_city.json index 5123d6e..f83ac23 100644 --- a/data/minecraft/worldgen/structure/ancient_city.json +++ b/data/minecraft/worldgen/structure/ancient_city.json @@ -1,7 +1,7 @@  { -  "type": "minecraft:jigsaw",    "biomes": "#minecraft:has_structure/ancient_city", -  "step": "underground_decoration", +  "max_distance_from_center": 116, +  "size": 7,    "spawn_overrides": {      "ambient": {        "bounding_box": "full", @@ -36,12 +36,12 @@        "spawns": []      }    }, -  "terrain_adaptation": "beard_box", -  "start_pool": "minecraft:ancient_city/city_center", -  "size": 7,    "start_height": {      "absolute": -27    }, -  "max_distance_from_center": 116, +  "start_pool": "minecraft:ancient_city/city_center", +  "step": "underground_decoration", +  "terrain_adaptation": "beard_box", +  "type": "minecraft:jigsaw",    "use_expansion_hack": false -} +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/structure/desert_pyramid.json b/data/minecraft/worldgen/structure/desert_pyramid.json index 8a7f761..cae5983 100644 --- a/data/minecraft/worldgen/structure/desert_pyramid.json +++ b/data/minecraft/worldgen/structure/desert_pyramid.json @@ -1,19 +1,19 @@  { -  "type": "minecraft:jigsaw",    "biomes": "#minecraft:has_structure/desert_pyramid", -  "step": "surface_structures", +  "max_distance_from_center": 1, +  "size": 1,    "spawn_overrides": {}, -	"start_pool": "vanilla_skyblock:desert_pyramid", -	"max_distance_from_center": 1, -	"size": 1, -	"start_height": { -    "type": "minecraft:very_biased_to_bottom", +  "start_height": { +    "max_inclusive": { +      "below_top": 0 +    },      "min_inclusive": {        "above_bottom": 0      }, -    "max_inclusive": { -      "below_top": 0 -    } -	}, +    "type": "minecraft:very_biased_to_bottom" +  }, +  "start_pool": "vanilla_skyblock:desert_pyramid", +  "step": "surface_structures", +  "type": "minecraft:jigsaw",    "use_expansion_hack": false -} +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/structure/end_city.json b/data/minecraft/worldgen/structure/end_city.json index 3ab736f..2ecf113 100644 --- a/data/minecraft/worldgen/structure/end_city.json +++ b/data/minecraft/worldgen/structure/end_city.json @@ -1,19 +1,19 @@  { -	"type": "minecraft:jigsaw", -	"biomes": "#minecraft:has_structure/end_city", -	"step": "surface_structures", -	"spawn_overrides": {}, -	"start_pool": "vanilla_skyblock:end_city", -	"max_distance_from_center": 1, -	"size": 1, -	"start_height": { -    "type": "minecraft:uniform", +  "biomes": "#minecraft:has_structure/end_city", +  "max_distance_from_center": 1, +  "size": 1, +  "spawn_overrides": {}, +  "start_height": { +    "max_inclusive": { +      "below_top": 0 +    },      "min_inclusive": {        "above_bottom": 0      }, -    "max_inclusive": { -      "below_top": 0 -    } -	}, -	"use_expansion_hack": false -} +    "type": "minecraft:uniform" +  }, +  "start_pool": "vanilla_skyblock:end_city", +  "step": "surface_structures", +  "type": "minecraft:jigsaw", +  "use_expansion_hack": false +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/structure/fortress.json b/data/minecraft/worldgen/structure/fortress.json index 1b5f723..89a28cd 100644 --- a/data/minecraft/worldgen/structure/fortress.json +++ b/data/minecraft/worldgen/structure/fortress.json @@ -1,55 +1,55 @@  { -  "type": "minecraft:jigsaw",    "biomes": "#minecraft:has_structure/nether_fortress", -  "step": "underground_decoration", +  "max_distance_from_center": 1, +  "size": 1,    "spawn_overrides": {      "monster": {        "bounding_box": "piece",        "spawns": [          { -          "type": "minecraft:blaze",            "maxCount": 3,            "minCount": 2, +          "type": "minecraft:blaze",            "weight": 10          },          { -          "type": "minecraft:zombified_piglin",            "maxCount": 4,            "minCount": 4, +          "type": "minecraft:zombified_piglin",            "weight": 5          },          { -          "type": "minecraft:wither_skeleton",            "maxCount": 5,            "minCount": 5, +          "type": "minecraft:wither_skeleton",            "weight": 8          },          { -          "type": "minecraft:skeleton",            "maxCount": 5,            "minCount": 5, +          "type": "minecraft:skeleton",            "weight": 2          },          { -          "type": "minecraft:magma_cube",            "maxCount": 4,            "minCount": 4, +          "type": "minecraft:magma_cube",            "weight": 3          }        ]      }    }, -	"start_pool": "vanilla_skyblock:fortress", -	"max_distance_from_center": 1, -	"size": 1, -	"start_height": { -    "type": "minecraft:biased_to_bottom", +  "start_height": { +    "max_inclusive": { +      "below_top": 0 +    },      "min_inclusive": {        "above_bottom": 0      }, -    "max_inclusive": { -      "below_top": 0 -    } -	}, +    "type": "minecraft:biased_to_bottom" +  }, +  "start_pool": "vanilla_skyblock:empty_full", +  "step": "underground_decoration", +  "type": "minecraft:jigsaw",    "use_expansion_hack": false -} +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/structure/igloo.json b/data/minecraft/worldgen/structure/igloo.json index e37f954..7e2af00 100644 --- a/data/minecraft/worldgen/structure/igloo.json +++ b/data/minecraft/worldgen/structure/igloo.json @@ -1,19 +1,19 @@  { -  "type": "minecraft:jigsaw",    "biomes": "#minecraft:has_structure/igloo", -  "step": "surface_structures", +  "max_distance_from_center": 1, +  "size": 1,    "spawn_overrides": {}, -	"start_pool": "vanilla_skyblock:empty_16", -	"max_distance_from_center": 1, -	"size": 1, -	"start_height": { -    "type": "minecraft:uniform", +  "start_height": { +    "max_inclusive": { +      "below_top": 0 +    },      "min_inclusive": {        "above_bottom": 0      }, -    "max_inclusive": { -      "below_top": 0 -    } -	}, -	"use_expansion_hack": false -} +    "type": "minecraft:uniform" +  }, +  "start_pool": "vanilla_skyblock:empty_16", +  "step": "surface_structures", +  "type": "minecraft:jigsaw", +  "use_expansion_hack": false +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/structure/monument.json b/data/minecraft/worldgen/structure/monument.json index fc89fa7..210441d 100644 --- a/data/minecraft/worldgen/structure/monument.json +++ b/data/minecraft/worldgen/structure/monument.json @@ -1,7 +1,7 @@  { -  "type": "minecraft:jigsaw",    "biomes": "#minecraft:has_structure/ocean_monument", -  "step": "surface_structures", +  "max_distance_from_center": 1, +  "size": 1,    "spawn_overrides": {      "axolotls": {        "bounding_box": "full", @@ -11,10 +11,10 @@        "bounding_box": "full",        "spawns": [          { -          "type": "minecraft:guardian", -          "weight": 1, +          "maxCount": 4,            "minCount": 2, -          "maxCount": 4 +          "type": "minecraft:guardian", +          "weight": 1          }        ]      }, @@ -23,17 +23,17 @@        "spawns": []      }    }, -	"start_pool": "vanilla:empty_full", -	"max_distance_from_center": 1, -	"size": 1, -	"start_height": { -    "type": "minecraft:biased_to_bottom", +  "start_height": { +    "max_inclusive": { +      "below_top": 0 +    },      "min_inclusive": {        "above_bottom": 0      }, -    "max_inclusive": { -      "below_top": 0 -    } -	}, -	"use_expansion_hack": false -} +    "type": "minecraft:biased_to_bottom" +  }, +  "start_pool": "vanilla_skyblock:empty_full", +  "step": "surface_structures", +  "type": "minecraft:jigsaw", +  "use_expansion_hack": false +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/structure/ocean_ruin_cold.json b/data/minecraft/worldgen/structure/ocean_ruin_cold.json index ad12c20..92eff67 100644 --- a/data/minecraft/worldgen/structure/ocean_ruin_cold.json +++ b/data/minecraft/worldgen/structure/ocean_ruin_cold.json @@ -1,22 +1,22 @@  { -  "type": "minecraft:jigsaw", -  "biomes": "#minecraft:has_structure/ocean_ruin_cold", -  "step": "surface_structures", -  "spawn_overrides": {},    "biome_temp": "cold", -  "large_probability": 0.3, +  "biomes": "#minecraft:has_structure/ocean_ruin_cold",    "cluster_probability": 0.9, -	"start_pool": "vanilla_skyblock:ocean_ruin_cold", -	"max_distance_from_center": 1, -	"size": 1, -	"start_height": { -    "type": "minecraft:very_biased_to_bottom", +  "large_probability": 0.3, +  "max_distance_from_center": 1, +  "size": 1, +  "spawn_overrides": {}, +  "start_height": { +    "max_inclusive": { +      "below_top": 0 +    },      "min_inclusive": {        "above_bottom": 0      }, -    "max_inclusive": { -      "below_top": 0 -    } -	}, -	"use_expansion_hack": false -} +    "type": "minecraft:very_biased_to_bottom" +  }, +  "start_pool": "vanilla_skyblock:ocean_ruin_cold", +  "step": "surface_structures", +  "type": "minecraft:jigsaw", +  "use_expansion_hack": false +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/structure/ocean_ruin_warm.json b/data/minecraft/worldgen/structure/ocean_ruin_warm.json index 501acc2..d2d1a6a 100644 --- a/data/minecraft/worldgen/structure/ocean_ruin_warm.json +++ b/data/minecraft/worldgen/structure/ocean_ruin_warm.json @@ -1,22 +1,22 @@  { -  "type": "minecraft:jigsaw", -  "biomes": "#minecraft:has_structure/ocean_ruin_warm", -  "step": "surface_structures", -  "spawn_overrides": {},    "biome_temp": "warm", -  "large_probability": 0.3, +  "biomes": "#minecraft:has_structure/ocean_ruin_warm",    "cluster_probability": 0.9, -	"start_pool": "vanilla_skyblock:ocean_ruin_warm", -	"max_distance_from_center": 1, -	"size": 1, -	"start_height": { -    "type": "minecraft:very_biased_to_bottom", +  "large_probability": 0.3, +  "max_distance_from_center": 1, +  "size": 1, +  "spawn_overrides": {}, +  "start_height": { +    "max_inclusive": { +      "below_top": 0 +    },      "min_inclusive": {        "above_bottom": 0      }, -    "max_inclusive": { -      "below_top": 0 -    } -	}, -	"use_expansion_hack": false -} +    "type": "minecraft:very_biased_to_bottom" +  }, +  "start_pool": "vanilla_skyblock:ocean_ruin_warm", +  "step": "surface_structures", +  "type": "minecraft:jigsaw", +  "use_expansion_hack": false +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/structure/ruined_portal.json b/data/minecraft/worldgen/structure/ruined_portal.json index 4651ce2..a7c0f9d 100644 --- a/data/minecraft/worldgen/structure/ruined_portal.json +++ b/data/minecraft/worldgen/structure/ruined_portal.json @@ -1,41 +1,41 @@  { -  "type": "minecraft:jigsaw",    "biomes": "#minecraft:has_structure/ruined_portal_standard", -  "step": "surface_structures", -  "spawn_overrides": {}, +  "max_distance_from_center": 1,    "setups": [      { -      "placement": "underground",        "air_pocket_probability": 1, +      "can_be_cold": true,        "mossiness": 0.2,        "overgrown": false, -      "vines": false, -      "can_be_cold": true, +      "placement": "underground",        "replace_with_blackstone": false, +      "vines": false,        "weight": 0.5      },      { -      "placement": "on_land_surface",        "air_pocket_probability": 0.5, +      "can_be_cold": true,        "mossiness": 0.2,        "overgrown": false, -      "vines": false, -      "can_be_cold": true, +      "placement": "on_land_surface",        "replace_with_blackstone": false, +      "vines": false,        "weight": 0.5      }    ], -  "start_pool": "vanilla_skyblock:empty_16", -  "max_distance_from_center": 1,    "size": 1, +  "spawn_overrides": {},    "start_height": { -    "type": "minecraft:uniform", +    "max_inclusive": { +      "below_top": 0 +    },      "min_inclusive": {        "above_bottom": 0      }, -    "max_inclusive": { -      "below_top": 0 -    } +    "type": "minecraft:uniform"    }, +  "start_pool": "vanilla_skyblock:empty_16", +  "step": "surface_structures", +  "type": "minecraft:jigsaw",    "use_expansion_hack": false -} +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/structure/ruined_portal_desert.json b/data/minecraft/worldgen/structure/ruined_portal_desert.json index 8416773..d46c886 100644 --- a/data/minecraft/worldgen/structure/ruined_portal_desert.json +++ b/data/minecraft/worldgen/structure/ruined_portal_desert.json @@ -1,31 +1,31 @@  { -  "type": "minecraft:jigsaw",    "biomes": "#minecraft:has_structure/ruined_portal_desert", -  "step": "surface_structures", -  "spawn_overrides": {}, +  "max_distance_from_center": 1,    "setups": [      { -      "placement": "partly_buried",        "air_pocket_probability": 0, +      "can_be_cold": false,        "mossiness": 0,        "overgrown": false, -      "vines": false, -      "can_be_cold": false, +      "placement": "partly_buried",        "replace_with_blackstone": false, +      "vines": false,        "weight": 1      }    ], -  "start_pool": "vanilla_skyblock:empty_16", -  "max_distance_from_center": 1,    "size": 1, +  "spawn_overrides": {},    "start_height": { -    "type": "minecraft:uniform", +    "max_inclusive": { +      "below_top": 0 +    },      "min_inclusive": {        "above_bottom": 0      }, -    "max_inclusive": { -      "below_top": 0 -    } +    "type": "minecraft:uniform"    }, +  "start_pool": "vanilla_skyblock:empty_16", +  "step": "surface_structures", +  "type": "minecraft:jigsaw",    "use_expansion_hack": false -} +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/structure/ruined_portal_jungle.json b/data/minecraft/worldgen/structure/ruined_portal_jungle.json new file mode 100644 index 0000000..a84ebd0 --- /dev/null +++ b/data/minecraft/worldgen/structure/ruined_portal_jungle.json @@ -0,0 +1,31 @@ +{ +  "biomes": "#minecraft:has_structure/ruined_portal_jungle", +  "max_distance_from_center": 1, +  "setups": [ +    { +      "air_pocket_probability": 0.5, +      "can_be_cold": false, +      "mossiness": 0.8, +      "overgrown": true, +      "placement": "on_land_surface", +      "replace_with_blackstone": false, +      "vines": true, +      "weight": 1 +    } +  ], +  "size": 1, +  "spawn_overrides": {}, +  "start_height": { +    "max_inclusive": { +      "below_top": 0 +    }, +    "min_inclusive": { +      "above_bottom": 0 +    }, +    "type": "minecraft:uniform" +  }, +  "start_pool": "vanilla_skyblock:empty_16", +  "step": "surface_structures", +  "type": "minecraft:jigsaw", +  "use_expansion_hack": false +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/structure/ruined_portal_mountain.json b/data/minecraft/worldgen/structure/ruined_portal_mountain.json new file mode 100644 index 0000000..49ee0c8 --- /dev/null +++ b/data/minecraft/worldgen/structure/ruined_portal_mountain.json @@ -0,0 +1,41 @@ +{ +  "biomes": "#minecraft:has_structure/ruined_portal_mountain", +  "max_distance_from_center": 1, +  "setups": [ +    { +      "air_pocket_probability": 1, +      "can_be_cold": true, +      "mossiness": 0.2, +      "overgrown": false, +      "placement": "in_mountain", +      "replace_with_blackstone": false, +      "vines": false, +      "weight": 0.5 +    }, +    { +      "air_pocket_probability": 0.5, +      "can_be_cold": true, +      "mossiness": 0.2, +      "overgrown": false, +      "placement": "on_land_surface", +      "replace_with_blackstone": false, +      "vines": false, +      "weight": 0.5 +    } +  ], +  "size": 1, +  "spawn_overrides": {}, +  "start_height": { +    "max_inclusive": { +      "below_top": 0 +    }, +    "min_inclusive": { +      "above_bottom": 0 +    }, +    "type": "minecraft:uniform" +  }, +  "start_pool": "vanilla_skyblock:empty_16", +  "step": "surface_structures", +  "type": "minecraft:jigsaw", +  "use_expansion_hack": false +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/structure/ruined_portal_nether.json b/data/minecraft/worldgen/structure/ruined_portal_nether.json new file mode 100644 index 0000000..a6d7970 --- /dev/null +++ b/data/minecraft/worldgen/structure/ruined_portal_nether.json @@ -0,0 +1,31 @@ +{ +  "biomes": "#minecraft:has_structure/ruined_portal_nether", +  "max_distance_from_center": 1, +  "setups": [ +    { +      "air_pocket_probability": 0.5, +      "can_be_cold": false, +      "mossiness": 0, +      "overgrown": false, +      "placement": "in_nether", +      "replace_with_blackstone": true, +      "vines": false, +      "weight": 1 +    } +  ], +  "size": 1, +  "spawn_overrides": {}, +  "start_height": { +    "max_inclusive": { +      "below_top": 0 +    }, +    "min_inclusive": { +      "above_bottom": 0 +    }, +    "type": "minecraft:uniform" +  }, +  "start_pool": "vanilla_skyblock:empty_16", +  "step": "surface_structures", +  "type": "minecraft:jigsaw", +  "use_expansion_hack": false +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/structure/ruined_portal_ocean.json b/data/minecraft/worldgen/structure/ruined_portal_ocean.json new file mode 100644 index 0000000..2be9ac1 --- /dev/null +++ b/data/minecraft/worldgen/structure/ruined_portal_ocean.json @@ -0,0 +1,31 @@ +{ +  "biomes": "#minecraft:has_structure/ruined_portal_ocean", +  "max_distance_from_center": 1, +  "setups": [ +    { +      "air_pocket_probability": 0, +      "can_be_cold": true, +      "mossiness": 0.8, +      "overgrown": false, +      "placement": "on_ocean_floor", +      "replace_with_blackstone": false, +      "vines": false, +      "weight": 1 +    } +  ], +  "size": 1, +  "spawn_overrides": {}, +  "start_height": { +    "max_inclusive": { +      "below_top": 0 +    }, +    "min_inclusive": { +      "above_bottom": 0 +    }, +    "type": "minecraft:uniform" +  }, +  "start_pool": "vanilla_skyblock:empty_16", +  "step": "surface_structures", +  "type": "minecraft:jigsaw", +  "use_expansion_hack": false +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/structure/ruined_portal_swamp.json b/data/minecraft/worldgen/structure/ruined_portal_swamp.json new file mode 100644 index 0000000..513d2c1 --- /dev/null +++ b/data/minecraft/worldgen/structure/ruined_portal_swamp.json @@ -0,0 +1,31 @@ +{ +  "biomes": "#minecraft:has_structure/ruined_portal_swamp", +  "max_distance_from_center": 1, +  "setups": [ +    { +      "air_pocket_probability": 0, +      "can_be_cold": false, +      "mossiness": 0.5, +      "overgrown": false, +      "placement": "on_ocean_floor", +      "replace_with_blackstone": false, +      "vines": true, +      "weight": 1 +    } +  ], +  "size": 1, +  "spawn_overrides": {}, +  "start_height": { +    "max_inclusive": { +      "below_top": 0 +    }, +    "min_inclusive": { +      "above_bottom": 0 +    }, +    "type": "minecraft:uniform" +  }, +  "start_pool": "vanilla_skyblock:empty_16", +  "step": "surface_structures", +  "type": "minecraft:jigsaw", +  "use_expansion_hack": false +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/structure/shipwreck.json b/data/minecraft/worldgen/structure/shipwreck.json index 5df556c..311991b 100644 --- a/data/minecraft/worldgen/structure/shipwreck.json +++ b/data/minecraft/worldgen/structure/shipwreck.json @@ -1,20 +1,20 @@  { -  "type": "minecraft:jigsaw",    "biomes": "#minecraft:has_structure/shipwreck", -  "step": "surface_structures", -  "spawn_overrides": {},    "is_beached": false, -	"start_pool": "vanilla_skyblock:empty_16", -	"max_distance_from_center": 1, -	"size": 1, -	"start_height": { -    "type": "minecraft:uniform", +  "max_distance_from_center": 1, +  "size": 1, +  "spawn_overrides": {}, +  "start_height": { +    "max_inclusive": { +      "below_top": 0 +    },      "min_inclusive": {        "above_bottom": 0      }, -    "max_inclusive": { -      "below_top": 0 -    } -	}, -	"use_expansion_hack": false -} +    "type": "minecraft:uniform" +  }, +  "start_pool": "vanilla_skyblock:empty_16", +  "step": "surface_structures", +  "type": "minecraft:jigsaw", +  "use_expansion_hack": false +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/structure/shipwreck_beached.json b/data/minecraft/worldgen/structure/shipwreck_beached.json index 56e8774..f4e861f 100644 --- a/data/minecraft/worldgen/structure/shipwreck_beached.json +++ b/data/minecraft/worldgen/structure/shipwreck_beached.json @@ -1,20 +1,20 @@  { -  "type": "minecraft:jigsaw",    "biomes": "#minecraft:has_structure/shipwreck_beached", -  "step": "surface_structures", -  "spawn_overrides": {},    "is_beached": true, -	"start_pool": "vanilla_skyblock:empty_16", -	"max_distance_from_center": 1, -	"size": 1, -	"start_height": { -    "type": "minecraft:uniform", +  "max_distance_from_center": 1, +  "size": 1, +  "spawn_overrides": {}, +  "start_height": { +    "max_inclusive": { +      "below_top": 0 +    },      "min_inclusive": {        "above_bottom": 0      }, -    "max_inclusive": { -      "below_top": 0 -    } -	}, -	"use_expansion_hack": false -} +    "type": "minecraft:uniform" +  }, +  "start_pool": "vanilla_skyblock:empty_16", +  "step": "surface_structures", +  "type": "minecraft:jigsaw", +  "use_expansion_hack": false +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/structure/stronghold.json b/data/minecraft/worldgen/structure/stronghold.json index 1c95ac2..e647cd4 100644 --- a/data/minecraft/worldgen/structure/stronghold.json +++ b/data/minecraft/worldgen/structure/stronghold.json @@ -1,20 +1,20 @@  { -	"type": "minecraft:jigsaw", -	"biomes": "#minecraft:has_structure/stronghold", -	"step": "surface_structures", -  "terrain_adaption": "bury", -	"spawn_overrides": {}, -	"start_pool": "vanilla_skyblock:stronghold", -	"max_distance_from_center": 1, -	"size": 1, -	"start_height": { -    "type": "minecraft:very_biased_to_bottom", +  "biomes": "#minecraft:has_structure/stronghold", +  "max_distance_from_center": 1, +  "size": 1, +  "spawn_overrides": {}, +  "start_height": { +    "max_inclusive": { +      "below_top": 0 +    },      "min_inclusive": {        "above_bottom": 0      }, -    "max_inclusive": { -      "below_top": 0 -    } -	}, -	"use_expansion_hack": false -} +    "type": "minecraft:very_biased_to_bottom" +  }, +  "start_pool": "vanilla_skyblock:stronghold", +  "step": "surface_structures", +  "terrain_adaptation": "bury", +  "type": "minecraft:jigsaw", +  "use_expansion_hack": false +}
\ No newline at end of file diff --git a/data/minecraft/worldgen/structure/trail_ruins.json b/data/minecraft/worldgen/structure/trail_ruins.json index 817b3cc..c8bfa95 100644 --- a/data/minecraft/worldgen/structure/trail_ruins.json +++ b/data/minecraft/worldgen/structure/trail_ruins.json @@ -1,14 +1,14 @@  { -  "type": "minecraft:jigsaw",    "biomes": "#minecraft:has_structure/trail_ruins", -  "step": "underground_structures", -  "spawn_overrides": {}, -  "terrain_adaptation": "bury", -  "start_pool": "minecraft:trail_ruins/tower", +  "max_distance_from_center": 80,    "size": 7, +  "spawn_overrides": {},    "start_height": {      "absolute": -15    }, -  "max_distance_from_center": 80, +  "start_pool": "minecraft:trail_ruins/tower", +  "step": "underground_structures", +  "terrain_adaptation": "bury", +  "type": "minecraft:jigsaw",    "use_expansion_hack": false -} +}
\ No newline at end of file diff --git a/data/vanilla_skyblock/function/initialize.mcfunction b/data/vanilla_skyblock/function/initialize.mcfunction index 5a0f179..9aa7c02 100644 --- a/data/vanilla_skyblock/function/initialize.mcfunction +++ b/data/vanilla_skyblock/function/initialize.mcfunction @@ -19,11 +19,9 @@ 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 item replace block 4 64 0 container.26 with obsidian 10 -execute in overworld run setblock 0 60 0 chest[facing=north] -execute in the_nether run item replace block 0 60 0 container.0 with sweet_berries 1 -#execute in overworld run item replace block 0 60 0 container.1 with sniffer_egg 2 +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 diff --git a/data/vanilla_skyblock/structure/ancient_city.nbt b/data/vanilla_skyblock/structure/ancient_city.nbtBinary files differ new file mode 100644 index 0000000..7b1394d --- /dev/null +++ b/data/vanilla_skyblock/structure/ancient_city.nbt diff --git a/index.js b/index.js new file mode 100644 index 0000000..5c4c8ca --- /dev/null +++ b/index.js @@ -0,0 +1,288 @@ +const path = require('path'); +const fs = require('fs'); +const { execSync } = require('child_process'); + +const { jigsawConversion } = require('./src/worldgen/structure/index.js'); +const { TemplatePool, JigsawStartHeight } = require('./src/enum.js'); + + +const mcmetaPath = path.resolve(__dirname, 'mcmeta'); +execSync(`cd ${mcmetaPath} && git checkout 1.21-data`); + + +function getMetaData(dataPath) { +  return JSON.parse( +    fs.readFileSync( +      path.resolve(mcmetaPath, `data/minecraft/${dataPath}.json`), +      'utf8' +    ) +  ); +} + + +function writeData(namespace, dataPath, data) { +  // sort keys +  const allKeys = new Set(); +  JSON.stringify(data, (key, value) => (allKeys.add(key), value)); +  const sortedKeys = Array.from(allKeys).sort(); + +  // write file +  return fs.writeFileSync( +    path.resolve(__dirname, `data/${namespace}/${dataPath}.json`), +    JSON.stringify(data, sortedKeys, 2) +  ); +} + +function overwriteData(dataPath, data) { +  return writeData('minecraft', dataPath, data); +} + + + +/* + * worldgen/noise_settings + */ + +function getWorldgenNoiseSettingsMeta(name) { +  return getMetaData(`worldgen/noise_settings/${name}`); +} + +function overwriteWorldgenNoiseSettings(name, data) { +  return overwriteData(`worldgen/noise_settings/${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, + +    Name: 'minecraft:air', +  }, +  noise: { +    ...overworld.noise, + +    min_y: 0, +    height: 320, +  }, +}); +overwriteWorldgenNoiseSettings('overworld', overworld); + +// nether +const nether = getWorldgenNoiseSettingsMeta('nether'); +Object.assign(nether, { +  default_block: { +    ...nether.default_block, + +    Name: 'minecraft:air', +  }, +  default_fluid: { +    ...nether.default_fluid, + +    Name: 'minecraft:air', +  }, +}); +overwriteWorldgenNoiseSettings('nether', nether); + +// end +const end = getWorldgenNoiseSettingsMeta('end'); +Object.assign(end, { +  default_block: { +    ...end.default_block, + +    Name: 'minecraft:air', +  }, +}); +overwriteWorldgenNoiseSettings('end', end); + + + +/* + * worldgen/structure + */ + +function getWorldgenStructureMeta(name) { +  return getMetaData(`worldgen/structure/${name}`); +} + +function overwriteWorldgenStructure(name, data) { +  return overwriteData(`worldgen/structure/${name}`, data); +} + + +// ancient city +const ancientCity = getWorldgenStructureMeta('ancient_city'); +delete ancientCity['start_jigsaw_name']; +overwriteWorldgenStructure('ancient_city', ancientCity); + +// desert pyramid +let desertPyramid = getWorldgenStructureMeta('desert_pyramid'); +desertPyramid = jigsawConversion(desertPyramid, { +	start_pool: 'vanilla_skyblock:desert_pyramid', +  start_height: JigsawStartHeight.VERY_BIASED_TO_BOTTOM, +}); +overwriteWorldgenStructure('desert_pyramid', desertPyramid); + +// end city +let endCity = getWorldgenStructureMeta('end_city'); +endCity = jigsawConversion(endCity, { +	start_pool: 'vanilla_skyblock:end_city', +  start_height: JigsawStartHeight.UNIFORM, +}); +overwriteWorldgenStructure('end_city', endCity); + +// fortress +let fortress = getWorldgenStructureMeta('fortress'); +fortress = jigsawConversion(fortress, { +	start_pool: TemplatePool.EMPTY_FULL, +  start_height: JigsawStartHeight.BIASED_TO_BOTTOM, +}); +overwriteWorldgenStructure('fortress', fortress); + +// igloo +let igloo = getWorldgenStructureMeta('igloo'); +igloo = jigsawConversion(igloo, { +	start_pool: TemplatePool.EMPTY_16, +  start_height: JigsawStartHeight.UNIFORM, +}); +overwriteWorldgenStructure('igloo', igloo); + +// ocean monument +let monument = getWorldgenStructureMeta('monument'); +monument = jigsawConversion(monument, { +	start_pool: TemplatePool.EMPTY_FULL, +  start_height: JigsawStartHeight.BIASED_TO_BOTTOM, +}); +overwriteWorldgenStructure('monument', monument); + +// ocean ruin cold +let oceanRuinCold = getWorldgenStructureMeta('ocean_ruin_cold'); +oceanRuinCold = jigsawConversion(oceanRuinCold, { +  start_pool: 'vanilla_skyblock:ocean_ruin_cold', +  start_height: JigsawStartHeight.VERY_BIASED_TO_BOTTOM, +}); +overwriteWorldgenStructure('ocean_ruin_cold', oceanRuinCold); + +// ocean ruin cold +let oceanRuinWarm = getWorldgenStructureMeta('ocean_ruin_warm'); +oceanRuinWarm = jigsawConversion(oceanRuinWarm, { +  start_pool: 'vanilla_skyblock:ocean_ruin_warm', +  start_height: JigsawStartHeight.VERY_BIASED_TO_BOTTOM, +}); +overwriteWorldgenStructure('ocean_ruin_warm', oceanRuinWarm); + +// ruined portal +let ruinedPortal = getWorldgenStructureMeta('ruined_portal'); +ruinedPortal = jigsawConversion(ruinedPortal, { +  start_pool: TemplatePool.EMPTY_16, +  start_height: JigsawStartHeight.UNIFORM, +}); +overwriteWorldgenStructure('ruined_portal', ruinedPortal); + +// ruined portal +const ruinedPortals = [ +  'ruined_portal', +  'ruined_portal_desert', +  'ruined_portal_jungle', +  'ruined_portal_mountain', +  'ruined_portal_nether', +  'ruined_portal_ocean', +  'ruined_portal_swamp', +]; +for (const structure of ruinedPortals) { +  let ruinedPortal = getWorldgenStructureMeta(structure); +  ruinedPortal = jigsawConversion(ruinedPortal, { +    start_pool: TemplatePool.EMPTY_16, +    start_height: JigsawStartHeight.UNIFORM, +  }); +  overwriteWorldgenStructure(structure, ruinedPortal); +} + +// shipwreck +const shipwrecks = [ +  'shipwreck', +  'shipwreck_beached', +]; +for (const structure of shipwrecks) { +  let shipwreck = getWorldgenStructureMeta(structure); +  shipwreck = jigsawConversion(shipwreck, { +    start_pool: TemplatePool.EMPTY_16, +    start_height: JigsawStartHeight.UNIFORM, +  }); +  overwriteWorldgenStructure(structure, shipwreck); +} + +// stronhold +let stronghold = getWorldgenStructureMeta('stronghold'); +stronghold = jigsawConversion(stronghold, { +  start_pool: 'vanilla_skyblock:stronghold', +  start_height: JigsawStartHeight.VERY_BIASED_TO_BOTTOM, +}); +overwriteWorldgenStructure('stronghold', stronghold); + +// trail ruins +const trailRuins = getWorldgenStructureMeta('trail_ruins'); +delete trailRuins['project_start_to_heightmap']; +overwriteWorldgenStructure('trail_ruins', trailRuins); + + + +/* + * worldgen/noise + */ + +const noisesToSilence = [ +  'iceberg_pillar', +  'iceberg_pillar_roof', +  'iceberg_surface', +]; +for (const noise of noisesToSilence) { +  const noiseData = getMetaData(`worldgen/noise/${noise}`); +  Object.assign(noiseData, { +    firstOctave: 0, +    amplitudes: [], +  }); +  overwriteData(`worldgen/noise/${noise}`, noiseData); +} + + + +/* + * worldgen/configured_feature + */ + +const featuresToRemove = [ +  'end_island', +  'iceberg_blue', +  'iceberg_packed', +]; +for (const feature of featuresToRemove) { +  const featureData = getMetaData(`worldgen/configured_feature/${feature}`); +  Object.assign(featureData, { +    type: 'minecraft:fill_layer', +    config: { +      state: { +        Name: 'minecraft:air' +      }, +      height: 0, +    }, +  }); +  overwriteData(`worldgen/configured_feature/${feature}`, featureData); +} + + + +/* + * structure/*.nbt + */ + +// TODO if applicable check worldgen/structure.json for pool_start and get location of nbt files. +// write to nbt files accordingly diff --git a/json_strings.md b/json_strings.md index 8b0ef52..1035cbe 100644 --- a/json_strings.md +++ b/json_strings.md @@ -15,7 +15,7 @@ Suspicious Sand/Gravel:  {LootTable:"minecraft:archaeology/$LOOT_TABLE"}  ``` -$LOOT_TABLE: +`$LOOT_TABLE`:  - ocean_ruin_warm  - desert_pyramid  - desert_well diff --git a/mcmeta b/mcmeta new file mode 160000 +Subproject b174903c237b713b518b3a7dc29aba96c721031 diff --git a/src/enum.js b/src/enum.js new file mode 100644 index 0000000..f6b0dd7 --- /dev/null +++ b/src/enum.js @@ -0,0 +1,16 @@ +const TemplatePool = Object.freeze({ +  EMPTY_16: 'vanilla_skyblock:empty_16', +  EMPTY_FULL: 'vanilla_skyblock:empty_full', +}); + +const JigsawStartHeight = Object.freeze({ +  UNIFORM: Symbol('uniform'), +  BIASED_TO_BOTTOM: Symbol('biased_to_bottom'), +  VERY_BIASED_TO_BOTTOM: Symbol('very_biased_to_bottom'), +}); + + +module.exports = { +  TemplatePool, +  JigsawStartHeight, +}; diff --git a/src/worldgen/structure/index.js b/src/worldgen/structure/index.js new file mode 100644 index 0000000..8f19547 --- /dev/null +++ b/src/worldgen/structure/index.js @@ -0,0 +1,71 @@ +const { JigsawStartHeight } = require('../../enum.js'); + + +const jigsawConversionFields = { +  type: 'minecraft:jigsaw', +  start_pool: null, +	size: 1, +	start_height: { +    absolute: { +      value: 0, +    }, +	}, +	max_distance_from_center: 1, +	use_expansion_hack: false, +}; + +const jigsawStartHeightUniform = { +  type: 'minecraft:uniform', +  min_inclusive: { +    above_bottom: 0, +  }, +  max_inclusive: { +    below_top: 0, +  }, +}; + +const jigsawStartHeightBiasedToBottom = { +  type: 'minecraft:biased_to_bottom', +  min_inclusive: { +    above_bottom: 0, +  }, +  max_inclusive: { +    below_top: 0, +  }, +}; + +const jigsawStartHeightVeryBiasedToBottom = { +  type: 'minecraft:very_biased_to_bottom', +  min_inclusive: { +    above_bottom: 0, +  }, +  max_inclusive: { +    below_top: 0, +  }, +}; + + +function jigsawConversion(structure, fields) { +  fields = Object.assign({ +    ...jigsawConversionFields, +  }, fields); + +  if (fields.start_height === JigsawStartHeight.UNIFORM) { +    fields.start_height = jigsawStartHeightUniform; +  } +  else if (fields.start_height === JigsawStartHeight.BIASED_TO_BOTTOM) { +    fields.start_height = jigsawStartHeightBiasedToBottom; +  } +  else if (fields.start_height === JigsawStartHeight.VERY_BIASED_TO_BOTTOM) { +    fields.start_height = jigsawStartHeightVeryBiasedToBottom; +  } + +  return Object.assign({}, structure, fields); +} + + +module.exports = { +  jigsawConversionFields, +  jigsawStartHeightUniform, +  jigsawConversion, +}; | 
