{
  "format_version": "1.10.0",
  "minecraft:attachable": {
    "description": {
      "identifier": "bbr:cassetetape",
      "materials": {
        "default": "entity_alphatest",
        "enchanted": "entity_alphatest_glint"
      },
      "textures": {
        "default": "textures/entity/pamobile/bbr_cassetetape",
        "enchanted": "textures/misc/enchanted_item_glint"
      },
      "geometry": {
        "default": "geometry.bbr_cassetetape"
      },
      "animations": {
        "wield_first_person": "animation.bbr_cassetetape.first_person",
        "wield_third_person": "animation.bbr_cassetetape.third_person"
      },
      "scripts": {
        "pre_animation": [
          "variable.charge_amount = math.clamp((query.main_hand_item_max_duration - (query.main_hand_item_use_duration - query.frame_alpha + 1.0)) / 10.0, 0.0, 1.0f);"
        ],
        "animate": [
          {
            "wield_first_person": "c.is_first_person"
          },
          {
            "wield_third_person": "!c.is_first_person"
          }
        ]
      },
      "render_controllers": [
        "controller.render.item_default"
      ]
    }
  }
}