{
    "type": "minecraft:tree",
    "config": {
        "below_trunk_provider": {
            "type": "minecraft:rule_based_state_provider",
            "rules": [
                {
                    "if_true": {
                        "type": "minecraft:not",
                        "predicate": {
                            "type": "minecraft:matching_block_tag",
                            "tag": "minecraft:cannot_replace_below_tree_trunk"
                        }
                    },
                    "then": {
                        "type": "minecraft:simple_state_provider",
                        "state": {
                            "Name": "minecraft:dirt"
                        }
                    }
                }
            ]
        },
        "decorators": [
            {
                "type": "minecraft:alter_ground",
                "provider": {
                    "type": "minecraft:rule_based_state_provider",
                    "rules": [
                        {
                            "if_true": {
                                "type": "minecraft:matching_block_tag",
                                "tag": "minecraft:beneath_tree_podzol_replaceable"
                            },
                            "then": {
                                "type": "minecraft:simple_state_provider",
                                "state": {
                                    "Name": "minecraft:podzol",
                                    "Properties": {
                                        "snowy": "false"
                                    }
                                }
                            }
                        }
                    ]
                }
            }
        ],
        "dirt_provider": {
            "type": "minecraft:simple_state_provider",
            "state": {
                "Name": "minecraft:dirt"
            }
        },
        "foliage_placer": {
            "type": "minecraft:mega_pine_foliage_placer",
            "crown_height": {
                "type": "minecraft:uniform",
                "max_inclusive": 20,
                "min_inclusive": 14
            },
            "offset": 0,
            "radius": 0
        },
        "foliage_provider": {
            "type": "minecraft:simple_state_provider",
            "state": {
                "Name": "minecraft:spruce_leaves",
                "Properties": {
                    "distance": "7",
                    "persistent": "false",
                    "waterlogged": "false"
                }
            }
        },
        "force_dirt": false,
        "ignore_vines": false,
        "minimum_size": {
            "type": "minecraft:two_layers_feature_size",
            "limit": 1,
            "lower_size": 1,
            "upper_size": 2
        },
        "trunk_placer": {
            "type": "minecraft:giant_trunk_placer",
            "base_height": 20,
            "height_rand_a": 10,
            "height_rand_b": 5
        },
        "trunk_provider": {
            "type": "minecraft:simple_state_provider",
            "state": {
                "Name": "minecraft:spruce_log",
                "Properties": {
                    "axis": "y"
                }
            }
        }
    }
}