{
  "type": "minecraft:clamp",
  "input": {
    "type": "minecraft:max",
    "argument1": {
      "type": "minecraft:add",
      "argument1": {
        "type": "minecraft:weird_scaled_sampler",
        "input": {
          "type": "minecraft:noise",
          "noise": "minecraft:spaghetti_2d_modulator",
          "xz_scale": 0.19,
          "y_scale": 0.12
        },
        "noise": "infinity_cave:infinity_cave",
        "rarity_value_mapper": "type_2"
      },
      "argument2": {
        "type": "minecraft:mul",
        "argument1": 0.123,
        "argument2": "infinity_cave:caves/spaghetti_2d_thickness_modulator"
      }
    },
    "argument2": {
      "type": "minecraft:cube",
      "argument": {
        "type": "minecraft:add",
        "argument1": {
          "type": "minecraft:abs",
          "argument": {
            "type": "minecraft:add",
            "argument1": {
              "type": "minecraft:add",
              "argument1": 0,
              "argument2": {
                "type": "minecraft:mul",
                "argument1": 10,
                "argument2": {
                  "type": "minecraft:noise",
                  "noise": "minecraft:spaghetti_2d_elevation",
                  "xz_scale": 0.76,
                  "y_scale": 0.34
                }
              }
            },
            "argument2": {
              "type": "minecraft:y_clamped_gradient",
              "from_y": -128,
              "to_y": -56,
              "from_value": 10,
              "to_value": -10
            }
          }
        },
        "argument2": "infinity_cave:caves/spaghetti_2d_thickness_modulator"
      }
    }
  },
  "max": 2.0,
  "min": -2.0
}

