$item modify entity @s weapon.mainhand [{function:"minecraft:set_components",components:{"minecraft:custom_data":{gz_data:{debuff:$(debuff),reload_time:$(reload_time),id:$(id),capacity:$(capacity),shooting_delay:$(shooting_delay),bullets:$(bullets),normal_model:"$(item_model)",scoped_model:"$(item_model)_sc"}},"minecraft:enchantment_glint_override":0b,"minecraft:swing_animation":{type:"none"},"minecraft:piercing_weapon":{}}},{function:"minecraft:set_enchantments",enchantments:{"thepa:left_click_detect":1}}]
data remove storage gz:single_item save_data