{
  "feature": "terralith:swamp/vanilla/water_decor",
  "placement": [
    {
      "type": "minecraft:count_on_every_layer",
      "count": 46
    },
    {
      "type": "minecraft:noise_based_count",
      "noise_factor": 30,
      "noise_offset": -0.1,
      "noise_to_count_ratio": 1
    },
    {
      "type": "minecraft:environment_scan",
      "direction_of_search": "down",
      "max_steps": 1,
      "target_condition": {
        "type": "minecraft:all_of",
        "predicates": [
          {
            "type": "minecraft:matching_blocks",
            "blocks": [
              "minecraft:air"
            ],
            "offset": [
              0,
              1,
              0
            ]
          },
          {
            "type": "minecraft:matching_blocks",
            "blocks": [
              "minecraft:water"
            ]
          },
          {
            "type": "minecraft:matching_blocks",
            "blocks": [
              "minecraft:clay",
              "minecraft:dirt",
              "minecraft:mud",
              "minecraft:blackstone"
            ],
            "offset": [
              0,
              -1,
              0
            ]
          }
        ]
      }
    },
    {
      "type": "minecraft:biome"
    }
  ]
}