{
    "feature": {
        "type": "minecraft:simple_block",
        "config": {
            "to_place": {
                "type": "minecraft:simple_state_provider",
                "state": {
                    "Name": "minecraft:granite"
                }
            }
        }
    },
    "placement": [
        {
            "type": "minecraft:count",
            "count": {
                "type": "minecraft:uniform",
                "min_inclusive": 128,
                "max_inclusive": 256
            }
        },
        {
            "type": "minecraft:count",
            "count": {
                "type": "minecraft:uniform",
                "min_inclusive": 6,
                "max_inclusive": 8
            }
        },
        {
            "type": "minecraft:random_offset",
            "xz_spread": {
                "type": "minecraft:uniform",
                "min_inclusive": -1,
                "max_inclusive": 1
            },
            "y_spread": 0
        },
        {
            "type": "minecraft:random_offset",
            "xz_spread": {
                "type": "minecraft:uniform",
                "min_inclusive": -1,
                "max_inclusive": 1
            },
            "y_spread": 0
        },
        {
            "type": "minecraft:random_offset",
            "xz_spread": {
                "type": "minecraft:uniform",
                "min_inclusive": -1,
                "max_inclusive": 1
            },
            "y_spread": 0
        },
        {
            "type": "minecraft:random_offset",
            "xz_spread": {
                "type": "minecraft:uniform",
                "min_inclusive": -1,
                "max_inclusive": 1
            },
            "y_spread": 0
        },
        {
            "type": "minecraft:random_offset",
            "xz_spread": {
                "type": "minecraft:uniform",
                "min_inclusive": -1,
                "max_inclusive": 1
            },
            "y_spread": 0
        },
        {
            "type": "minecraft:random_offset",
            "xz_spread": {
                "type": "minecraft:clamped_normal",
                "deviation": 0.65,
                "min_inclusive": -1,
                "max_inclusive": 1,
                "mean": 0
            },
            "y_spread": 0
        },
        {
            "type": "minecraft:random_offset",
            "xz_spread": {
                "type": "minecraft:clamped_normal",
                "deviation": 0.65,
                "min_inclusive": -1,
                "max_inclusive": 1,
                "mean": 0
            },
            "y_spread": 0
        },
        {
            "type": "minecraft:environment_scan",
            "allowed_search_condition": {
                "type": "minecraft:true"
            },
            "direction_of_search": "down",
            "max_steps": 32,
            "target_condition": {
                "type": "minecraft:not",
                "predicate": {
                    "type": "minecraft:replaceable"
                }
            }
        },
        {
            "type": "minecraft:environment_scan",
            "direction_of_search": "up",
            "max_steps": 32,
            "target_condition": {
                "type": "minecraft:replaceable"
            }
        },
        {
            "type": "minecraft:block_predicate_filter",
            "predicate": {
                "type": "minecraft:not",
                "predicate": {
                    "type": "minecraft:any_of",
                    "predicates": [
                        {
                            "type": "minecraft:matching_blocks",
                            "blocks": [
                                "minecraft:air",
                                "water"
                            ],
                            "offset": [
                                -1,
                                -4,
                                0
                            ]
                        },
                        {
                            "type": "minecraft:matching_blocks",
                            "blocks": [
                                "minecraft:air",
                                "water"
                            ],
                            "offset": [
                                1,
                                -4,
                                0
                            ]
                        },
                        {
                            "type": "minecraft:matching_blocks",
                            "blocks": [
                                "minecraft:air",
                                "water"
                            ],
                            "offset": [
                                0,
                                -4,
                                1
                            ]
                        },
                        {
                            "type": "minecraft:matching_blocks",
                            "blocks": [
                                "minecraft:air",
                                "water"
                            ],
                            "offset": [
                                0,
                                -4,
                                -1
                            ]
                        }
                    ]
                }
            }
        }
    ]
}