{
  "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": 40,
          "derivative": 0,
          "value": {
            "coordinate": "angel_islands:terrain/with_caves",
            "points": [
              {
                "location": 0,
                "derivative": 1,
                "value": 0
              }
            ]
          }
        },
        {
          "location": 80,
          "derivative": 0,
          "value": {
            "coordinate": "angel_islands:terrain/with_caves",
            "points": [
              {
                "location": 0,
                "derivative": 1,
                "value": 0
              }
            ]
          }
        },
        {
          "location": 120,
          "derivative": 0,
          "value": {
            "coordinate": "angel_islands:terrain/with_caves",
            "points": [
              {
                "location": 0,
                "derivative": 1,
                "value": 0
              }
            ]
          }
        },
        {
          "location": 140,
          "derivative": 0,
          "value": {
            "coordinate": "angel_islands:terrain/with_caves",
            "points": [
              {
                "location": 0,
                "derivative": 1,
                "value": 0
              }
            ]
          }
        },
        {
          "location": 160,
          "derivative": 0,
          "value": {
            "coordinate": "angel_islands:terrain/with_caves",
            "points": [
              {
                "location": 0,
                "derivative": 1,
                "value": 0
              }
            ]
          }
        },
        {
          "location": 180,
          "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": 264,
          "derivative": 0,
          "value": {
            "coordinate": "angel_islands:terrain/with_caves",
            "points": [
              {
                "location": 0,
                "derivative": 1,
                "value": 0
              }
            ]
          }
        },
        {
          "location": 300,
          "derivative": 0,
          "value": {
            "coordinate": "angel_islands:terrain/no_caves",
            "points": [
              {
                "location": 0,
                "derivative": 1,
                "value": 0
              }
            ]
          }
        }
      ]
    }
  }
}
