{
  "format_version": "1.10",
  "minecraft:attachable": {
    "description": {
      "identifier": "knights:gold_heavymace",
      "materials": {
        "default": "entity_alphatest",
        "enchanted": "entity_alphatest_glint"
      },
      "textures": {
        "default": "textures/entity/pamobile/knights_gold_heavymace",
        "enchanted": "textures/misc/enchanted_item_glint"
      },
      "geometry": {
        "default": "geometry.knights_gold_heavymace"
      },
      "animations": {
        "wield_first_person": "animation.knights_gold_heavymace.hold_first_person",
        "wield_third_person": "animation.knights_gold_heavymace.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"
      ]
    }
  }
}