{
  "type": "minecraft:random_patch",
  "config": {
    "feature": {
      "feature": {
        "type": "minecraft:simple_block",
        "config": {
          "to_place": {
            "type": "minecraft:weighted_state_provider",
            "entries": [
              {
                "weight": 3,
                "data": {
                  "Name": "minecraft:azalea_leaves",
                  "Properties": {
                    "persistent": "true"
                  }
                }
              },
              {
                "weight": 1,
                "data": {
                  "Name": "minecraft:flowering_azalea_leaves",
                  "Properties": {
                    "persistent": "true"
                  }
                }
              }
            ]
          }
        }
      },
      "placement": [
        {
          "type": "minecraft:block_predicate_filter",
          "predicate": {
            "type": "minecraft:all_of",
            "predicates": [
              {
                "type": "minecraft:matching_blocks",
                "blocks": "minecraft:air"
              },
              {
                "type": "minecraft:any_of",
                "predicates": [
                  {
                    "type": "minecraft:has_sturdy_face",
                    "offset": [
                      0,
                      1,
                      0
                    ],
                    "direction": "down"
                  },
                  {
                    "type": "minecraft:has_sturdy_face",
                    "offset": [
                      0,
                      -1,
                      0
                    ],
                    "direction": "up"
                  }
                ]
              }
            ]
          }
        }
      ]
    },
    "tries": 48,
    "xz_spread": 4,
    "y_spread": 2
  }
}