{
  "type": "minecraft:add",
  "argument1": "terralith:overworld/dune/dune_height",
  "argument2": {
    "type": "minecraft:add",
    "argument1": {
      "type": "minecraft:add",
      "argument1": {
        "type": "minecraft:y_clamped_gradient",
        "from_value": 1,
        "from_y": 40,
        "to_value": 0,
        "to_y": 57
      },
      "argument2": {
        "type": "minecraft:y_clamped_gradient",
        "from_value": 0,
        "from_y": 57,
        "to_value": -5,
        "to_y": 320
      }
    },
    "argument2": {
      "type": "minecraft:flat_cache",
      "argument": {
        "type": "minecraft:cache_2d",
        "argument": {
          "type": "minecraft:add",
          "argument1": {
            "type": "minecraft:mul",
            "argument1": 1.0,
            "argument2": "terralith:overworld/dune/size_spline"
          },
          "argument2": -1.75
        }
      }
    }
  }
}