execute unless data block ~ ~ ~ Items[{Slot:1b}] run data modify block ~ ~ ~ Items[{Slot:0b}].Slot set value 1b
execute if data block ~ ~ ~ Items[{Slot:0b}] unless data block ~ ~ ~ Items[{Slot:2b}] run data modify block ~ ~ ~ Items[{Slot:0b}].Slot set value 2b
execute if data block ~ ~ ~ Items[{Slot:0b}] unless data block ~ ~ ~ Items[{Slot:3b}] run data modify block ~ ~ ~ Items[{Slot:0b}].Slot set value 3b
execute if data block ~ ~ ~ Items[{Slot:0b}] unless data block ~ ~ ~ Items[{Slot:4b}] run data modify block ~ ~ ~ Items[{Slot:0b}].Slot set value 4b
execute if data block ~ ~ ~ Items[{Slot:0b}] unless data block ~ ~ ~ Items[{Slot:5b}] run data modify block ~ ~ ~ Items[{Slot:0b}].Slot set value 5b
