{
  "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_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:range_choice",
                        "input": "minecraft:overworld/sloped_cheese",
                        "min_inclusive": -1000000,
                        "max_exclusive": 1.5625,
                        "when_in_range": {
                          "type": "minecraft:min",
                          "argument1": "minecraft:overworld/sloped_cheese",
                          "argument2": {
                            "type": "minecraft:mul",
                            "argument1": 5,
                            "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,
                                  "argument2": {
                                    "type": "minecraft:square",
                                    "argument": {
                                      "type": "minecraft:noise",
                                      "noise": "minecraft:cave_layer",
                                      "xz_scale": 1,
                                      "y_scale": 8
                                    }
                                  }
                                },
                                "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,
                                        "y_scale": 0.6666666666666666
                                      }
                                    },
                                    "min": -1,
                                    "max": 1
                                  },
                                  "argument2": {
                                    "type": "minecraft:clamp",
                                    "input": {
                                      "type": "minecraft:add",
                                      "argument1": 1.5,
                                      "argument2": {
                                        "type": "minecraft:mul",
                                        "argument1": -0.64,
                                        "argument2": "minecraft:overworld/sloped_cheese"
                                      }
                                    },
                                    "min": 0,
                                    "max": 0.5
                                  }
                                }
                              },
                              "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",
                            "min_inclusive": -1000000,
                            "max_exclusive": 0.03,
                            "when_in_range": -1000000,
                            "when_out_of_range": "minecraft:overworld/caves/pillars"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "argument2": "minecraft:overworld/caves/noodle"
}