{
  "config": {
    "features": [
      {
        "feature": {
          "config": {
            "to_place": {
              "state": {
                "Name": "minecraft:jungle_leaves",
                "Properties": {
                  "distance": "2",
                  "persistent": "false",
                  "waterlogged": "false"
                }
              },
              "type": "minecraft:simple_state_provider"
            }
          },
          "type": "minecraft:simple_block"
        },
        "placement": [
          {
            "direction_of_search": "up",
            "max_steps": 6,
            "target_condition": {
              "predicates": [
                {
                  "blocks": "minecraft:jungle_leaves",
                  "offset": [
                    1,
                    0,
                    0
                  ],
                  "type": "minecraft:matching_blocks"
                },
                {
                  "blocks": "minecraft:jungle_leaves",
                  "offset": [
                    0,
                    0,
                    1
                  ],
                  "type": "minecraft:matching_blocks"
                },
                {
                  "blocks": "minecraft:jungle_leaves",
                  "offset": [
                    -1,
                    0,
                    0
                  ],
                  "type": "minecraft:matching_blocks"
                },
                {
                  "blocks": "minecraft:jungle_leaves",
                  "offset": [
                    0,
                    0,
                    -1
                  ],
                  "type": "minecraft:matching_blocks"
                }
              ],
              "type": "minecraft:all_of"
            },
            "type": "minecraft:environment_scan"
          },
          {
            "predicate": {
              "blocks": [
                "minecraft:air",
                "minecraft:vine"
              ],
              "type": "minecraft:matching_blocks"
            },
            "type": "minecraft:block_predicate_filter"
          }
        ]
      }
    ]
  },
  "type": "minecraft:simple_random_selector"
}