{
  "config": {
    "feature": {
      "feature": {
        "config": {
          "features": [
            {
              "feature": {
                "config": {
                  "to_place": {
                    "state": {
                      "Name": "minecraft:acacia_log",
                      "Properties": {
                        "axis": "y"
                      }
                    },
                    "type": "minecraft:simple_state_provider"
                  }
                },
                "type": "minecraft:simple_block"
              },
              "placement": [
                {
                  "predicate": {
                    "blocks": "#arboria:tree_branch_replaceable",
                    "type": "minecraft:matching_blocks"
                  },
                  "type": "minecraft:block_predicate_filter"
                }
              ]
            },
            {
              "feature": {
                "config": {
                  "feature": {
                    "feature": {
                      "config": {
                        "features": [
                          {
                            "feature": {
                              "config": {
                                "to_place": {
                                  "state": {
                                    "Name": "minecraft:acacia_log",
                                    "Properties": {
                                      "axis": "y"
                                    }
                                  },
                                  "type": "minecraft:simple_state_provider"
                                }
                              },
                              "type": "minecraft:simple_block"
                            },
                            "placement": [
                              {
                                "predicate": {
                                  "blocks": "#arboria:tree_branch_replaceable",
                                  "type": "minecraft:matching_blocks"
                                },
                                "type": "minecraft:block_predicate_filter"
                              }
                            ]
                          },
                          {
                            "feature": {
                              "config": {
                                "feature": {
                                  "feature": {
                                    "config": {
                                      "decorators": [
                                        {
                                          "block_provider": {
                                            "state": {
                                              "Name": "minecraft:acacia_leaves",
                                              "Properties": {
                                                "distance": "2",
                                                "persistent": "false",
                                                "waterlogged": "false"
                                              }
                                            },
                                            "type": "minecraft:simple_state_provider"
                                          },
                                          "directions": [
                                            "down"
                                          ],
                                          "exclusion_radius_xz": 0,
                                          "exclusion_radius_y": 0,
                                          "probability": 0.2,
                                          "required_empty_blocks": 2,
                                          "type": "minecraft:attached_to_leaves"
                                        }
                                      ],
                                      "dirt_provider": {
                                        "state": {
                                          "Name": "minecraft:air"
                                        },
                                        "type": "minecraft:simple_state_provider"
                                      },
                                      "foliage_placer": {
                                        "offset": 0,
                                        "radius": {
                                          "type": "minecraft:uniform",
                                          "min_inclusive": 2,
                                          "max_inclusive": 3
                                        },
                                        "type": "minecraft:acacia_foliage_placer"
                                      },
                                      "foliage_provider": {
                                        "state": {
                                          "Name": "minecraft:acacia_leaves",
                                          "Properties": {
                                            "distance": "1",
                                            "persistent": "false",
                                            "waterlogged": "false"
                                          }
                                        },
                                        "type": "minecraft:simple_state_provider"
                                      },
                                      "force_dirt": false,
                                      "ignore_vines": true,
                                      "minimum_size": {
                                        "limit": 0,
                                        "lower_size": 0,
                                        "upper_size": 0,
                                        "type": "minecraft:two_layers_feature_size"
                                      },
                                      "trunk_placer": {
                                        "base_height": 1,
                                        "height_rand_a": 1,
                                        "height_rand_b": 0,
                                        "type": "minecraft:straight_trunk_placer"
                                      },
                                      "trunk_provider": {
                                        "state": {
                                          "Name": "minecraft:acacia_log",
                                          "Properties": {
                                            "axis": "y"
                                          }
                                        },
                                        "type": "minecraft:simple_state_provider"
                                      }
                                    },
                                    "type": "minecraft:tree"
                                  },
                                  "placement": [
                                    {
                                      "predicate": {
                                        "predicates": [
                                          {
                                            "blocks": "#arboria:tree_branch_replaceable",
                                            "type": "minecraft:matching_blocks"
                                          },
                                          {
                                            "blocks": "minecraft:acacia_log",
                                            "offset": [
                                              1,
                                              -1,
                                              0
                                            ],
                                            "type": "minecraft:matching_blocks"
                                          },
                                          {
                                            "predicate": {
                                              "blocks": "minecraft:acacia_log",
                                              "offset": [
                                                -1,
                                                -1,
                                                0
                                              ],
                                              "type": "minecraft:matching_blocks"
                                            },
                                            "type": "minecraft:not"
                                          },
                                          {
                                            "predicate": {
                                              "blocks": "minecraft:acacia_log",
                                              "offset": [
                                                0,
                                                -1,
                                                1
                                              ],
                                              "type": "minecraft:matching_blocks"
                                            },
                                            "type": "minecraft:not"
                                          },
                                          {
                                            "predicate": {
                                              "blocks": "minecraft:acacia_log",
                                              "offset": [
                                                0,
                                                -1,
                                                -1
                                              ],
                                              "type": "minecraft:matching_blocks"
                                            },
                                            "type": "minecraft:not"
                                          },
                                          {
                                            "blocks": "#arboria:tree_branch_replaceable",
                                            "offset": [
                                              1,
                                              0,
                                              0
                                            ],
                                            "type": "minecraft:matching_blocks"
                                          },
                                          {
                                            "blocks": "#arboria:tree_branch_replaceable",
                                            "offset": [
                                              0,
                                              -1,
                                              0
                                            ],
                                            "type": "minecraft:matching_blocks"
                                          },
                                          {
                                            "blocks": "minecraft:acacia_log",
                                            "offset": [
                                              3,
                                              -5,
                                              0
                                            ],
                                            "type": "minecraft:matching_blocks"
                                          }
                                        ],
                                        "type": "minecraft:all_of"
                                      },
                                      "type": "minecraft:block_predicate_filter"
                                    }
                                  ]
                                },
                                "tries": 18,
                                "xz_spread": 1,
                                "y_spread": 0
                              },
                              "type": "minecraft:random_patch"
                            },
                            "placement": [
                              {
                                "predicate": {
                                  "blocks": "minecraft:acacia_log",
                                  "type": "minecraft:matching_blocks"
                                },
                                "type": "minecraft:block_predicate_filter"
                              },
                              {
                                "direction_of_search": "up",
                                "max_steps": 1,
                                "target_condition": {
                                  "blocks": "minecraft:acacia_log",
                                  "offset": [
                                    0,
                                    -1,
                                    0
                                  ],
                                  "type": "minecraft:matching_blocks"
                                },
                                "type": "minecraft:environment_scan"
                              }
                            ]
                          }
                        ]
                      },
                      "type": "minecraft:simple_random_selector"
                    },
                    "placement": [
                      {
                        "predicate": {
                          "predicates": [
                            {
                              "blocks": "#arboria:tree_branch_replaceable",
                              "type": "minecraft:matching_blocks"
                            },
                            {
                              "blocks": "minecraft:acacia_log",
                              "offset": [
                                1,
                                -1,
                                0
                              ],
                              "type": "minecraft:matching_blocks"
                            },
                            {
                              "predicate": {
                                "blocks": "minecraft:acacia_log",
                                "offset": [
                                  -1,
                                  -1,
                                  0
                                ],
                                "type": "minecraft:matching_blocks"
                              },
                              "type": "minecraft:not"
                            },
                            {
                              "predicate": {
                                "blocks": "minecraft:acacia_log",
                                "offset": [
                                  0,
                                  -1,
                                  1
                                ],
                                "type": "minecraft:matching_blocks"
                              },
                              "type": "minecraft:not"
                            },
                            {
                              "predicate": {
                                "blocks": "minecraft:acacia_log",
                                "offset": [
                                  0,
                                  -1,
                                  -1
                                ],
                                "type": "minecraft:matching_blocks"
                              },
                              "type": "minecraft:not"
                            },
                            {
                              "blocks": "#arboria:tree_branch_replaceable",
                              "offset": [
                                1,
                                0,
                                0
                              ],
                              "type": "minecraft:matching_blocks"
                            },
                            {
                              "blocks": "#arboria:tree_branch_replaceable",
                              "offset": [
                                0,
                                -1,
                                0
                              ],
                              "type": "minecraft:matching_blocks"
                            },
                            {
                              "blocks": "minecraft:acacia_log",
                              "offset": [
                                2,
                                -4,
                                0
                              ],
                              "type": "minecraft:matching_blocks"
                            }
                          ],
                          "type": "minecraft:all_of"
                        },
                        "type": "minecraft:block_predicate_filter"
                      },
                      {
                        "count": 32,
                        "type": "minecraft:count"
                      }
                    ]
                  },
                  "tries": 18,
                  "xz_spread": 1,
                  "y_spread": 0
                },
                "type": "minecraft:random_patch"
              },
              "placement": [
                {
                  "predicate": {
                    "blocks": "minecraft:acacia_log",
                    "type": "minecraft:matching_blocks"
                  },
                  "type": "minecraft:block_predicate_filter"
                },
                {
                  "direction_of_search": "up",
                  "max_steps": 1,
                  "target_condition": {
                    "blocks": "minecraft:acacia_log",
                    "offset": [
                      0,
                      -1,
                      0
                    ],
                    "type": "minecraft:matching_blocks"
                  },
                  "type": "minecraft:environment_scan"
                }
              ]
            }
          ]
        },
        "type": "minecraft:simple_random_selector"
      },
      "placement": [
        {
          "predicate": {
            "predicates": [
              {
                "blocks": "#arboria:tree_branch_replaceable",
                "type": "minecraft:matching_blocks"
              },
              {
                "blocks": "minecraft:acacia_log",
                "offset": [
                  1,
                  -1,
                  0
                ],
                "type": "minecraft:matching_blocks"
              },
              {
                "blocks": "minecraft:acacia_log",
                "offset": [
                  1,
                  -2,
                  0
                ],
                "type": "minecraft:matching_blocks"
              },
              {
                "blocks": "minecraft:acacia_log",
                "offset": [
                  1,
                  -3,
                  0
                ],
                "type": "minecraft:matching_blocks"
              },
              {
                "predicate": {
                  "blocks": "minecraft:acacia_log",
                  "offset": [
                    -1,
                    -1,
                    0
                  ],
                  "type": "minecraft:matching_blocks"
                },
                "type": "minecraft:not"
              },
              {
                "predicate": {
                  "blocks": "minecraft:acacia_log",
                  "offset": [
                    0,
                    -1,
                    1
                  ],
                  "type": "minecraft:matching_blocks"
                },
                "type": "minecraft:not"
              },
              {
                "predicate": {
                  "blocks": "minecraft:acacia_log",
                  "offset": [
                    0,
                    -1,
                    -1
                  ],
                  "type": "minecraft:matching_blocks"
                },
                "type": "minecraft:not"
              },
              {
                "blocks": "#arboria:tree_branch_replaceable",
                "offset": [
                  0,
                  1,
                  0
                ],
                "type": "minecraft:matching_blocks"
              },
              {
                "blocks": "#arboria:tree_branch_replaceable",
                "offset": [
                  0,
                  -1,
                  0
                ],
                "type": "minecraft:matching_blocks"
              }
            ],
            "type": "minecraft:all_of"
          },
          "type": "minecraft:block_predicate_filter"
        },
        {
          "count": 32,
          "type": "minecraft:count"
        }
      ]
    },
    "tries": 48,
    "xz_spread": 1,
    "y_spread": 1
  },
  "type": "minecraft:random_patch"
}