{
    "model": {
      "type": "minecraft:condition",
        "property": "minecraft:has_component",
        "component": "minecraft:enchantments",
        "ignore_default": true,
      "on_true": {
        "type": "minecraft:condition",
        "property": "minecraft:fishing_rod/cast",
        "on_false": {
            "type": "minecraft:composite",
            "models": [
              {
                "type": "minecraft:range_dispatch",
                "property": "minecraft:damage",
                "entries": [
                  {
                    "threshold": 0,
                    "model": {
                      "type": "minecraft:model",
                      "model": "minecraft:item/fishing_rods/e_fishing_rod"
                    }
                  },
                  {
                    "threshold": 0.85,
                    "model": {
                      "type": "minecraft:model",
                      "model": "minecraft:item/diminishing/fishing_rods/e_fishing_rod_02"
                    }
                  },
                  {
                    "threshold": 0.9,
                    "model": {
                      "type": "minecraft:model",
                      "model": "minecraft:item/diminishing/fishing_rods/e_fishing_rod_03"
                    }
                  },
                  {
                    "threshold": 0.95,
                    "model": {
                      "type": "minecraft:model",
                      "model": "minecraft:item/diminishing/fishing_rods/e_fishing_rod_04"
                    }
                  }
                ]
              },
              {
                "type": "minecraft:range_dispatch",
                "property": "minecraft:damage",
                "entries": [
                  {
                    "threshold": 0,
                    "model": {
                      "type": "minecraft:model",
                      "model": "minecraft:item/fishing_rod"
                    }
                  },
                  {
                    "threshold": 0.85,
                    "model": {
                      "type": "minecraft:model",
                      "model": "minecraft:item/fishing_rod_uncast/fishing_rod_uncast_02"
                    }
                  },
                  {
                    "threshold": 0.9,
                    "model": {
                      "type": "minecraft:model",
                      "model": "minecraft:item/fishing_rod_uncast/fishing_rod_uncast_03"
                    }
                  },
                  {
                    "threshold": 0.95,
                    "model": {
                      "type": "minecraft:model",
                      "model": "minecraft:item/fishing_rod_uncast/fishing_rod_uncast_04"
                    }
                  }
                ]
              }
            ]
        },
        "on_true": {
            "type": "minecraft:composite",
            "models": [
              {
                "type": "minecraft:range_dispatch",
                "property": "minecraft:damage",
                "entries": [
                  {
                    "threshold": 0,
                    "model": {
                      "type": "minecraft:model",
                      "model": "minecraft:item/fishing_rods/e_fishing_rod_cast"
                    }
                  },
                  {
                    "threshold": 0.85,
                    "model": {
                      "type": "minecraft:model",
                      "model": "minecraft:item/diminishing/fishing_rods/e_fishing_rod_cast_02"
                    }
                  },
                  {
                    "threshold": 0.9,
                    "model": {
                      "type": "minecraft:model",
                      "model": "minecraft:item/diminishing/fishing_rods/e_fishing_rod_cast_03"
                    }
                  },
                  {
                    "threshold": 0.95,
                    "model": {
                      "type": "minecraft:model",
                      "model": "minecraft:item/diminishing/fishing_rods/e_fishing_rod_cast_04"
                    }
                  }
                ]
              },
              {
                "type": "minecraft:range_dispatch",
                "property": "minecraft:damage",
                "entries": [
                  {
                    "threshold": 0,
                    "model": {
                      "type": "minecraft:model",
                      "model": "minecraft:item/fishing_rod_cast"
                    }
                  },
                  {
                    "threshold": 0.85,
                    "model": {
                      "type": "minecraft:model",
                      "model": "minecraft:item/fishing_rod_cast/fishing_rod_cast_02"
                    }
                  },
                  {
                    "threshold": 0.9,
                    "model": {
                      "type": "minecraft:model",
                      "model": "minecraft:item/fishing_rod_cast/fishing_rod_cast_03"
                    }
                  },
                  {
                    "threshold": 0.95,
                    "model": {
                      "type": "minecraft:model",
                      "model": "minecraft:item/fishing_rod_cast/fishing_rod_cast_04"
                    }
                  }
                ]
              }
            ]
        }
      },
      "on_false": {
        "type": "minecraft:condition",
          "property": "minecraft:has_component",
          "component": "minecraft:enchantment_glint_override",
          "ignore_default": true,
        "on_true": {
          "type": "minecraft:condition",
          "property": "minecraft:fishing_rod/cast",
          "on_false": {
              "type": "minecraft:composite",
              "models": [
                {
                  "type": "minecraft:range_dispatch",
                  "property": "minecraft:damage",
                  "entries": [
                    {
                      "threshold": 0,
                      "model": {
                        "type": "minecraft:model",
                        "model": "minecraft:item/fishing_rods/e_fishing_rod"
                      }
                    },
                    {
                      "threshold": 0.85,
                      "model": {
                        "type": "minecraft:model",
                        "model": "minecraft:item/diminishing/fishing_rods/e_fishing_rod_02"
                      }
                    },
                    {
                      "threshold": 0.9,
                      "model": {
                        "type": "minecraft:model",
                        "model": "minecraft:item/diminishing/fishing_rods/e_fishing_rod_03"
                      }
                    },
                    {
                      "threshold": 0.95,
                      "model": {
                        "type": "minecraft:model",
                        "model": "minecraft:item/diminishing/fishing_rods/e_fishing_rod_04"
                      }
                    }
                  ]
                },
                {
                  "type": "minecraft:range_dispatch",
                  "property": "minecraft:damage",
                  "entries": [
                    {
                      "threshold": 0,
                      "model": {
                        "type": "minecraft:model",
                        "model": "minecraft:item/fishing_rod"
                      }
                    },
                    {
                      "threshold": 0.85,
                      "model": {
                        "type": "minecraft:model",
                        "model": "minecraft:item/fishing_rod_uncast/fishing_rod_uncast_02"
                      }
                    },
                    {
                      "threshold": 0.9,
                      "model": {
                        "type": "minecraft:model",
                        "model": "minecraft:item/fishing_rod_uncast/fishing_rod_uncast_03"
                      }
                    },
                    {
                      "threshold": 0.95,
                      "model": {
                        "type": "minecraft:model",
                        "model": "minecraft:item/fishing_rod_uncast/fishing_rod_uncast_04"
                      }
                    }
                  ]
                }
              ]
          },
          "on_true": {
              "type": "minecraft:composite",
              "models": [
                {
                  "type": "minecraft:range_dispatch",
                  "property": "minecraft:damage",
                  "entries": [
                    {
                      "threshold": 0,
                      "model": {
                        "type": "minecraft:model",
                        "model": "minecraft:item/fishing_rods/e_fishing_rod_cast"
                      }
                    },
                    {
                      "threshold": 0.85,
                      "model": {
                        "type": "minecraft:model",
                        "model": "minecraft:item/diminishing/fishing_rods/e_fishing_rod_cast_02"
                      }
                    },
                    {
                      "threshold": 0.9,
                      "model": {
                        "type": "minecraft:model",
                        "model": "minecraft:item/diminishing/fishing_rods/e_fishing_rod_cast_03"
                      }
                    },
                    {
                      "threshold": 0.95,
                      "model": {
                        "type": "minecraft:model",
                        "model": "minecraft:item/diminishing/fishing_rods/e_fishing_rod_cast_04"
                      }
                    }
                  ]
                },
                {
                  "type": "minecraft:range_dispatch",
                  "property": "minecraft:damage",
                  "entries": [
                    {
                      "threshold": 0,
                      "model": {
                        "type": "minecraft:model",
                        "model": "minecraft:item/fishing_rod_cast"
                      }
                    },
                    {
                      "threshold": 0.85,
                      "model": {
                        "type": "minecraft:model",
                        "model": "minecraft:item/fishing_rod_cast/fishing_rod_cast_02"
                      }
                    },
                    {
                      "threshold": 0.9,
                      "model": {
                        "type": "minecraft:model",
                        "model": "minecraft:item/fishing_rod_cast/fishing_rod_cast_03"
                      }
                    },
                    {
                      "threshold": 0.95,
                      "model": {
                        "type": "minecraft:model",
                        "model": "minecraft:item/fishing_rod_cast/fishing_rod_cast_04"
                      }
                    }
                  ]
                }
              ]
          }
        },
        "on_false": {
          "type": "minecraft:condition",
          "property": "minecraft:fishing_rod/cast",
          "on_false": {
            "type": "minecraft:range_dispatch",
            "property": "minecraft:damage",
            "entries": [
              {
                "threshold": 0,
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/fishing_rod"
                }
              },
              {
                "threshold": 0.85,
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/fishing_rod_uncast/fishing_rod_uncast_02"
                }
              },
              {
                "threshold": 0.9,
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/fishing_rod_uncast/fishing_rod_uncast_03"
                }
              },
              {
                "threshold": 0.95,
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/fishing_rod_uncast/fishing_rod_uncast_04"
                }
              }
            ]
          },
          "on_true": {
            "type": "minecraft:range_dispatch",
            "property": "minecraft:damage",
            "entries": [
              {
                "threshold": 0,
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/fishing_rod_cast"
                }
              },
              {
                "threshold": 0.85,
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/fishing_rod_cast/fishing_rod_cast_02"
                }
              },
              {
                "threshold": 0.9,
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/fishing_rod_cast/fishing_rod_cast_03"
                }
              },
              {
                "threshold": 0.95,
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/fishing_rod_cast/fishing_rod_cast_04"
                }
              }
            ]
          }
        }
      }
    }
  }