{
  "type": "cawezs_mantle_to_stratus:heights",
  "generator": {
    "type": "minecraft:noise",
    "biome_source": {
      "type": "minecraft:multi_noise",
      "biomes": [
        {
          "biome": "cawezs_mantle_to_stratus:high_mesa",
          "parameters": {
            "temperature": 0,
            "humidity": 0,
            "continentalness": 0,
            "weirdness": 0,
            "erosion": 0,
            "depth": 0,
            "offset": 0
          }
        }
      ]
    },
    "settings": {
      "name": "cawezs_mantle_to_stratus:heights",
      "sea_level": 0,
      "legacy_random_source": true,
      "disable_mob_generation": false,
      "aquifers_enabled": false,
      "ore_veins_enabled": false,
      "default_block": {
        "Name": "minecraft:tuff"
      },
      "default_fluid": {
        "Name": "minecraft:water",
        "Properties": {
          "level": "0"
        }
      },
      "spawn_target": [],
      "noise": {
        "min_y": 0,
        "height": 128,
        "size_horizontal": 2,
        "size_vertical": 1,
        "island_noise_override": true
      },
      "noise_router": {
        "barrier": 0,
        "fluid_level_floodedness": 0,
        "fluid_level_spread": 0,
        "lava": 0,
        "temperature": 0,
        "vegetation": 0,
        "continents": 0,
        "erosion": {
          "type": "minecraft:cache_2d",
          "argument": {
            "type": "minecraft:end_islands"
          }
        },
        "depth": 0,
        "ridges": 0,
        "initial_density_without_jaggedness": {
          "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
            },
            "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": {
                      "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
                    },
                    "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"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "vein_toggle": 0,
        "vein_ridged": 0,
        "vein_gap": 0
      },
      "surface_rule": {
        "type": "minecraft:sequence",
        "sequence": [
          {
            "type": "minecraft:condition",
            "if_true": {
              "type": "minecraft:biome",
              "biome_is": [
                "cawezs_mantle_to_stratus:high_mesa"
              ]
            },
            "then_run": {
              "type": "minecraft:sequence",
              "sequence": [
                {
                  "type": "minecraft:condition",
                  "if_true": {
                    "type": "minecraft:stone_depth",
                    "surface_type": "floor",
                    "add_surface_depth": false,
                    "secondary_depth_range": 0,
                    "offset": 0
                  },
                  "then_run": {
                    "type": "minecraft:sequence",
                    "sequence": [
                      {
                        "type": "minecraft:condition",
                        "if_true": {
                          "type": "minecraft:water",
                          "offset": -1,
                          "surface_depth_multiplier": 0,
                          "add_stone_depth": false
                        },
                        "then_run": {
                          "type": "minecraft:block",
                          "result_state": {
                            "Name": "minecraft:purple_terracotta"
                          }
                        }
                      },
                      {
                        "type": "minecraft:block",
                        "result_state": {
                          "Name": "minecraft:stone"
                        }
                      }
                    ]
                  }
                },
                {
                  "type": "minecraft:condition",
                  "if_true": {
                    "type": "minecraft:stone_depth",
                    "surface_type": "floor",
                    "add_surface_depth": true,
                    "secondary_depth_range": 0,
                    "offset": 0
                  },
                  "then_run": {
                    "type": "minecraft:block",
                    "result_state": {
                      "Name": "minecraft:blue_terracotta"
                    }
                  }
                }
              ]
            }
          }
        ]
      }
    }
  }
}