#data merge entity @s {DeathLootTable:""}
#loot spawn ~ ~.1 ~ loot survivalplus:entities/dummy
particle poof ~ ~1 ~ .2 .3 .2 0 10

summon armor_stand ~ ~ ~ {Tags:[replaceme]}
data modify entity @n[tag=replaceme] equipment set from entity @s equipment
damage @n[tag=replaceme] 1 arrow
loot replace entity @n[type=item,nbt={Item:{id:"minecraft:armor_stand"}}] container.0 loot survivalplus:entities/dummy


function survivalplus:mobs/vanish