[
  {
    "condition": "minecraft:inverted",
    "term": {
      "condition": "minecraft:location_check",
      "offsetY": -1,
      "predicate": {
        "fluid": {
          "tag": "minecraft:water"
        }
      }
    }
  }
]