{
  "type": "minecraft:random_patch",
  "config": {
    "tries": 32,
    "xz_spread": 5,
    "y_spread": 2,
    "feature": {
      "feature": {
        "type": "minecraft:random_selector",
        "config": {
          "features": [
            {
              "chance": 0.4,
              "feature": {
                "feature": {
                  "type": "minecraft:simple_block",
                  "config": {
                    "to_place": {
                      "type": "minecraft:simple_state_provider",
                      "state": {
                        "Name": "minecraft:sea_pickle",
                        "Properties": {
                          "waterlogged": "true",
                          "pickles": "1"
                        }
                      }
                    }
                  }
                },
                "placement": []
              }
            }
          ],
          "default": {
            "feature": {
              "type": "minecraft:simple_block",
              "config": {
                "to_place": {
                  "type": "minecraft:simple_state_provider",
                  "state": {
                    "Name": "minecraft:sea_pickle",
                    "Properties": {
                      "pickles": "2",
                      "waterlogged": "true"
                    }
                  }
                }
              }
            },
            "placement": []
          }
        }
      },
      "placement": [
        {
          "type": "minecraft:block_predicate_filter",
          "predicate": {
            "type": "minecraft:all_of",
            "predicates": [
              {
                "type": "minecraft:matching_fluids",
                "fluids": "minecraft:water"
              },
              {
                "type": "minecraft:matching_blocks",
                "offset": [
                  0,
                  -1,
                  0
                ],
                "blocks": "minecraft:mud"
              }
            ]
          }
        },
        {
          "type": "minecraft:surface_water_depth_filter",
          "max_water_depth": 2
        }
      ]
    }
  }
}
