{
    "feature": {
        "type": "minecraft:random_patch",
        "config": {
            "feature": {
                "feature": {
                    "type": "minecraft:block_column",
                    "config": {
                        "allowed_placement": {
                            "type": "minecraft:true"
                        },
                        "direction": "up",
                        "layers": [
                            {
                                "height": {
                                    "type": "minecraft:clamped_normal",
                                    "deviation": 2,
                                    "min_inclusive": 1,
                                    "max_inclusive": 7,
                                    "mean": 2
                                },
                                "provider": {
                                    "type": "minecraft:simple_state_provider",
                                    "state": {
                                        "Name": "minecraft:cactus"
                                    }
                                }
                            },
                            {
                                "height": {
                                    "type": "minecraft:weighted_list",
                                    "distribution": [
                                        {
                                            "data": 0,
                                            "weight": 3
                                        },
                                        {
                                            "data": 1,
                                            "weight": 1
                                        }
                                    ]
                                },
                                "provider": {
                                    "type": "minecraft:simple_state_provider",
                                    "state": {
                                        "Name": "minecraft:cactus_flower"
                                    }
                                }
                            }
                        ],
                        "prioritize_tip": false
                    }
                },
                "placement": [
                    {
                        "type": "minecraft:block_predicate_filter",
                        "predicate": {
                            "type": "minecraft:all_of",
                            "predicates": [
                                {
                                    "type": "minecraft:matching_blocks",
                                    "blocks": [
                                        "minecraft:air"
                                    ],
                                    "offset": [
                                        0,
                                        0,
                                        0
                                    ]
                                },
                                {
                                    "type": "minecraft:matching_blocks",
                                    "blocks": [
                                        "minecraft:sand"
                                    ],
                                    "offset": [
                                        0,
                                        -1,
                                        0
                                    ]
                                },
                                {
                                    "type": "minecraft:would_survive",
                                    "state": {
                                        "Name": "minecraft:cactus",
                                        "Properties": {
                                            "age": "0"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                ]
            },
            "tries": 2,
            "xz_spread": 6,
            "y_spread": 2
        }
    },
    "placement": [
        {
            "type": "minecraft:count",
            "count": 10
        },
        {
            "type": "minecraft:in_square"
        },
        {
            "type": "minecraft:heightmap",
            "heightmap": "WORLD_SURFACE_WG"
        },
        {
            "type": "minecraft:biome"
        }
    ]
}