{
  "model": {
    "type": "minecraft:select",
    "property": "minecraft:display_context",
    "cases": [
      {
        "when": "gui",
        "model": {
          "type": "minecraft:condition",
          "property": "minecraft:fishing_rod/cast",
          "on_true": {
            "type": "minecraft:model",
            "model": "minecraft:item/fishing_rod_cast"
          },
          "on_false": {
            "type": "minecraft:model",
            "model": "minecraft:item/fishing_rod"
          }
        }
      }
    ],
    "fallback": {
      "type": "minecraft:condition",
      "property": "minecraft:fishing_rod/cast",
      "on_true": {
        "type": "minecraft:condition",
        "property": "minecraft:has_component",
        "component": "minecraft:enchantments",
        "ignore_default": true,
        "on_true": {
          "type": "minecraft:model",
          "model": "minecraft:item/rods/e_fishing_rod_cast"
        },
        "on_false": {
          "type": "minecraft:model",
          "model": "minecraft:item/fishing_rod_cast"
        }
      },
      "on_false": {
        "type": "minecraft:condition",
        "property": "minecraft:has_component",
        "component": "minecraft:enchantments",
        "ignore_default": true,
        "on_true": {
          "type": "minecraft:model",
          "model": "minecraft:item/rods/e_fishing_rod"
        },
        "on_false": {
          "type": "minecraft:model",
          "model": "minecraft:item/fishing_rod"
        }
      }
    }
  }
}