{
   "type":"cache_once",
   "argument":{
      "type":"add",
      "argument1":"terralith:overworld/cliff/spline",
      "argument2":{
         "type":"max",
         "argument1":{
            "type":"add",
            "argument1":-1.65,
            "argument2":{
               "argument":{
                  "argument":{
                     "noise":"terralith:math/cliff/max_cut",
                     "xz_scale":1.0,
                     "y_scale":0.0,
                     "type":"minecraft:noise"
                  },
                  "type":"cache_2d"
               },
               "type":"flat_cache"
            }
         },
         "argument2":{
            "type":"minecraft:range_choice",
            "input":"terralith:overworld/cliff/spline",
            "min_inclusive":-1000000,
            "max_exclusive":2.0,
            "when_in_range":{
               "type":"add",
               "argument1":{
                  "type":"minecraft:range_choice",
                  "input":"terralith:overworld/cliff/carve_depth",
                  "min_inclusive":-1000000,
                  "max_exclusive":0.0,
                  "when_in_range":"terralith:overworld/cliff/carve_depth",
                  "when_out_of_range":64
               },
               "argument2":

               
            {
                  "type":"y_clamped_gradient",
                  "from_y":53,
                  "to_y":40,
                  "from_value":-0.2,
                  "to_value":7.5
               }
            },
            "when_out_of_range":64
         }
      }
   }
}