{
    "type": "minecraft:range_choice",
    "input": "terralith:overworld_large_biomes/spike/size_spline",
    "min_inclusive": -2,
    "max_exclusive": 1000000,
    "when_in_range": {
  "type":"add",
  "argument1":
{
  "type": "add",
  "argument1": {
    "type": "square",
    "argument": 
    {"type":"abs",
      "argument":
    {
      "type": "shifted_noise",
      "noise": "terralith:math/spikes/noise",
      "xz_scale": 1.0,
      "y_scale": 0.0,
      "shift_x": {
        "type": "mul",
        "argument1": 110,
        "argument2": "terralith:overworld_large_biomes/spikes/spike_x"
      },
      "shift_y": 8,
      "shift_z": {
        "type": "mul",
        "argument1": 110,
        "argument2": "terralith:overworld_large_biomes/spikes/spike_z"
      }
    }
  }
  },
  "argument2": {
    "type": "add",
    "argument1": {
      "type": "y_clamped_gradient",
      "from_y": 0,
      "to_y": 320,
      "from_value": -0.2675,
      "to_value": -3.0
    },
    "argument2": "terralith:overworld_large_biomes/spikes/base_height"
  }
},
"argument2":"terralith:overworld_large_biomes/spike/size_spline"
},
    "when_out_of_range": -64
}