{
    "feature": {
        "type": "minecraft:tree",
        "config": {
            "decorators": [
                {
                    "type": "minecraft:place_on_ground",
                    "block_state_provider": {
                        "type": "minecraft:weighted_state_provider",
                        "entries": [
                            {
                                "data": {
                                    "Name": "minecraft:leaf_litter",
                                    "Properties": {
                                        "facing": "north",
                                        "segment_amount": "1"
                                    }
                                },
                                "weight": 3
                            },
                            {
                                "data": {
                                    "Name": "minecraft:leaf_litter",
                                    "Properties": {
                                        "facing": "east",
                                        "segment_amount": "1"
                                    }
                                },
                                "weight": 3
                            },
                            {
                                "data": {
                                    "Name": "minecraft:leaf_litter",
                                    "Properties": {
                                        "facing": "south",
                                        "segment_amount": "1"
                                    }
                                },
                                "weight": 3
                            },
                            {
                                "data": {
                                    "Name": "minecraft:leaf_litter",
                                    "Properties": {
                                        "facing": "west",
                                        "segment_amount": "1"
                                    }
                                },
                                "weight": 3
                            },
                            {
                                "data": {
                                    "Name": "minecraft:leaf_litter",
                                    "Properties": {
                                        "facing": "north",
                                        "segment_amount": "2"
                                    }
                                },
                                "weight": 3
                            },
                            {
                                "data": {
                                    "Name": "minecraft:leaf_litter",
                                    "Properties": {
                                        "facing": "east",
                                        "segment_amount": "2"
                                    }
                                },
                                "weight": 3
                            },
                            {
                                "data": {
                                    "Name": "minecraft:leaf_litter",
                                    "Properties": {
                                        "facing": "south",
                                        "segment_amount": "2"
                                    }
                                },
                                "weight": 3
                            },
                            {
                                "data": {
                                    "Name": "minecraft:leaf_litter",
                                    "Properties": {
                                        "facing": "west",
                                        "segment_amount": "2"
                                    }
                                },
                                "weight": 3
                            },
                            {
                                "data": {
                                    "Name": "minecraft:leaf_litter",
                                    "Properties": {
                                        "facing": "north",
                                        "segment_amount": "3"
                                    }
                                },
                                "weight": 2
                            },
                            {
                                "data": {
                                    "Name": "minecraft:leaf_litter",
                                    "Properties": {
                                        "facing": "east",
                                        "segment_amount": "3"
                                    }
                                },
                                "weight": 2
                            },
                            {
                                "data": {
                                    "Name": "minecraft:leaf_litter",
                                    "Properties": {
                                        "facing": "south",
                                        "segment_amount": "3"
                                    }
                                },
                                "weight": 2
                            },
                            {
                                "data": {
                                    "Name": "minecraft:leaf_litter",
                                    "Properties": {
                                        "facing": "west",
                                        "segment_amount": "3"
                                    }
                                },
                                "weight": 2
                            },
                            {
                                "data": {
                                    "Name": "minecraft:leaf_litter",
                                    "Properties": {
                                        "facing": "north",
                                        "segment_amount": "4"
                                    }
                                },
                                "weight": 1
                            },
                            {
                                "data": {
                                    "Name": "minecraft:leaf_litter",
                                    "Properties": {
                                        "facing": "east",
                                        "segment_amount": "4"
                                    }
                                },
                                "weight": 1
                            },
                            {
                                "data": {
                                    "Name": "minecraft:leaf_litter",
                                    "Properties": {
                                        "facing": "south",
                                        "segment_amount": "4"
                                    }
                                },
                                "weight": 1
                            },
                            {
                                "data": {
                                    "Name": "minecraft:leaf_litter",
                                    "Properties": {
                                        "facing": "west",
                                        "segment_amount": "4"
                                    }
                                },
                                "weight": 1
                            }
                        ]
                    },
                    "height": 2,
                    "radius": 2,
                    "tries": 64
                }
            ],
            "dirt_provider": {
                "type": "minecraft:simple_state_provider",
                "state": {
                    "Name": "minecraft:dirt"
                }
            },
            "foliage_placer": {
                "type": "minecraft:mega_pine_foliage_placer",
                "crown_height": {
                    "type": "minecraft:uniform",
                    "min_inclusive": 3,
                    "max_inclusive": 8
                },
                "offset": 1,
                "radius": {
                    "type": "minecraft:uniform",
                    "min_inclusive": 0,
                    "max_inclusive": 1
                }
            },
            "foliage_provider": {
                "type": "minecraft:simple_state_provider",
                "state": {
                    "Name": "minecraft:dark_oak_leaves",
                    "Properties": {
                        "distance": "7",
                        "persistent": "false",
                        "waterlogged": "false"
                    }
                }
            },
            "ignore_vines": true,
            "minimum_size": {
                "type": "minecraft:two_layers_feature_size",
                "limit": 2,
                "lower_size": 0,
                "min_clipped_height": 0,
                "upper_size": 2
            },
            "trunk_placer": {
                "type": "minecraft:straight_trunk_placer",
                "base_height": 10,
                "height_rand_a": 4,
                "height_rand_b": 12
            },
            "trunk_provider": {
                "type": "minecraft:simple_state_provider",
                "state": {
                    "Name": "minecraft:dark_oak_log",
                    "Properties": {
                        "axis": "y"
                    }
                }
            }
        }
    },
    "placement": [
        {
            "type": "minecraft:count",
            "count": {
                "type": "minecraft:uniform",
                "min_inclusive": 4,
                "max_inclusive": 5
            }
        },
        {
            "type": "minecraft:in_square"
        },
        {
            "type": "minecraft:heightmap",
            "heightmap": "MOTION_BLOCKING"
        },
        {
            "type": "minecraft:noise_based_count",
            "noise_factor": 89,
            "noise_offset": 0.25,
            "noise_to_count_ratio": 1
        },
        {
            "type": "minecraft:environment_scan",
            "direction_of_search": "down",
            "max_steps": 1,
            "target_condition": {
                "type": "minecraft:all_of",
                "predicates": [
                    {
                        "type": "minecraft:replaceable"
                    },
                    {
                        "type": "minecraft:any_of",
                        "predicates": [
                            {
                                "type": "minecraft:would_survive",
                                "state": {
                                    "Name": "minecraft:fern"
                                }
                            },
                            {
                                "type": "minecraft:matching_blocks",
                                "blocks": [
                                    "minecraft:snow_block",
                                    "minecraft:powder_snow"
                                ],
                                "offset": [
                                    0,
                                    -1,
                                    0
                                ]
                            }
                        ]
                    }
                ]
            }
        },
        {
            "type": "minecraft:biome"
        },
        {
            "type": "minecraft:count",
            "count": {
                "type": "minecraft:uniform",
                "min_inclusive": 2,
                "max_inclusive": 5
            }
        }
    ]
}