give @p[tag=hp] minecraft:diamond_sword[minecraft:custom_name="hermit purple",minecraft:piercing_weapon={},custom_data={hp:true},minecraft:consumable={consume_seconds:0.05,has_consume_particles:false,sound:{sound_id:""}},minecraft:use_cooldown={seconds: 30},item_model="template:hermit_purple",minecraft:unbreakable={}] 1