summon item ~ ~ ~ {Tags:["SingleItemStacked","LeatherStack"],Item:{id:"minecraft:leather",Count:1b}}
summon item ~ ~ ~ {Tags:["SingleItemStacked","LeatherStack"],Item:{id:"minecraft:leather",Count:1b}}
summon item ~ ~ ~ {Tags:["SingleItemStacked","LeatherStack"],Item:{id:"minecraft:leather",Count:1b}}
summon item ~ ~ ~ {Tags:["SingleItemStacked","BottleStack"],Item:{id:"minecraft:experience_bottle",Count:1b}}
summon item ~ ~ ~ {Tags:["SingleItemStacked","BottleStack"],Item:{id:"minecraft:experience_bottle",Count:1b}}
summon item ~ ~ ~ {Tags:["SingleItemStacked","BottleStack"],Item:{id:"minecraft:experience_bottle",Count:1b}}
summon item ~ ~ ~ {Tags:["SingleItemStacked","BottleStack"],Item:{id:"minecraft:experience_bottle",Count:1b}}
summon item ~ ~ ~ {Tags:["SingleItemStacked","BottleStack"],Item:{id:"minecraft:experience_bottle",Count:1b}}
#summon item ~ ~ ~ {Tags:["SingleItemStacked","DiamondStack"],Item:{id:"minecraft:diamond",Count:1b,tag:{alalaa:3b}}}
summon item ~ ~ ~ {Tags:["SingleItemStacked","DiamondStack"],Item:{id:"minecraft:diamond",Count:1b}}
summon item ~ ~ ~ {Tags:["SingleItemStacked","DiamondStack"],Item:{id:"minecraft:diamond",Count:1b}}
summon item ~ ~ ~ {Tags:["SingleItemStacked","DiamondStack"],Item:{id:"minecraft:diamond",Count:1b}}
summon item ~ ~ ~ {Tags:["SingleItemStacked","GoldStack"],Item:{id:"minecraft:gold_ingot",Count:1b}}
summon item ~ ~ ~ {Tags:["SingleItemStacked","GoldStack"],Item:{id:"minecraft:gold_ingot",Count:1b}}
summon item ~ ~ ~ {Tags:["SingleItemStacked","GoldStack"],Item:{id:"minecraft:gold_ingot",Count:1b}}
summon item ~ ~ ~ {Tags:["SingleItemStacked","IronStack"],Item:{id:"minecraft:iron_ingot",Count:1b}}
summon item ~ ~ ~ {Tags:["SingleItemStacked","IronStack"],Item:{id:"minecraft:iron_ingot",Count:1b}}
summon item ~ ~ ~ {Tags:["SingleItemStacked","IronStack"],Item:{id:"minecraft:iron_ingot",Count:1b}}


#summon item ~ ~ ~ {Tags:["SingleItemStacked","PowderStack"],Item:{id:"minecraft:blaze_powder",Count:1b}}
summon item ~ ~ ~ {Tags:["SingleItemStacked","NetheriteStack"],Item:{id:"minecraft:netherite_ingot",Count:1b}}

scoreboard players add @e[distance=..5,tag=SingleItemStacked] KyuDummy3 1

execute as @e[distance=..5,tag=!SingleItemStacked,tag=!ItemSaveEffects] run execute store result score @s KyuDummy3 run data get entity @s Item.Count
scoreboard players remove @e[distance=..5,tag=SingleItemStacked] KyuDummy3 1

execute as @e[distance=..5,tag=!SingleItemStacked,nbt={Item:{id:"minecraft:leather"}}] run scoreboard players operation @e[distance=..5,tag=SingleItemStacked,nbt={Item:{id:"minecraft:leather"}},limit=1,sort=random] KyuDummy3 += @s KyuDummy3
execute as @e[distance=..5,tag=!SingleItemStacked,nbt={Item:{id:"minecraft:experience_bottle"}}] run scoreboard players operation @e[distance=..5,tag=SingleItemStacked,nbt={Item:{id:"minecraft:experience_bottle"}},limit=1,sort=random] KyuDummy3 += @s KyuDummy3
execute as @e[distance=..5,tag=!SingleItemStacked,nbt={Item:{id:"minecraft:diamond"}}] run scoreboard players operation @e[distance=..5,tag=SingleItemStacked,nbt={Item:{id:"minecraft:diamond"}},limit=1,sort=random] KyuDummy3 += @s KyuDummy3
execute as @e[distance=..5,tag=!SingleItemStacked,nbt={Item:{id:"minecraft:gold_ingot"}}] run scoreboard players operation @e[distance=..5,tag=SingleItemStacked,nbt={Item:{id:"minecraft:gold_ingot"}},limit=1,sort=random] KyuDummy3 += @s KyuDummy3
execute as @e[distance=..5,tag=!SingleItemStacked,nbt={Item:{id:"minecraft:iron_ingot"}}] run scoreboard players operation @e[distance=..5,tag=SingleItemStacked,nbt={Item:{id:"minecraft:iron_ingot"}},limit=1,sort=random] KyuDummy3 += @s KyuDummy3
#execute as @e[distance=..5,tag=!SingleItemStacked,nbt={Item:{id:"minecraft:blaze_powder"}}] run scoreboard players operation @e[distance=..5,tag=SingleItemStacked,nbt={Item:{id:"minecraft:blaze_powder"}}] KyuDummy3 += @s KyuDummy3
execute as @e[distance=..5,tag=!SingleItemStacked,nbt={Item:{id:"minecraft:netherite_ingot"}}] run scoreboard players operation @e[distance=..5,tag=SingleItemStacked,nbt={Item:{id:"minecraft:netherite_ingot"}}] KyuDummy3 += @s KyuDummy3

