{ "type": "minecraft:sequence", "sequence": [ { "type": "minecraft:condition", "if_true": "minecraft:not_underwater", "then_run": { "type": "minecraft:block", "result_state": "minecraft:grass_block" } }, { "type": "minecraft:block", "result_state": "minecraft:dirt" } ] }