{
  "type": "minecraft:random_patch",
  "config": {
    "tries": 3,
    "xz_spread": 4,
    "y_spread": 4,
    "feature": {
      "feature": {
        "type": "minecraft:random_patch",
        "config": {
          "tries": 3,
          "xz_spread": 4,
          "y_spread": 4,
          "feature": {
            "feature": {
              "type": "minecraft:simple_block",
              "config": {
                "to_place": {
                  "type": "minecraft:simple_state_provider",
                  "state": {
                    "Name": "minecraft:basalt",
                    "Properties": {
                      "axis": "y"
                    }
                  }
                }
              }
            },
            "placement": [
              {
                "type": "minecraft:height_range",
                "height": {
                  "absolute": 80
                }
              },
              {
                "type": "minecraft:environment_scan",
                "direction_of_search": "down",
                "max_steps": 32,
                "target_condition": {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    0,
                    -1,
                    0
                  ],
                  "blocks": [
                    "minecraft:basalt",
                    "minecraft:smooth_basalt",
                    "minecraft:sand",
                    "minecraft:gravel"
                  ]
                },
                "allowed_search_condition": {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:air",
                    "minecraft:water"
                  ]
                }
              },
              {
                "type": "minecraft:block_predicate_filter",
                "predicate": {
                  "type": "minecraft:any_of",
                  "predicates": [
                    {
                      "type": "minecraft:matching_blocks",
                      "offset": [
                        0,
                        -1,
                        0
                      ],
                      "blocks": [
                        "minecraft:basalt"
                      ]
                    },
                    {
                      "type": "minecraft:matching_fluids",
                      "fluids": [
                        "minecraft:water"
                      ]
                    }
                  ]
                }
              }
            ]
          }
        }
      },
      "placement": []
    }
  }
}
