{
  "type": "minecraft:condition",
  "if_true": {
    "type": "minecraft:water",
    "add_stone_depth": true,
    "offset": -6,
    "surface_depth_multiplier": -1
  },
  "then_run": {
    "type": "minecraft:sequence",
    "sequence": [
      {
        "type": "minecraft:condition",
        "if_true": {
          "type": "minecraft:stone_depth",
          "add_surface_depth": true,
          "offset": 0,
          "secondary_depth_range": 0,
          "surface_type": "floor"
        },
        "then_run": {
          "type": "minecraft:sequence",
          "sequence": [
            {
              "type": "minecraft:block",
              "result_state": %s
            }
          ]
        }
      }
    ]
  }
}
