{
    "format_version": "1.10.0",
    "minecraft:attachable": {
        "description": {
            "identifier": "drz:gun",
            "materials": {
              "default": "entity_static",
              "flash": "gun_flash_drz"
            },
            "textures": {
              "default": "textures/entity/gun_drz",
              "flash": "textures/entity/gun_flash_drz"
            },
            "geometry": {
              "default": "geometry.gun_drz",
              "flash": "geometry.gun_flash_drz"
            },
            "animations": {
                "tpp": "animation.gun_drz.tpp",
                "fpp": "animation.gun_drz.fpp",
                "c_shoot": "controller.animation.gun_drz.shoot",
                "shoot": "animation.gun_drz.shoot"
            },
            "scripts": {
                "pre_animation": [
                  "v.use = q.main_hand_item_use_duration / q.main_hand_item_max_duration;"
                ],
                "animate": [
                    {
                        "tpp": "!c.is_first_person"
                    },
                    {
                        "fpp": "c.is_first_person"
                    },
                    {
                        "c_shoot": "c.is_first_person"
                    }
                ]
            },
            "render_controllers": [
                "controller.render.default",
                "controller.render.gun_flash_drz"
            ]
        }
    }
}