{
    "feature": "terralith:cave/fungal/hanging_roots",
    "placement": [
        {
            "type": "minecraft:count",
            "count": {
                "type": "minecraft:uniform",
                "min_inclusive": 200,
                "max_inclusive": 220
            }
        },
        {
            "type": "minecraft:in_square"
        },
        {
            "type": "minecraft:height_range",
            "height": {
                "type": "minecraft:uniform",
                "min_inclusive": {
                    "absolute": -64
                },
                "max_inclusive": {
                    "absolute": 255
                }
            }
        },
        {
            "type": "minecraft:environment_scan",
            "direction_of_search": "up",
            "max_steps": 6,
            "target_condition": {
                "type": "minecraft:all_of",
                "predicates": [
                    {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                            "minecraft:air"
                        ],
                        "offset": [
                            0,
                            0,
                            0
                        ]
                    },
                    {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                            "minecraft:stone",
                            "deepslate",
                            "granite",
                            "andesite",
                            "diorite",
                            "coarse_dirt",
                            "rooted_dirt"
                        ],
                        "offset": [
                            0,
                            1,
                            0
                        ]
                    }
                ]
            }
        },
        {
            "type": "minecraft:biome"
        }
    ]
}