
data merge entity @s {HandItems:[{id:stick,Count:1b,tag:{Unbreakable:1b,Armory:1b,HideFlags:7,item_uuid:34,name:dragon_cape,type:passive,rank:c,cost:0,element:None,use:None,stats:{},CustomModelData:2406,display:{Name:'[{"translate":"dragon_cape.name","color":"dark_green","bold":true,"italic":false,"underlined":true}]',Lore:['[{"translate":"dragon_cape.l0","color":"dark_gray","italic":false}]','[{"translate":"dragon_cape.l1","color":"dark_gray","italic":false}]','[{"text":"","color":"dark_gray","italic":false}]','[{"translate":"dragon_cape.effect.l0","color":"dark_gray","italic":true}]','[{"text":"","color":"dark_gray","italic":false}]','[{"translate":"rank","color":"gray","italic":false},{"translate":": ","color":"gray","italic":false},{"translate":"C","color":"gold","italic":false}]']},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":"dragon_cape.name","color":"dark_green","bold":true,"italic":false,"underlined":true}]'}

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