{
    "feature": "terralith:canyon/sandstone/cliff",
    "placement": [
        {
            "type": "minecraft:count",
            "count": 256
        },
        {
            "type": "minecraft:in_square"
        },
        {
            "type": "minecraft:heightmap",
            "heightmap": "WORLD_SURFACE_WG"
        },
        {
            "type": "minecraft:biome"
        },
        {
            "type": "minecraft:count",
            "count": 255
        },
        {
            "type": "minecraft:random_offset",
            "xz_spread": {
                "type": "minecraft:uniform",
                "min_inclusive": -2,
                "max_inclusive": 2
            },
            "y_spread": {
                "type": "minecraft:uniform",
                "min_inclusive": -16,
                "max_inclusive": 0
            }
        },
        {
            "type": "minecraft:block_predicate_filter",
            "predicate": {
                "type": "minecraft:all_of",
                "predicates": [
                    {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                            "minecraft:sand"
                        ],
                        "offset": [
                            0,
                            0,
                            0
                        ]
                    },
                    {
                        "type": "minecraft:any_of",
                        "predicates": [
                            {
                                "type": "minecraft:matching_blocks",
                                "blocks": [
                                    "minecraft:sand",
                                    "minecraft:stone",
                                    "minecraft:sandstone",
                                    "minecraft:smooth_sandstone"
                                ],
                                "offset": [
                                    1,
                                    2,
                                    0
                                ]
                            },
                            {
                                "type": "minecraft:matching_blocks",
                                "blocks": [
                                    "minecraft:sand",
                                    "minecraft:stone",
                                    "minecraft:sandstone",
                                    "minecraft:smooth_sandstone"
                                ],
                                "offset": [
                                    0,
                                    2,
                                    1
                                ]
                            },
                            {
                                "type": "minecraft:matching_blocks",
                                "blocks": [
                                    "minecraft:sand",
                                    "minecraft:stone",
                                    "minecraft:sandstone",
                                    "minecraft:smooth_sandstone"
                                ],
                                "offset": [
                                    -1,
                                    2,
                                    0
                                ]
                            },
                            {
                                "type": "minecraft:matching_blocks",
                                "blocks": [
                                    "minecraft:sand",
                                    "minecraft:stone",
                                    "minecraft:sandstone",
                                    "minecraft:smooth_sandstone"
                                ],
                                "offset": [
                                    0,
                                    2,
                                    -1
                                ]
                            },
                            {
                                "type": "minecraft:matching_blocks",
                                "blocks": [
                                    "minecraft:sand",
                                    "minecraft:stone",
                                    "minecraft:sandstone",
                                    "minecraft:smooth_sandstone"
                                ],
                                "offset": [
                                    1,
                                    2,
                                    1
                                ]
                            },
                            {
                                "type": "minecraft:matching_blocks",
                                "blocks": [
                                    "minecraft:sand",
                                    "minecraft:stone",
                                    "minecraft:sandstone",
                                    "minecraft:smooth_sandstone"
                                ],
                                "offset": [
                                    -1,
                                    2,
                                    1
                                ]
                            },
                            {
                                "type": "minecraft:matching_blocks",
                                "blocks": [
                                    "minecraft:sand",
                                    "minecraft:stone",
                                    "minecraft:sandstone",
                                    "minecraft:smooth_sandstone"
                                ],
                                "offset": [
                                    1,
                                    2,
                                    -1
                                ]
                            },
                            {
                                "type": "minecraft:matching_blocks",
                                "blocks": [
                                    "minecraft:sand",
                                    "minecraft:stone",
                                    "minecraft:sandstone",
                                    "minecraft:smooth_sandstone"
                                ],
                                "offset": [
                                    -1,
                                    2,
                                    -1
                                ]
                            }
                        ]
                    }
                ]
            }
        }
    ]
}