{
  "type": "minecraft:cache_once",
  "argument": {
    "type": "minecraft:add",
    "argument1": {
      "type": "minecraft:mul",
      "argument1": 4,
      "argument2": {
        "type": "minecraft:mul",
        "argument1": {
          "type": "minecraft:add",
          "argument1": {
            "type": "minecraft:add",
            "argument1": "tectonic:depth",
            "argument2": "tectonic:terrain_spline/offset/depth_additive"
          },
          "argument2": {
            "type": "minecraft:add",
            "argument1": {
              "type": "minecraft:mul",
              "argument1": "tectonic:terrain_spline/jaggedness/islands",
              "argument2": {
                "type": "minecraft:half_negative",
                "argument": {
                  "type": "minecraft:noise",
                  "noise": "minecraft:jagged",
                  "xz_scale": 1500,
                  "y_scale": 0
                }
              }
            },
            "argument2": {
              "type": "minecraft:mul",
              "argument1": "tectonic:terrain_spline/jaggedness/continents",
              "argument2": {
                "type": "minecraft:add",
                "argument1": {
                  "type": "minecraft:mul",
                  "argument1": -0.1,
                  "argument2": "tectonic:mountain_ridges/weathering"
                },
                "argument2": {
                  "type": "minecraft:add",
                  "argument1": {
                    "type": "minecraft:flat_cache",
                    "argument": {
                      "type": "minecraft:mul",
                      "argument1": "tectonic:mountain_ridges/ridges",
                      "argument2": -1
                    }
                  },
                  "argument2": 0.6
                }
              }
            }
          }
        },
        "argument2": {
          "type": "minecraft:range_choice",
          "input": "tectonic:continent_selector",
          "min_inclusive": 0.9,
          "max_exclusive": 1.1,
          "when_in_range": "tectonic:terrain_spline/factor/continents",
          "when_out_of_range": "tectonic:terrain_spline/factor/islands"
        }
      }
    },
    "argument2": {
      "type": "minecraft:add",
      "argument1": {
        "type": "minecraft:max",
        "argument1": 0,
        "argument2": {
          "type": "minecraft:mul",
          "argument1": "tectonic:region/diamond/dune/spline",
          "argument2": "tectonic:region/diamond/dune/final"
        }
      },
      "argument2": {
        "type": "minecraft:add",
        "argument1": {
          "type": "minecraft:mul",
          "argument1": {
            "type": "minecraft:spline",
            "spline": {
              "coordinate": "tectonic:noise/full_continents",
              "points": [
                {
                  "location": -1.05,
                  "derivative": 0,
                  "value": 1
                },
                {
                  "location": -1,
                  "derivative": 0,
                  "value": 0
                },
                {
                  "location": -0.35,
                  "derivative": 0,
                  "value": 0
                },
                {
                  "location": -0.25,
                  "derivative": 0,
                  "value": 1
                }
              ]
            }
          },
          "argument2": "tectonic:terrain_spline/roughness"
        },
        "argument2": {
          "type": "minecraft:mul",
          "argument1": {
            "type": "minecraft:spline",
            "spline": {
              "coordinate": "tectonic:noise/full_continents",
              "points": [
                {
                  "location": -1.05,
                  "derivative": 0,
                  "value": 0
                },
                {
                  "location": -1,
                  "derivative": 0,
                  "value": 1
                },
                {
                  "location": -0.35,
                  "derivative": 0,
                  "value": 1
                },
                {
                  "location": -0.25,
                  "derivative": 0,
                  "value": 0
                }
              ]
            }
          },
          "argument2": "tectonic:terrain_spline/ocean"
        }
      }
    }
  }
}