Item Components in
I am trying out new components as well, and need to update the following commands. What can I do to fix it?
Continue to help postexecute as @a[nbt={Inventory:[{Slot:-106b,tag:{portal:1b}}]}] run function portal_gun:title
execute as @a[scores={use.portal_gun=1},nbt={SelectedItemSlot:0,Inventory:[{Slot:-106b,tag:{portal:1b}}]}] at @s anchored eyes positioned ^ ^ ^ run function portal_gun:shoot_portal1