How can I detect when a player holds a tagged item? I just need to know the nbt for tagged items
Solution 1:
For holding, there's a tag named SelectedItem
, and you can use it in /execute at @a[nbt={SelectedItem:{tag:{mage:1b}}}] run summon minecraft:fireball ^ ^1 ^1