{
  "feature": "nova_structures:pale_hanging_leaves",
  "placement": [
    {
      "type": "environment_scan",
      "direction_of_search": "up",
      "max_steps": 5,
      "target_condition": {
        "type": "all_of",
        "predicates": [
          {
            "type": "minecraft:has_sturdy_face",
            "direction": "down",
            "offset": [
              0,
              1,
              0
            ]
          },
          {
            "type": "any_of",
            "predicates": [
              {
                "type": "matching_blocks",
                "blocks": [
                  "minecraft:pale_oak_log",
                  "minecraft:pale_oak_wood",
                  "minecraft:creaking_heart",
                  "minecraft:pale_oak_leaves",
                  "minecraft:pale_hanging_moss"
                ],
                "offset": [
                  0,
                  1,
                  0
                ]
              },
              {
                "type": "matching_blocks",
                "blocks": [
                  "minecraft:pale_oak_log",
                  "minecraft:pale_oak_wood",
                  "minecraft:creaking_heart",
                  "minecraft:pale_oak_leaves",
                  "minecraft:pale_hanging_moss"
                ],
                "offset": [
                  1,
                  0,
                  0
                ]
              },
              {
                "type": "matching_blocks",
                "blocks": [
                  "minecraft:pale_oak_log",
                  "minecraft:pale_oak_wood",
                  "minecraft:creaking_heart",
                  "minecraft:pale_oak_leaves",
                  "minecraft:pale_hanging_moss"
                ],
                "offset": [
                  -1,
                  0,
                  0
                ]
              },
              {
                "type": "matching_blocks",
                "blocks": [
                  "minecraft:pale_oak_log",
                  "minecraft:pale_oak_wood",
                  "minecraft:creaking_heart",
                  "minecraft:pale_oak_leaves",
                  "minecraft:pale_hanging_moss"
                ],
                "offset": [
                  0,
                  0,
                  1
                ]
              },
              {
                "type": "matching_blocks",
                "blocks": [
                  "minecraft:pale_oak_log",
                  "minecraft:pale_oak_wood",
                  "minecraft:creaking_heart",
                  "minecraft:pale_oak_leaves",
                  "minecraft:pale_hanging_moss"
                ],
                "offset": [
                  0,
                  0,
                  -1
                ]
              }
            ]
          },
          {
            "type": "matching_blocks",
            "blocks": [
              "minecraft:air",
              "minecraft:orange_carpet",
              "minecraft:white_carpet",
              "minecraft:light_gray_carpet",
              "minecraft:gray_carpet",
              "minecraft:black_carpet"
            ]
          }
        ]
      },
      "allowed_search_condition": {
        "type": "matching_blocks",
        "blocks": [
          "minecraft:air",
          "minecraft:orange_carpet",
          "minecraft:white_carpet",
          "minecraft:light_gray_carpet",
          "minecraft:gray_carpet",
          "minecraft:black_carpet"
        ]
      }
    }
  ]
}