{
  "config": {
    "features": [
      {
        "feature": {
          "config": {
            "decorators": [
              {
                "block_provider": {
                  "state": {
                    "Name": "minecraft:oak_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.4,
                "required_empty_blocks": 1,
                "type": "minecraft:attached_to_leaves"
              },
              {
                "block_provider": {
                  "state": {
                    "Name": "minecraft:oak_leaves",
                    "Properties": {
                      "distance": "2",
                      "persistent": "false",
                      "waterlogged": "false"
                    }
                  },
                  "type": "minecraft:simple_state_provider"
                },
                "directions": [
                  "east"
                ],
                "exclusion_radius_xz": 0,
                "exclusion_radius_y": 0,
                "probability": 0.65,
                "required_empty_blocks": 1,
                "type": "minecraft:attached_to_leaves"
              },
              {
                "block_provider": {
                  "state": {
                    "Name": "minecraft:oak_leaves",
                    "Properties": {
                      "distance": "2",
                      "persistent": "false",
                      "waterlogged": "false"
                    }
                  },
                  "type": "minecraft:simple_state_provider"
                },
                "directions": [
                  "south"
                ],
                "exclusion_radius_xz": 0,
                "exclusion_radius_y": 0,
                "probability": 0.65,
                "required_empty_blocks": 1,
                "type": "minecraft:attached_to_leaves"
              },
              {
                "block_provider": {
                  "state": {
                    "Name": "minecraft:oak_leaves",
                    "Properties": {
                      "distance": "2",
                      "persistent": "false",
                      "waterlogged": "false"
                    }
                  },
                  "type": "minecraft:simple_state_provider"
                },
                "directions": [
                  "west"
                ],
                "exclusion_radius_xz": 0,
                "exclusion_radius_y": 0,
                "probability": 0.65,
                "required_empty_blocks": 1,
                "type": "minecraft:attached_to_leaves"
              },
              {
                "block_provider": {
                  "state": {
                    "Name": "minecraft:oak_leaves",
                    "Properties": {
                      "distance": "2",
                      "persistent": "false",
                      "waterlogged": "false"
                    }
                  },
                  "type": "minecraft:simple_state_provider"
                },
                "directions": [
                  "north"
                ],
                "exclusion_radius_xz": 0,
                "exclusion_radius_y": 0,
                "probability": 0.65,
                "required_empty_blocks": 1,
                "type": "minecraft:attached_to_leaves"
              },
              {
                "block_provider": {
                  "state": {
                    "Name": "minecraft:oak_leaves",
                    "Properties": {
                      "distance": "2",
                      "persistent": "false",
                      "waterlogged": "false"
                    }
                  },
                  "type": "minecraft:simple_state_provider"
                },
                "directions": [
                  "up"
                ],
                "exclusion_radius_xz": 0,
                "exclusion_radius_y": 0,
                "probability": 0.75,
                "required_empty_blocks": 1,
                "type": "minecraft:attached_to_leaves"
              }
            ],
            "dirt_provider": {
              "state": {
                "Name": "minecraft:air"
              },
              "type": "minecraft:simple_state_provider"
            },
            "foliage_placer": {
              "height": 4,
              "offset": 0,
              "radius": 2,
              "type": "minecraft:fancy_foliage_placer"
            },
            "foliage_provider": {
              "state": {
                "Name": "minecraft:oak_leaves",
                "Properties": {
                  "distance": "1",
                  "persistent": "false",
                  "waterlogged": "false"
                }
              },
              "type": "minecraft:simple_state_provider"
            },
            "force_dirt": false,
            "ignore_vines": true,
            "minimum_size": {
              "limit": 2,
              "lower_size": 0,
              "upper_size": 0,
              "type": "minecraft:two_layers_feature_size"
            },
            "trunk_placer": {
              "base_height": 4,
              "height_rand_a": 1,
              "height_rand_b": 0,
              "type": "minecraft:straight_trunk_placer"
            },
            "trunk_provider": {
              "state": {
                "Name": "minecraft:oak_log",
                "Properties": {
                  "axis": "y"
                }
              },
              "type": "minecraft:simple_state_provider"
            }
          },
          "type": "minecraft:tree"
        },
        "placement": [
          {
            "predicate": {
              "blocks": "#arboria:tree_branch_replaceable",
              "type": "minecraft:matching_blocks"
            },
            "type": "minecraft:block_predicate_filter"
          }
        ]
      },
      {
        "feature": "arboria:forest_oak/branch_set/1",
        "placement": [
          {
            "predicate": {
              "blocks": "minecraft:oak_log",
              "type": "minecraft:matching_blocks"
            },
            "type": "minecraft:block_predicate_filter"
          },
          {
            "direction_of_search": "up",
            "max_steps": 5,
            "target_condition": {
              "predicate": {
                "blocks": "minecraft:oak_log",
                "offset": [
                  0,
                  3,
                  0
                ],
                "type": "minecraft:matching_blocks"
              },
              "type": "minecraft:not"
            },
            "type": "minecraft:environment_scan"
          }
        ]
      }
    ]
  },
  "type": "minecraft:simple_random_selector"
}