{
  "model": {
    "type": "minecraft:select",
    "property": "minecraft:display_context",
    "cases": [
      {
        "when": "gui",
        "model": {
          "type": "minecraft:model",
          "model": "minecraft:models/item/cod"
        }
      }
    ],
    "fallback": {
      "type": "minecraft:condition",
      "property": "minecraft:using_item",
      "on_false": {
        "type": "minecraft:model",
        "model": "minecraft:item/cod"
      },
      "on_true": {
        "type": "minecraft:range_dispatch",
        "property": "minecraft:use_duration",
        "remaining": true,
        "scale": 1,
        "entries": [
	   {
            "model": {
              "type": "minecraft:model",
              "model": "eating:item/cod/eat_4"
            },
            "threshold": 14
          {
            "model": {
              "type": "minecraft:model",
              "model": "eating:item/cod/eat_3"
            },
            "threshold": 14
          {
            "model": {
              "type": "minecraft:model",
              "model": "eating:item/cod/eat_2"
            },
            "threshold": 18
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "eating:item/cod/eat_1"
            },
            "threshold": 22
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "eating:item/cod/eat_0"
            },
            "threshold": 26
          }
        ],
        "fallback": {
          "type": "minecraft:model",
          "model": "eating:item/cod/eat_4"
        }
      }
    }
  }
}