{
    "feature": {
        "type": "minecraft:simple_block",
        "config": {
            "to_place": {
                "type": "minecraft:simple_state_provider",
                "state": {
                    "Name": "minecraft:rooted_dirt"
                }
            }
        }
    },
    "placement": [
        {
            "type": "minecraft:count",
            "count": 50
        },
        {
            "type": "minecraft:count",
            "count": 50
        },
        {
            "type": "minecraft:in_square"
        },
        {
            "type": "minecraft:noise_threshold_count",
            "noise_level": -0.02,
            "below_noise": 0,
            "above_noise": 2
        },
        {
            "type": "minecraft:noise_threshold_count",
            "noise_level": 0.02,
            "below_noise": 2,
            "above_noise": 0
        },
        {
            "type": "minecraft:height_range",
            "height": {
                "type": "minecraft:uniform",
                "min_inclusive": {
                    "absolute": 145
                },
                "max_inclusive": {
                    "absolute": 180
                }
            }
        },
        {
            "type": "minecraft:environment_scan",
            "direction_of_search": "up",
            "max_steps": 32,
            "target_condition": {
                "type": "minecraft:all_of",
                "predicates": [
                    {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                            "minecraft:stone"
                        ],
                        "offset": [
                            0,
                            1,
                            0
                        ]
                    }
                ]
            }
        },
        {
            "type": "minecraft:biome"
        }
    ]
}