
data merge entity @s {HandItems:[{id:wooden_sword,Count:1b,tag:{Unbreakable:1b,Armory:1b,HideFlags:7,item_uuid:120,name:unstable_sword,type:weapon,rank:s,cost:0,element:None,use:None,stats:{attack_damage:[{value:6,slot:mainhand},{value:6,slot:offhand}],attack_speed:[{value:-2.4,slot:mainhand},{value:-2.4,slot:offhand}],curse:[{value:1,slot:any}]},CustomModelData:3110,display:{Name:'[{"translate":"unstable_sword.name","color":"#F0E9D5","bold":true,"italic":false,"underlined":true}]',Lore:['[{"translate":"unstable_sword.l0","color":"dark_gray","italic":false}]','[{"translate":"unstable_sword.l1","color":"dark_gray","italic":false}]','[{"text":"","color":"dark_gray","italic":false}]','[{"translate":"enchant.explode.name","color":"gray","italic":false},{"translate":"enchant.explode.l0","color":"dark_gray","italic":true}]','[{"translate":"enchant.explode.l1","color":"dark_gray","italic":true}]','[{"text":"","color":"dark_gray","italic":false}]','[{"translate":"rank","color":"gray","italic":false},{"translate":": ","color":"gray","italic":false},{"translate":"S","color":"dark_green","italic":false}]','[{"translate":"","color":"gray","italic":false},{"translate":"stats","color":"gray","italic":false},{"translate":": ","color":"gray","italic":false}]','[{"translate":"  \\u2022 +6","color":"dark_gray","italic":true},{"translate":" \\uf811","color":"white","italic":true},{"translate":" (","color":"dark_gray","italic":true},{"translate":"hand","color":"dark_gray","italic":true},{"translate":")","color":"dark_gray","italic":true}]','[{"translate":"  \\u2022 -2.4","color":"dark_gray","italic":true},{"translate":" \\uf812","color":"white","italic":true},{"translate":" (","color":"dark_gray","italic":true},{"translate":"hand","color":"dark_gray","italic":true},{"translate":")","color":"dark_gray","italic":true}]','[{"translate":"  \\u2022 +1","color":"dark_gray","italic":true},{"translate":" \\uf81c","color":"white","italic":true}]']},Enchantments:[{}],AttributeModifiers:[{AttributeName:"generic.attack_speed",Name:"generic.attack_speed",Amount:0,Operation:0,UUID:[I;1,2,3,4],Slot:"mainhand"}]}},{}]}

data merge entity @s {DisabledSlots:4144703,ShowArms:1b,CustomNameVisible:1b,CustomName:'[{"translate":"unstable_sword.name","color":"#F0E9D5","bold":true,"italic":false,"underlined":true}]'}

tag @e[tag=ingame_items,limit=1] add unstable_sword
scoreboard players add unstable_sword times_appeared 1