{
    "type": "minecraft:random_patch",
    "config": {
        "tries": 96,
        "xz_spread": 5,
        "y_spread": 3,
        "feature": {
            "feature": {
                "type": "minecraft:simple_block",
                "config": {
                    "to_place": {
                        "type": "minecraft:weighted_state_provider",
                        "entries": [
                            {
                                "weight": 1,
                                "data": {
                                    "Name": "minecraft:seagrass"
                                }
                            }
                        ]
                    }
                }
            },
            "placement": [
                {
                    "type": "minecraft:block_predicate_filter",
                    "predicate": {
                        "type": "minecraft:all_of",
                        "predicates": [
                            {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                    0,
                                    0,
                                    0
                                ],
                                "fluids": "minecraft:water"
                            },
                            {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                    0,
                                    1,
                                    0
                                ],
                                "fluids": "minecraft:water"
                            },
                            {
                                "type": "minecraft:not",
                                "predicate": {
                                    "type": "minecraft:matching_blocks",
                                    "offset": [
                                        0,
                                        -1,
                                        0
                                    ],
                                    "blocks": "minecraft:magma_block"
                                }
                            }
                        ]
                    }
                }
            ]
        }
    }
}
