{
    "feature": {
        "type": "minecraft:simple_block",
        "config": {
            "to_place": {
                "type": "minecraft:simple_state_provider",
                "state": {
                    "Name": "minecraft:stone"
                }
            }
        }
    },
    "placement": [
        {
            "type": "minecraft:count",
            "count": 256
        },
        {
            "type": "minecraft:count",
            "count": 15
        },
        {
            "type": "minecraft:in_square"
        },
        {
            "type": "minecraft:heightmap",
            "heightmap": "WORLD_SURFACE_WG"
        },
        {
            "type": "minecraft:environment_scan",
            "direction_of_search": "down",
            "max_steps": 5,
            "target_condition": {
                "type": "minecraft:all_of",
                "predicates": [
                    {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                            "minecraft:mycelium",
                            "minecraft:podzol",
                            "minecraft:coarse_dirt",
                            "minecraft:rooted_dirt",
                            "minecraft:dirt"
                        ],
                        "offset": [
                            0,
                            0,
                            0
                        ]
                    },
                    {
                        "type": "minecraft:not",
                        "predicate": {
                            "type": "minecraft:all_of",
                            "predicates": [
                                {
                                    "type": "minecraft:matching_blocks",
                                    "blocks": [
                                        "minecraft:stone"
                                    ],
                                    "offset": [
                                        3,
                                        -15,
                                        0
                                    ]
                                }
                            ]
                        }
                    },
                    {
                        "type": "minecraft:any_of",
                        "predicates": [
                            {
                                "type": "minecraft:all_of",
                                "predicates": [
                                    {
                                        "type": "minecraft:matching_blocks",
                                        "blocks": [
                                            "minecraft:stone"
                                        ],
                                        "offset": [
                                            0,
                                            0,
                                            -1
                                        ]
                                    },
                                    {
                                        "type": "minecraft:matching_blocks",
                                        "blocks": [
                                            "minecraft:air"
                                        ],
                                        "offset": [
                                            0,
                                            0,
                                            1
                                        ]
                                    },
                                    {
                                        "type": "minecraft:matching_blocks",
                                        "blocks": [
                                            "minecraft:air"
                                        ],
                                        "offset": [
                                            0,
                                            0,
                                            2
                                        ]
                                    },
                                    {
                                        "type": "minecraft:matching_blocks",
                                        "blocks": [
                                            "minecraft:air"
                                        ],
                                        "offset": [
                                            0,
                                            0,
                                            3
                                        ]
                                    },
                                    {
                                        "type": "minecraft:matching_blocks",
                                        "blocks": [
                                            "minecraft:air"
                                        ],
                                        "offset": [
                                            0,
                                            0,
                                            4
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "minecraft:all_of",
                                "predicates": [
                                    {
                                        "type": "minecraft:matching_blocks",
                                        "blocks": [
                                            "minecraft:stone"
                                        ],
                                        "offset": [
                                            0,
                                            0,
                                            1
                                        ]
                                    },
                                    {
                                        "type": "minecraft:matching_blocks",
                                        "blocks": [
                                            "minecraft:air"
                                        ],
                                        "offset": [
                                            0,
                                            0,
                                            -1
                                        ]
                                    },
                                    {
                                        "type": "minecraft:matching_blocks",
                                        "blocks": [
                                            "minecraft:air"
                                        ],
                                        "offset": [
                                            0,
                                            0,
                                            -2
                                        ]
                                    },
                                    {
                                        "type": "minecraft:matching_blocks",
                                        "blocks": [
                                            "minecraft:air"
                                        ],
                                        "offset": [
                                            0,
                                            0,
                                            -3
                                        ]
                                    },
                                    {
                                        "type": "minecraft:matching_blocks",
                                        "blocks": [
                                            "minecraft:air"
                                        ],
                                        "offset": [
                                            0,
                                            0,
                                            -4
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "minecraft:all_of",
                                "predicates": [
                                    {
                                        "type": "minecraft:matching_blocks",
                                        "blocks": [
                                            "minecraft:stone"
                                        ],
                                        "offset": [
                                            -1,
                                            0,
                                            0
                                        ]
                                    },
                                    {
                                        "type": "minecraft:matching_blocks",
                                        "blocks": [
                                            "minecraft:air"
                                        ],
                                        "offset": [
                                            1,
                                            0,
                                            0
                                        ]
                                    },
                                    {
                                        "type": "minecraft:matching_blocks",
                                        "blocks": [
                                            "minecraft:air"
                                        ],
                                        "offset": [
                                            2,
                                            0,
                                            0
                                        ]
                                    },
                                    {
                                        "type": "minecraft:matching_blocks",
                                        "blocks": [
                                            "minecraft:air"
                                        ],
                                        "offset": [
                                            3,
                                            0,
                                            0
                                        ]
                                    },
                                    {
                                        "type": "minecraft:matching_blocks",
                                        "blocks": [
                                            "minecraft:air"
                                        ],
                                        "offset": [
                                            4,
                                            0,
                                            0
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "minecraft:all_of",
                                "predicates": [
                                    {
                                        "type": "minecraft:matching_blocks",
                                        "blocks": [
                                            "minecraft:stone"
                                        ],
                                        "offset": [
                                            1,
                                            0,
                                            0
                                        ]
                                    },
                                    {
                                        "type": "minecraft:matching_blocks",
                                        "blocks": [
                                            "minecraft:air"
                                        ],
                                        "offset": [
                                            -1,
                                            0,
                                            0
                                        ]
                                    },
                                    {
                                        "type": "minecraft:matching_blocks",
                                        "blocks": [
                                            "minecraft:air"
                                        ],
                                        "offset": [
                                            -2,
                                            0,
                                            0
                                        ]
                                    },
                                    {
                                        "type": "minecraft:matching_blocks",
                                        "blocks": [
                                            "minecraft:air"
                                        ],
                                        "offset": [
                                            -3,
                                            0,
                                            0
                                        ]
                                    },
                                    {
                                        "type": "minecraft:matching_blocks",
                                        "blocks": [
                                            "minecraft:air"
                                        ],
                                        "offset": [
                                            -4,
                                            0,
                                            0
                                        ]
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        },
        {
            "type": "minecraft:biome"
        }
    ]
}