My command is

execute at @a[ scores={fire_mage=1..},tag=mage:1b] run summon minecraft:fireball ^ ^1 ^1

However this command does not detect the tag and shows an error for tag.

1 Answer 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .