{
  "model": {
    "type": "minecraft:condition",
    "on_false": {
      "type": "minecraft:select",
      "cases": [
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/crossbow_arrow"
          },
          "when": "arrow"
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/crossbow_firework"
          },
          "when": "rocket"
        }
      ],
      "fallback": {
        "type": "minecraft:model",
        "model": "minecraft:item/crossbow"
      },
      "property": "minecraft:charge_type"
    },
    "on_true": {
      "type": "minecraft:range_dispatch",
      "entries": [
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/crossbow_pulling_1"
          },
          "threshold": 0.58
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/crossbow_pulling_2"
          },
          "threshold": 1.0
        }
      ],
      "fallback": {
        "type": "minecraft:model",
        "model": "minecraft:item/crossbow_pulling_0"
      },
      "property": "minecraft:crossbow/pull"
    },
    "property": "minecraft:using_item"
  }
}