{
  "feature": "clifftree:super_birch_branch",
  "placement": [
    {
      "type": "minecraft:count",
      "count": 40
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:heightmap",
      "heightmap": "WORLD_SURFACE_WG"
    },
    {
      "type": "minecraft:environment_scan",
      "direction_of_search": "up",
      "max_steps": 12,
      "target_condition": {
        "type": "minecraft:any_of",
        "predicates": [
          {
            "type": "minecraft:all_of",
            "predicates": [
              {
                "type": "minecraft:matching_blocks",
                "offset": [
                  0,
                  1,
                  0
                ],
                "blocks": "minecraft:birch_leaves"
              },
              {
                "type": "minecraft:matching_blocks",
                "offset": [
                  0,
                  -1,
                  0
                ],
                "blocks": "#minecraft:replaceable"
              }
            ]
          },
          {
            "type": "minecraft:all_of",
            "predicates": [
              {
                "type": "minecraft:matching_blocks",
                "offset": [
                  0,
                  2,
                  0
                ],
                "blocks": "minecraft:birch_leaves"
              },
              {
                "type": "minecraft:matching_blocks",
                "offset": [
                  0,
                  1,
                  0
                ],
                "blocks": "#minecraft:replaceable"
              }
            ]
          }
        ]
      },
      "allowed_search_condition": {
        "type": "minecraft:replaceable"
      }
    },
    {
      "type": "minecraft:biome"
    }
  ]
}
