{
  "model": {
    "type": "minecraft:condition",
    "on_false": {
      "type": "minecraft:select",
      "cases": [
        {
          "model": {
            "type": "minecraft:select",
            "cases": [
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/crossbow_arrow"
                },
                "when": ["gui", "ground", "fixed"]
              }
            ],
            "fallback": {
              "type": "minecraft:composite",
              "models": [
                {
                  "type": "minecraft:model",
                  "model": "minecraft:item/crossbow_arrow_held"
                }
              ]
            },
            "property": "minecraft:display_context"
          },
          "when": "arrow"
        },
        {
          "model": {
            "type": "minecraft:select",
            "cases": [
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/crossbow_firework"
                },
                "when": ["gui", "ground", "fixed"]
              }
            ],
            "fallback": {
              "type": "minecraft:composite",
              "models": [
                {
                  "type": "minecraft:model",
                  "model": "minecraft:item/crossbow_firework_held"
                }
              ]
            },
            "property": "minecraft:display_context"
          },
          "when": "rocket"
        }
      ],
      "fallback": {
        "type": "minecraft:select",
        "cases": [
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/crossbow"
            },
            "when": ["gui", "ground", "fixed"]
          }
        ],
        "fallback": {
          "type": "minecraft:composite",
          "models": [
            {
              "type": "minecraft:model",
              "model": "minecraft:item/crossbow_held"
            }
          ]
        },
        "property": "minecraft:display_context"
      },
      "property": "minecraft:charge_type"
    },
    "on_true": {
      "type": "minecraft:range_dispatch",
      "entries": [
        {
          "model": {
            "type": "minecraft:select",
            "cases": [
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/crossbow_pulling_1"
                },
                "when": ["gui", "ground", "fixed"]
              }
            ],
            "fallback": {
              "type": "minecraft:composite",
              "models": [
                {
                  "type": "minecraft:model",
                  "model": "minecraft:item/crossbow_pull_1"
                }
              ]
            },
            "property": "minecraft:display_context"
          },
          "threshold": 0.58
        },
        {
          "model": {
            "type": "minecraft:select",
            "cases": [
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/crossbow_pulling_2"
                },
                "when": ["gui", "ground", "fixed"]
              }
            ],
            "fallback": {
              "type": "minecraft:composite",
              "models": [
                {
                  "type": "minecraft:model",
                  "model": "minecraft:item/crossbow_pull_2"
                }
              ]
            },
            "property": "minecraft:display_context"
          },
          "threshold": 1.0
        }
      ],
      "fallback": {
        "type": "minecraft:select",
        "cases": [
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/crossbow_pulling_0"
            },
            "when": ["gui", "ground", "fixed"]
          }
        ],
        "fallback": {
          "type": "minecraft:composite",
          "models": [
            {
              "type": "minecraft:model",
              "model": "minecraft:item/crossbow_pull_0"
            }
          ]
        },
        "property": "minecraft:display_context"
      },
      "property": "minecraft:crossbow/pull"
    },
    "property": "minecraft:using_item"
  }
}