{
  "sea_level": 63,
  "disable_mob_generation": false,
  "aquifers_enabled": false,
  "ore_veins_enabled": false,
  "legacy_random_source": false,
  "default_block": {
    "Name": "minecraft:jigsaw",
    "Properties": {
      "orientation": "down_north"
    }
  },
  "default_fluid": {
    "Name": "minecraft:water",
    "Properties": {
      "level": "0"
    }
  },
  "noise": {
    "min_y": -64,
    "height": 384,
    "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": "minecraft:overworld/continents",
    "erosion": "minecraft:overworld/erosion",
    "depth": "minecraft:overworld/depth",
    "ridges": "minecraft:overworld/ridges",
    "preliminary_surface_level": {
      "type": "minecraft:find_top_surface",
      "cell_height": 8,
      "density": {
        "type": "minecraft:add",
        "argument1": -0.390625,
        "argument2": {
          "type": "minecraft:add",
          "argument1": 0.1171875,
          "argument2": {
            "type": "minecraft:mul",
            "argument1": {
              "type": "minecraft:y_clamped_gradient",
              "from_value": 0.0,
              "from_y": -64,
              "to_value": 1.0,
              "to_y": -40
            },
            "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.0,
                    "from_y": 240,
                    "to_value": 0.0,
                    "to_y": 256
                  },
                  "argument2": {
                    "type": "minecraft:add",
                    "argument1": 0.078125,
                    "argument2": {
                      "type": "minecraft:clamp",
                      "input": {
                        "type": "minecraft:add",
                        "argument1": -0.703125,
                        "argument2": {
                          "type": "minecraft:mul",
                          "argument1": 4.0,
                          "argument2": {
                            "type": "minecraft:quarter_negative",
                            "argument": {
                              "type": "minecraft:mul",
                              "argument1": {
                                "type": "minecraft:add",
                                "argument1": {
                                  "type": "minecraft:y_clamped_gradient",
                                  "from_value": 1.5,
                                  "from_y": -64,
                                  "to_value": -1.5,
                                  "to_y": 320
                                },
                                "argument2": {
                                  "type": "minecraft:cache_2d",
                                  "argument": "minecraft:overworld/offset"
                                }
                              },
                              "argument2": {
                                "type": "minecraft:cache_2d",
                                "argument": "minecraft:overworld/factor"
                              }
                            }
                          }
                        }
                      },
                      "max": 64.0,
                      "min": -64.0
                    }
                  }
                }
              }
            }
          }
        }
      },
      "lower_bound": -64,
      "upper_bound": {
        "type": "minecraft:clamp",
        "input": {
          "type": "minecraft:add",
          "argument1": 128.0,
          "argument2": {
            "type": "minecraft:mul",
            "argument1": -128.0,
            "argument2": {
              "type": "minecraft:add",
              "argument1": {
                "type": "minecraft:mul",
                "argument1": 0.2734375,
                "argument2": {
                  "type": "minecraft:invert",
                  "argument": {
                    "type": "minecraft:cache_2d",
                    "argument": "minecraft:overworld/factor"
                  }
                }
              },
              "argument2": {
                "type": "minecraft:mul",
                "argument1": -1.0,
                "argument2": {
                  "type": "minecraft:cache_2d",
                  "argument": "minecraft:overworld/offset"
                }
              }
            }
          }
        },
        "max": 320.0,
        "min": -40.0
      }
    },
    "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.0,
                    "from_y": -64,
                    "to_value": 1.0,
                    "to_y": -40
                  },
                  "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.0,
                          "from_y": 240,
                          "to_value": 0.0,
                          "to_y": 256
                        },
                        "argument2": {
                          "type": "minecraft:add",
                          "argument1": 0.078125,
                          "argument2": {
                            "type": "minecraft:range_choice",
                            "input": "minecraft:overworld/sloped_cheese",
                            "max_exclusive": 1.5625,
                            "min_inclusive": -1000000.0,
                            "when_in_range": {
                              "type": "minecraft:min",
                              "argument1": "minecraft:overworld/sloped_cheese",
                              "argument2": {
                                "type": "minecraft:mul",
                                "argument1": 5.0,
                                "argument2": "minecraft:overworld/caves/entrances"
                              }
                            },
                            "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.0,
                                      "argument2": {
                                        "type": "minecraft:square",
                                        "argument": {
                                          "type": "minecraft:noise",
                                          "noise": "minecraft:cave_layer",
                                          "xz_scale": 1.0,
                                          "y_scale": 8.0
                                        }
                                      }
                                    },
                                    "argument2": {
                                      "type": "minecraft:add",
                                      "argument1": {
                                        "type": "minecraft:clamp",
                                        "input": {
                                          "type": "minecraft:add",
                                          "argument1": 0.27,
                                          "argument2": {
                                            "type": "minecraft:noise",
                                            "noise": "minecraft:cave_cheese",
                                            "xz_scale": 1.0,
                                            "y_scale": 0.6666666666666666
                                          }
                                        },
                                        "max": 1.0,
                                        "min": -1.0
                                      },
                                      "argument2": {
                                        "type": "minecraft:clamp",
                                        "input": {
                                          "type": "minecraft:add",
                                          "argument1": 1.5,
                                          "argument2": {
                                            "type": "minecraft:mul",
                                            "argument1": -0.64,
                                            "argument2": "minecraft:overworld/sloped_cheese"
                                          }
                                        },
                                        "max": 0.5,
                                        "min": 0.0
                                      }
                                    }
                                  },
                                  "argument2": "minecraft:overworld/caves/entrances"
                                },
                                "argument2": {
                                  "type": "minecraft:add",
                                  "argument1": "minecraft:overworld/caves/spaghetti_2d",
                                  "argument2": "minecraft:overworld/caves/spaghetti_roughness_function"
                                }
                              },
                              "argument2": {
                                "type": "minecraft:range_choice",
                                "input": "minecraft:overworld/caves/pillars",
                                "max_exclusive": 0.03,
                                "min_inclusive": -1000000.0,
                                "when_in_range": -1000000.0,
                                "when_out_of_range": "minecraft:overworld/caves/pillars"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "argument2": "minecraft:overworld/caves/noodle"
    },
    "vein_toggle": 0,
    "vein_ridged": 0,
    "vein_gap": 0
  },
  "spawn_target": [
    {
      "temperature": [
        -1,
        1
      ],
      "humidity": [
        -1,
        1
      ],
      "continentalness": [
        -0.11,
        1
      ],
      "erosion": [
        -1,
        1
      ],
      "weirdness": [
        -1,
        -0.16
      ],
      "depth": 0,
      "offset": 0
    },
    {
      "temperature": [
        -1,
        1
      ],
      "humidity": [
        -1,
        1
      ],
      "continentalness": [
        -0.11,
        1
      ],
      "erosion": [
        -1,
        1
      ],
      "weirdness": [
        0.16,
        1
      ],
      "depth": 0,
      "offset": 0
    }
  ],
  "surface_rule": {
    "type": "minecraft:sequence",
    "sequence": [
      {
        "type": "minecraft:condition",
        "if_true": {
          "type": "minecraft:not",
          "invert": {
            "type": "minecraft:stone_depth",
            "offset": 0,
            "surface_type": "floor",
            "add_surface_depth": true,
            "secondary_depth_range": 20
          }
        },
        "then_run": {
          "type": "minecraft:block",
          "result_state": {
            "Name": "minecraft:air"
          }
        }
      }
    ]
  }
}
