{
  "condition": "minecraft:all_of",
  "terms": [
    {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": "minecraft:pumpkin_stem",
          "state": {
            "age": "0"
          }
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetY": 1,
      "predicate": {
        "block": {
          "blocks": "#cnk:air"
        }
      } 
    },
    {
      "condition": "minecraft:entity_scores",
      "entity": "this",
      "scores": {
        "cnk.crop_version": 1
      }
    }
  ]
}