{
  "display": {
    "icon": {
      "id": "minecraft:rotten_flesh"
    },
    "title": "Famine",
    "description": "Starve long enough to get debuffed"
  },
  "parent": "survivalplus:adventure/food/food",
  "criteria": {
    "requirement": {
      "trigger": "minecraft:tick",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:entity_scores",
            "entity": "this",
            "scores": {
              "hunger": {
                "max": 6
              }
            }
          }
        ]
      }
    }
  }
}