{
    "feature": "terralith:skylands/winter/grassy_tops",
    "placement": [
        {
            "type": "minecraft:count",
            "count": 100
        },
        {
            "type": "minecraft:count",
            "count": 50
        },
        {
            "type": "minecraft:in_square"
        },
        {
            "type": "minecraft:random_offset",
            "xz_spread": {
                "type": "minecraft:uniform",
                "min_inclusive": -8,
                "max_inclusive": 8
            },
            "y_spread": 0
        },
        {
            "type": "minecraft:heightmap",
            "heightmap": "MOTION_BLOCKING_NO_LEAVES"
        },
        {
            "type": "minecraft:environment_scan",
            "direction_of_search": "down",
            "max_steps": 2,
            "target_condition": {
                "type": "minecraft:all_of",
                "predicates": [
                    {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                            "minecraft:stone",
                            "diorite",
                            "calcite"
                        ],
                        "offset": [
                            0,
                            0,
                            0
                        ]
                    },
                    {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                            "minecraft:air"
                        ],
                        "offset": [
                            0,
                            1,
                            0
                        ]
                    }
                ]
            }
        },
        {
            "type": "minecraft:biome"
        }
    ]
}