
execute if data entity @s data.equipment.offhand run summon item ~ ~ ~ {Item:{id:"minecraft:stone",count:1b},Tags:["sgrave.new_item"],Motion:[0f,0.2f,0f]}
data modify entity @n[type=item,tag=sgrave.new_item] Item set from entity @s data.equipment.offhand
data remove entity @s data.equipment.offhand
tag @e[tag=sgrave.new_item] remove sgrave.new_item

execute if data entity @s data.equipment.head run summon item ~ ~ ~ {Item:{id:"minecraft:stone",count:1b},Tags:["sgrave.new_item"],Motion:[0f,0.2f,0f]}
data modify entity @n[type=item,tag=sgrave.new_item] Item set from entity @s data.equipment.head
data remove entity @s data.equipment.head
tag @e[tag=sgrave.new_item] remove sgrave.new_item

execute if data entity @s data.equipment.feet run summon item ~ ~ ~ {Item:{id:"minecraft:stone",count:1b},Tags:["sgrave.new_item"],Motion:[0f,0.2f,0f]}
data modify entity @n[type=item,tag=sgrave.new_item] Item set from entity @s data.equipment.feet
data remove entity @s data.equipment.feet
tag @e[tag=sgrave.new_item] remove sgrave.new_item

execute if data entity @s data.equipment.legs run summon item ~ ~ ~ {Item:{id:"minecraft:stone",count:1b},Tags:["sgrave.new_item"],Motion:[0f,0.2f,0f]}
data modify entity @n[type=item,tag=sgrave.new_item] Item set from entity @s data.equipment.legs
data remove entity @s data.equipment.legs
tag @e[tag=sgrave.new_item] remove sgrave.new_item

execute if data entity @s data.equipment.chest run summon item ~ ~ ~ {Item:{id:"minecraft:stone",count:1b},Tags:["sgrave.new_item"],Motion:[0f,0.2f,0f]}
data modify entity @n[type=item,tag=sgrave.new_item] Item set from entity @s data.equipment.chest
data remove entity @s data.equipment.chest
tag @e[tag=sgrave.new_item] remove sgrave.new_item