execute at @s run data modify entity @s Item.tag.bloodbolt set value 0b
#execute at @s run data modify entity @s Item.tag merge value {superbloodbolt:1b}
execute at @s run summon minecraft:item ~ ~ ~ {Tags:["DeleteMeK"],Item:{id:"minecraft:structure_void",Count:2b},Age:1999s}
execute as @s run execute at @s run data modify entity @e[type=item,limit=1,sort=nearest,tag=DeleteMeK] Item.tag.Enchantments set from entity @s Item.tag.Enchantments

data modify entity @s Item set value {id:"minecraft:crossbow",Count:1b,tag:{superbloodbolt:1b,Enchantments:[],display:{Name:'[{"text":"The Etherium ","color":"#54FCFC"},{"text":"Lightning","color":"#F0FF6E"},{"text":"-Bolt","color":"#54FCFC"}]',Lore:['{"text":"Divine Smite","italic":false,"color":"#F0FF6E"}','{"text":"A crossbow that saps your health to fire","italic":true,"color":"#A800A8"}','[{"text":"a ","color":"#A800A8"},{"text":"magical ","color":"#A800A8"},{"text":"bolt that ignores enemy armor and cripples them,","color":"#A800A8"}]','{"text":"lowering their armor/speed/damage for a few seconds.","color":"#A800A8"}','[{"text":"Divine Smite: ","color":"#F0FF6E"},{"text":"Enemies hit by the bolt are additionally","color":"#F0FF6E"}]','{"text":"struck by divine lightning, dealing extra armor-ignoring damage.","color":"#F0FF6E"}','{"text":"Mobs take damage from every nearby divine lightning strike.","color":"#F0FF6E"}']}}}

execute as @s run execute at @s run data modify entity @s Item.tag.Enchantments set from entity @e[type=item,limit=1,sort=nearest,tag=DeleteMeK] Item.tag.Enchantments
kill @e[type=item,tag=DeleteMeK]

#give @s[tag=EtherItems] minecraft:crossbow{display:{Name:'{"text":"The Etherium Blood-Bolt"}',Lore:["\"A crossbow that saps your health to fire\"","\"a magical bolt that ignores enemy armor and cripples them,\"","\"lowering their armor/speed/damage for a few seconds.\""]},bloodbolt:1b,Enchantments:[{id:"minecraft:unbreaking",lvl:3s},{id:"minecraft:quick_charge",lvl:2s}]} 1

kill @e[limit=4,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:chain",Count:1b}}]
kill @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:end_rod",Count:1b}}]
kill @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:redstone_block",Count:1b}}]
kill @e[limit=2,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:netherite_ingot",Count:1b}}]