{
    "model": {
      "type": "select",
      "property": "component",
      "component": "custom_name",
      "fallback": {
        "type": "model",
        "model": "minecraft:item/netherite_pickaxe"
      },
      "cases": [
        {
          "when": "Diamond Pickaxe",
          "model": {
            "type": "model",
            "model": "mcd:item/others/diamond_pickaxe"
          }
        },
        {
          "when": "Starless Pickaxe",
          "model": {
            "type": "model",
            "model": "ignacia:item/starless/starless_pick"
          }
        }
      ]
    }
  }