I am making a datapack and it is not working properly
I am making a datapack and currently trying to make items that give effects while in the offhand and it has been working fine until I try to add a custom name. anyone know why? here is the code I am using: /give @p totem_of_undying{Tags:["Strength:1"],tags:1b,display:{Name:'[{"text":"Totem of ","italic":false},{"text":"Strength","italic":true,"color":"red"}]'}} 1 and effect give @a [nbt={Inventory:[{Slot:-106b,tag:{Strength:1}}]}] strength 1 1 true