手册:Minecraft:spawns underwater

来自Minecraft基岩版开发Wiki

应填在"conditions"下方

{
    "conditions": [
        {
            "minecraft:spawns_underwater": {}
        } 
    ]
}