{
    "format_version": "1.10.0",
    "minecraft:attachable": {
        "description": {
            "identifier": "design:custom_golden_sword",
            "materials": {
                "default": "entity_alphatest",
                "enchanted": "entity_alphatest_glint"
            },
            "textures": {
                "default": "textures/entity/custom_golden_sword",
                "enchanted": "textures/misc/enchanted_item_glint",
                "arm": "textures/entity/steve"
            },
            "animations": {
                "first_hold": "animation.custom_golden_sword.first_hold",
                "first_scale": "animation.custom_golden_sword.first_scale",
                "attack_rotation_sword": "animation.custom_golden_sword.sword_attack",
                "third_attack_rotation_sword": "animation.custom_golden_sword.third_sword_attack",
                "controller.attack": "controller.animation.sword.attack"
            },
            "scripts": {
                "animate": [
                    "controller.attack",
                    {
                        "first_hold": "c.is_first_person"
                    },
                    {
                        "first_scale": "c.is_first_person"
                    }
                ]
            },
            "geometry": {
                "default": "geometry.custom_golden_sword",
                "arm": "geometry.custom_golden_sword_arm"
            },
            "render_controllers": [ "controller.render.item_default",
                {
                    "controller.render.sword_controller": "c.is_first_person"
                }
            ]
        }
    }
}
