{
    "feature": {
        "type": "minecraft:random_patch",
        "config": {
            "feature": {
                "feature": {
                    "type": "minecraft:block_column",
                    "config": {
                        "allowed_placement": {
                            "type": "minecraft:matching_blocks",
                            "blocks": [
                                "minecraft:air"
                            ]
                        },
                        "direction": "up",
                        "layers": [
                            {
                                "height": {
                                    "type": "minecraft:biased_to_bottom",
                                    "min_inclusive": 1,
                                    "max_inclusive": 5
                                },
                                "provider": {
                                    "type": "minecraft:noise_provider",
                                    "noise": {
                                        "amplitudes": [
                                            1,
                                            1
                                        ],
                                        "firstOctave": -3
                                    },
                                    "scale": 1,
                                    "seed": 0,
                                    "states": [
                                        {
                                            "Name": "minecraft:cactus",
                                            "Properties": {
                                                "age": "13"
                                            }
                                        },
                                        {
                                            "Name": "minecraft:cactus",
                                            "Properties": {
                                                "age": "11"
                                            }
                                        }
                                    ]
                                }
                            },
                            {
                                "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": true
                    }
                },
                "placement": [
                    {
                        "type": "minecraft:block_predicate_filter",
                        "predicate": {
                            "type": "minecraft:all_of",
                            "predicates": [
                                {
                                    "type": "minecraft:would_survive",
                                    "state": {
                                        "Name": "minecraft:cactus",
                                        "Properties": {}
                                    }
                                },
                                {
                                    "type": "minecraft:replaceable"
                                }
                            ]
                        }
                    }
                ]
            },
            "tries": 16,
            "xz_spread": 5,
            "y_spread": 2
        }
    },
    "placement": [
        {
            "type": "minecraft:count",
            "count": 16
        },
        {
            "type": "minecraft:rarity_filter",
            "chance": 2
        },
        {
            "type": "minecraft:in_square"
        },
        {
            "type": "minecraft:heightmap",
            "heightmap": "WORLD_SURFACE"
        },
        {
            "type": "minecraft:biome"
        }
    ]
}