{
  "config": {
    "features": [
      {
        "feature": {
          "config": {
            "features": [
              {
                "feature": {
                  "config": {
                    "allowed_placement": {
                      "blocks": "#arboria:tree_branch_replaceable",
                      "type": "minecraft:matching_blocks"
                    },
                    "direction": "up",
                    "layers": [
                      {
                        "height": {
                          "type": "minecraft:uniform",
                          "min_inclusive": 3,
                          "max_inclusive": 4
                        },
                        "provider": {
                          "state": {
                            "Name": "minecraft:stripped_oak_log",
                            "Properties": {
                              "axis": "y"
                            }
                          },
                          "type": "minecraft:simple_state_provider"
                        }
                      }
                    ],
                    "prioritize_tip": false
                  },
                  "type": "minecraft:block_column"
                },
                "placement": [
                  {
                    "predicate": {
                      "type": "minecraft:replaceable"
                    },
                    "type": "minecraft:block_predicate_filter"
                  }
                ]
              },
              {
                "feature": "arboria:palm/branch_set/1_oak",
                "placement": [
                  {
                    "predicate": {
                      "blocks": "minecraft:stripped_oak_log",
                      "type": "minecraft:matching_blocks"
                    },
                    "type": "minecraft:block_predicate_filter"
                  },
                  {
                    "direction_of_search": "up",
                    "max_steps": 5,
                    "target_condition": {
                      "predicate": {
                        "blocks": "minecraft:stripped_oak_log",
                        "type": "minecraft:matching_blocks"
                      },
                      "type": "minecraft:not"
                    },
                    "type": "minecraft:environment_scan"
                  },
                  {
                    "predicate": {
                      "predicate": {
                        "predicates": [
                          {
                            "blocks": "minecraft:stripped_oak_log",
                            "offset": [
                              1,
                              0,
                              0
                            ],
                            "type": "minecraft:matching_blocks"
                          },
                          {
                            "blocks": "minecraft:stripped_oak_log",
                            "offset": [
                              0,
                              0,
                              1
                            ],
                            "type": "minecraft:matching_blocks"
                          },
                          {
                            "blocks": "minecraft:stripped_oak_log",
                            "offset": [
                              -1,
                              0,
                              0
                            ],
                            "type": "minecraft:matching_blocks"
                          },
                          {
                            "blocks": "minecraft:stripped_oak_log",
                            "offset": [
                              0,
                              0,
                              -1
                            ],
                            "type": "minecraft:matching_blocks"
                          }
                        ],
                        "type": "minecraft:any_of"
                      },
                      "type": "minecraft:not"
                    },
                    "type": "minecraft:block_predicate_filter"
                  }
                ]
              }
            ]
          },
          "type": "minecraft:simple_random_selector"
        },
        "placement": [
          {
            "predicate": {
              "blocks": "minecraft:sand",
              "offset": [
                0,
                -1,
                0
              ],
              "type": "minecraft:matching_blocks"
            },
            "type": "minecraft:block_predicate_filter"
          },
          {
            "count": 32,
            "type": "minecraft:count"
          }
        ]
      }
    ]
  },
  "type": "minecraft:simple_random_selector"
}