{
  "type": "minecraft:range_choice",
  "input": {
    "type": "minecraft:interpolated",
    "argument": "angel_islands:ridges/final"
  },
  "min_inclusive": -0.15,
  "max_exclusive": 0.15,
  "when_in_range": "angel_islands:terrain/no_caves",
  "when_out_of_range": {
    "type": "minecraft:spline",
    "spline": {
      "coordinate": "minecraft:y",
      "points": [
        {
          "location": 80,
          "derivative": 0,
          "value": {
            "coordinate": "angel_islands:terrain/with_caves",
            "points": [
              {
                "location": 0,
                "derivative": 1,
                "value": 0
              }
            ]
          }
        },
        {
          "location": 224,
          "derivative": 0,
          "value": {
            "coordinate": "angel_islands:terrain/with_caves",
            "points": [
              {
                "location": 0,
                "derivative": 1,
                "value": 0
              }
            ]
          }
        },
        {
          "location": 240,
          "derivative": 0,
          "value": {
            "coordinate": "angel_islands:terrain/no_caves",
            "points": [
              {
                "location": 0,
                "derivative": 1,
                "value": 0
              }
            ]
          }
        }
      ]
    }
  }
}
