{
  "model": {
    "type": "select",
    "property": "component",
    "component": "custom_name",
    "fallback": {
      "type": "model",
      "model": "minecraft:item/diamond_sword"
    },
    "cases": [
      {
        "when": "Dagger",
        "model": {
          "type": "model",
          "model": "mcd:item/knifes/dagger"
        }
      },
      {
        "when": "Eternal Knife",
        "model": {
          "type": "model",
          "model": "mcd:item/knifes/eternal_knife"
        }
      },
      {
        "when": "Fang of Frost",
        "model": {
          "type": "model",
          "model": "mcd:item/knifes/fangs_of_frost"
        }
      },
      {
        "when": "Moon Dagger",
        "model": {
          "type": "model",
          "model": "mcd:item/knifes/moon_daggers"
        }
      },
      {
        "when": "Nightmare's Bite",
        "model": {
          "type": "model",
          "model": "mcd:item/knifes/nightmares_bite"
        }
      },
      {
        "when": "Soul Knife",
        "model": {
          "type": "model",
          "model": "mcd:item/knifes/soul_knife"
        }
      },
      {
        "when": "The Last Laugh Gold",
        "model": {
          "type": "model",
          "model": "mcd:item/knifes/the_last_laugh_gold"
        }
      },
      {
        "when": "The Last Laugh Silver",
        "model": {
          "type": "model",
          "model": "mcd:item/knifes/the_last_laugh_silver"
        }
      }
    ]
  }
}