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.
Arqade is a question and answer site for passionate videogamers on all platforms. It only takes a minute to sign up.
Sign up to join this communityFor 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