//This JSON was modified by LateLag (@LateLagMC). Please do not use this document without permission.
{
  "format_version": "1.10",
  "render_controllers": {
    "controller.render.spyglass": {
      "geometry": "geometry.default",
      "materials": [ { "*": "variable.is_enchanted ? material.enchanted : material.default" } ],
      "textures": [ "texture.default", "texture.enchanted" ],
      "part_visibility": [
        { "spyglass": "!((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)" }
      ]
    }
  }
}
