//This JSON was modified by LateLag (@LateLagMC). Please do not use this document without permission.
{
  "format_version": "1.10.0",
  "render_controllers": {
    "controller.render.crossbow": {
      "arrays": {
        "textures": {
          "array.crossbow_texture_frames": [
            "texture.default",
            "texture.crossbow_pulling_0",
            "texture.crossbow_pulling_1",
            "texture.crossbow_pulling_2",
            "texture.crossbow_arrow",
            "texture.crossbow_rocket"
          ]
        },
        "geometries": {
          "array.crossbow_geo_frames": [
            "geometry.default",
            "geometry.crossbow_pulling_0",
            "geometry.crossbow_pulling_1",
            "geometry.crossbow_pulling_2",
            "geometry.crossbow_arrow",
            "geometry.crossbow_rocket"
          ]
        }
      },
      "geometry": "array.crossbow_geo_frames[variable.animation_frame]",
      "materials": [ { "*": "variable.is_enchanted ? material.enchanted : material.default" } ],
      "textures": [ "array.crossbow_texture_frames[variable.animation_frame]", "texture.enchanted" ],
      "part_visibility": [
        { "rightitem": "!((query.get_equipped_item_name(0, 1) == 'bow' || query.get_equipped_item_name(0, 1) == 'crossbow') && (query.main_hand_item_use_duration > 0.0 || query.item_is_charged) && variable.is_in_offhand && variable.is_first_person) && !(query.get_equipped_item_name(0, 1) == 'filled_map' && variable.is_in_offhand)" }
      ]
    }
  }
}
