{
  "model": {
    "type": "minecraft:select",
    "cases": [
      {
        "model": {
          "type": "minecraft:select",
          "property": "minecraft:display_context",
          "cases": [
            {
              "when": [
                "gui",
                "fixed"
                
              ],
              "model": {
                "type": "minecraft:select",
                "property": "minecraft:component",
                "component": "minecraft:custom_name",
                "cases": [
                  {
                    "when": "Crossbow Arrow",
                    "model": {
                      "type": "minecraft:select",
                      "property": "minecraft:display_context",
                      "cases": [
                        {
                          "when": [
                            "fixed"
                          ],
                          "model": {
                            "type": "minecraft:model",
                            "model": "lategameplus:item/netherite_crossbow_arrow_held"
                          }
                        }
                      ],
                      "fallback": {
                        "type": "minecraft:model",
                        "model": "lategameplus:item/netherite_crossbow_arrow"
                      }
                    }
                  }
                ],
                "fallback": {
                  "type": "minecraft:model",
                  "model": "lategameplus:item/netherite_crossbow_arrow"
                }
              }
            }
          ],
          "fallback": {
            "type": "minecraft:model",
            "model": "lategameplus:item/netherite_crossbow_arrow_held"
          }
        },
        "when": "arrow"
      },
      {
        "model": {
          "type": "minecraft:select",
          "property": "minecraft:display_context",
          "cases": [
            {
              "when": [
                "gui",
                "fixed"
                
              ],
              "model": {
                "type": "minecraft:select",
                "property": "minecraft:component",
                "component": "minecraft:custom_name",
                "cases": [
                  {
                    "when": "Crossbow Firework",
                    "model": {
                      "type": "minecraft:select",
                      "property": "minecraft:display_context",
                      "cases": [
                        {
                          "when": [
                            "fixed"
                          ],
                          "model": {
                            "type": "minecraft:model",
                            "model": "lategameplus:item/netherite_crossbow_firework_held"
                          }
                        }
                      ],
                      "fallback": {
                        "type": "minecraft:model",
                        "model": "lategameplus:item/netherite_crossbow_firework"
                      }
                    }
                  }
                ],
                "fallback": {
                  "type": "minecraft:model",
                  "model": "lategameplus:item/netherite_crossbow_firework"
                }
              }
            }
          ],
          "fallback": {
            "type": "minecraft:model",
            "model": "lategameplus:item/netherite_crossbow_firework_held"
          }
        },
        "when": "rocket"
      }
    ],
    "fallback": {
      "type": "minecraft:condition",
      "on_false": {
        "type": "minecraft:select",
        "property": "minecraft:display_context",
        "cases": [
          {
            "when": [
              "gui",
              "fixed"
              
            ],
            "model": {
              "type": "minecraft:select",
              "property": "minecraft:component",
              "component": "minecraft:custom_name",
              "cases": [
                {
                  "when": "Crossbow",
                  "model": {
                    "type": "minecraft:select",
                    "property": "minecraft:display_context",
                    "cases": [
                      {
                        "when": [
                          "fixed"
                        ],
                        "model": {
                          "type": "minecraft:model",
                          "model": "lategameplus:item/netherite_crossbow_held"
                        }
                      }
                    ],
                    "fallback": {
                      "type": "minecraft:model",
                      "model": "lategameplus:item/netherite_crossbow"
                    }
                  }
                }
              ],
              "fallback": {
                "type": "minecraft:model",
                "model": "lategameplus:item/netherite_crossbow"
              }
            }
          }
        ],
        "fallback": {
          "type": "minecraft:model",
          "model": "lategameplus:item/netherite_crossbow_held"
        }
      },
      "on_true": {
        "type": "minecraft:range_dispatch",
        "entries": [
          {
            "model": {
              "type": "minecraft:select",
              "property": "minecraft:display_context",
              "cases": [
                {
                  "when": [
                    "gui",
                    
                    "fixed"
                  ],
                  "model": {
                    "type": "minecraft:model",
                    "model": "lategameplus:item/netherite_crossbow_pulling_1"
                  }
                }
              ],
              "fallback": {
                "type": "minecraft:model",
                "model": "lategameplus:item/netherite_crossbow_pulling_1_held"
              }
            },
            "threshold": 0.58
          },
          {
            "model": {
              "type": "minecraft:select",
              "property": "minecraft:display_context",
              "cases": [
                {
                  "when": [
                    "gui",
                    
                    "fixed"
                  ],
                  "model": {
                    "type": "minecraft:model",
                    "model": "lategameplus:item/netherite_crossbow_pulling_2"
                  }
                }
              ],
              "fallback": {
                "type": "minecraft:model",
                "model": "lategameplus:item/netherite_crossbow_pulling_2_held"
              }
            },
            "threshold": 1
          }
        ],
        "fallback": {
          "type": "minecraft:select",
          "property": "minecraft:display_context",
          "cases": [
            {
              "when": [
                "gui",
                "fixed"
                
              ],
              "model": {
                "type": "minecraft:model",
                "model": "lategameplus:item/netherite_crossbow_pulling_0"
              }
            }
          ],
          "fallback": {
            "type": "minecraft:model",
            "model": "lategameplus:item/netherite_crossbow_pulling_0_held"
          }
        },
        "property": "minecraft:crossbow/pull"
      },
      "property": "minecraft:using_item"
    },
    "property": "minecraft:charge_type"
  }
}