kill @e[distance=..5,tag=!SingleItemStacked,nbt={Item:{id:"minecraft:leather"}}]
kill @e[distance=..5,tag=!SingleItemStacked,nbt={Item:{id:"minecraft:experience_bottle"}}]
kill @e[distance=..5,tag=!SingleItemStacked,nbt={Item:{id:"minecraft:diamond"}}]
kill @e[distance=..5,tag=!SingleItemStacked,nbt={Item:{id:"minecraft:gold_ingot"}}]
kill @e[distance=..5,tag=!SingleItemStacked,nbt={Item:{id:"minecraft:iron_ingot"}}]
#kill @e[distance=..5,tag=!SingleItemStacked,nbt={Item:{id:"minecraft:blaze_powder"}}]
kill @e[distance=..5,tag=!SingleItemStacked,nbt={Item:{id:"minecraft:netherite_ingot"}}]
kill @e[distance=..5,type=item,tag=SingleItemStacked,scores={KyuDummy3=..0}]


execute as @e[distance=..5,type=item,tag=SingleItemStacked] run execute store result entity @s Item.Count byte 1 run scoreboard players get @s KyuDummy3
#execute as @e[distance=..5,type=item,tag=SingleItemStacked] run tellraw @a ["",{"color":"gold","score":{"name":"@s","objective":"KyuDummy3"}},{"text":" score, is ","color":"yellow"},{"text":"a","color":"green"}]
execute as @e[distance=..5,tag=SingleItemStacked] run execute store result score @s KyuDummy3 run data get entity @s Item.Count
#execute as @e[distance=..5,type=item,tag=SingleItemStacked] run tellraw @a ["",{"color":"gold","score":{"name":"@s","objective":"KyuDummy3"}},{"text":" score, is ","color":"yellow"},{"text":"a","color":"green"}]

#kill @e[distance=..5,type=item,tag=!SingleItemStacked,scores={KyuDummy3=1..}]





















tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[0] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[1] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[2] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[3] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[4] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[5] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[6] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[7] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[8] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[9] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[10] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[11] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[12] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[13] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[14] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[15] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[16] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[17] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[18] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[19] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[20] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[21] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[22] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[23] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[24] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[25] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=!KyuEnchantedChestCopy] add KyuEnchantedChestCopy
data modify block ~ ~ ~ Items[26] merge from entity @e[type=item,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] Item
tag @e[type=item,distance=..3,tag=!ItemSave,limit=1,sort=nearest,tag=KyuEnchantedChestCopy,tag=!Copied] add Copied

summon item ~ ~ ~ {Tags:["ChangingForever"],Item:{id:"minecraft:bedrock",Count:1b}}







#surely there must be a better way...
##I REALIZED MY MISTAKE TOO LATE AND DONT WANNA FIX IT
###HAVE MERCY ON MY SOUL
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[0].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot0Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[1].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot1Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[2].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot2Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[3].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot3Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[4].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot4Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[5].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot5Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[6].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot6Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[7].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot7Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[8].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot8Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[9].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot9Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[10].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot10Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[11].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot11Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[12].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot12Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[13].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot13Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[14].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot14Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[15].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot15Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[16].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot16Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[17].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot17Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[18].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot18Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[19].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot19Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[20].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot20Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[21].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot21Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[22].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot22Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[23].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot23Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[24].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot24Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[25].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot25Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock

data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set from block ~ ~ ~ Items[26].id
execute if entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] run tag @e[type=item,limit=1,sort=nearest,tag=ChangingForever,nbt={Item:{id:"minecraft:structure_void"}}] add Slot26Clear
data modify entity @e[type=item,limit=1,sort=nearest,tag=ChangingForever] Item.id set value bedrock


execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot26Clear] run data modify block ~ ~ ~ Items[26].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot25Clear] run data modify block ~ ~ ~ Items[25].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot24Clear] run data modify block ~ ~ ~ Items[24].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot23Clear] run data modify block ~ ~ ~ Items[23].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot22Clear] run data modify block ~ ~ ~ Items[22].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot21Clear] run data modify block ~ ~ ~ Items[21].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot20Clear] run data modify block ~ ~ ~ Items[20].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot19Clear] run data modify block ~ ~ ~ Items[19].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot18Clear] run data modify block ~ ~ ~ Items[18].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot17Clear] run data modify block ~ ~ ~ Items[17].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot16Clear] run data modify block ~ ~ ~ Items[16].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot15Clear] run data modify block ~ ~ ~ Items[15].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot14Clear] run data modify block ~ ~ ~ Items[14].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot13Clear] run data modify block ~ ~ ~ Items[13].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot12Clear] run data modify block ~ ~ ~ Items[12].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot11Clear] run data modify block ~ ~ ~ Items[11].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot10Clear] run data modify block ~ ~ ~ Items[10].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot9Clear] run data modify block ~ ~ ~ Items[9].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot8Clear] run data modify block ~ ~ ~ Items[8].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot7Clear] run data modify block ~ ~ ~ Items[7].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot6Clear] run data modify block ~ ~ ~ Items[6].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot5Clear] run data modify block ~ ~ ~ Items[5].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot4Clear] run data modify block ~ ~ ~ Items[4].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot3Clear] run data modify block ~ ~ ~ Items[3].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot2Clear] run data modify block ~ ~ ~ Items[2].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot1Clear] run data modify block ~ ~ ~ Items[1].id set value air
execute if entity @e[distance=..3,type=item,limit=1,sort=nearest,tag=ChangingForever,tag=Slot0Clear] run data modify block ~ ~ ~ Items[0].id set value air


kill @e[type=item,distance=..5]

