Any good way to do what the above is? havnt touched 1.20.5+ yet, and now im in 1.21.5 trying some things out. this is what I have on loop for stopping item drops atm, but its a bit janky.
[35mexecute [34mas [36m@e[33m[[37mtype[34m=[32mitem[33m] [34mat [36m@s [34mrun [35mdata [34mmodify entity [36m@s [0mOwner [34mset from entity [36m@p [0mUUID
[35mexecute [34mas [36m@e[33m[[37mtype[34m=[32mitem[33m] [34mrun [35mdata [34mmodify entity [36m@s [0mPickupDelay [34mset value [32m0
Trying to do like a set inventory layout of hotbar buttons