{
  "type": "minecraft:condition",
  "if_true": {
    "type": "minecraft:vertical_gradient",
    "false_at_and_above": {
      "absolute": 8
    },
    "random_name": "minecraft:deepslate",
    "true_at_and_below": {
      "absolute": 0
    }
  },
  "then_run": {
    "type": "minecraft:block",
    "result_state": %s
  }
}
