execute as @e[type=armor_stand,tag=jjc_deathitem] at @s if entity @p[distance=..64] run data merge entity @s {Glowing:1b,CustomNameVisible:1b}
execute as @e[type=armor_stand,tag=jjc_deathitem] at @s unless entity @p[distance=..64] run data merge entity @s {Glowing:0b,CustomNameVisible:0b}
execute as @e[type=armor_stand,tag=jjc_deathitem0,nbt={Motion:[0.0d,-0.0784000015258789d,0.0d]}] at @s run summon interaction ~ ~ ~ {Tags:["jjc_deathitem_jhst","jjc"],height:1.975,width:0.6}
execute as @e[type=armor_stand,tag=jjc_deathitem0,nbt={Motion:[0.0d,-0.0784000015258789d,0.0d]}] at @s run data merge entity @s {NoAI:1b}
tag @e[type=armor_stand,tag=jjc_deathitem0,nbt={Motion:[0.0d,-0.0784000015258789d,0.0d]}] remove jjc_deathitem0
execute as @e[type=minecraft:interaction,nbt={attack:{}},tag=jjc_deathitem_jhst] at @s run kill @n[type=armor_stand,tag=jjc_deathitem,distance=..1]
execute as @e[type=minecraft:interaction,nbt={attack:{}},tag=jjc_deathitem_jhst] at @s run particle dragon_breath ~ ~1.6 ~ 0.25 0.5 0.25 0.005 20 force
execute as @e[type=minecraft:interaction,nbt={attack:{}},tag=jjc_deathitem_jhst] at @s run playsound entity.enderman.teleport hostile @a[distance=..200] ~ ~0.1 ~ 1 2
kill @e[type=minecraft:interaction,nbt={attack:{}},tag=jjc_deathitem_jhst]
execute as @e[type=marker,tag=jjc_deathitem_m,predicate=colosseum_of_fools:nov] at @s positioned ~ ~-0.5 ~ run function colosseum_of_fools:player/death/4
execute as @e[type=marker,tag=jjc_deathitem_m,predicate=colosseum_of_fools:nov] at @s run kill @n[distance=..200,type=item,nbt={Item:{id:"minecraft:armor_stand",count:1}}]
kill @e[type=item,nbt={Item:{components:{"minecraft:custom_data":{jjc_deathitem:1}}}}]
execute if entity @e[type=marker,tag=jjc_deathitem_m] run schedule function colosseum_of_fools:player/death/3 1t replace