I'm creating an add-on, somewhat similar to the origin mod
I've created a tag called fire that gives the player properties similar to a blaze and im trying to make all entities around it like on fire when it gets hurt
This is what i have as a component for the tag:
"minecraft:on_hurt":
"/execute at @a[tag=fire, r=5] at @e[tag=!fire,r=5] run setblock ~ ~ ~ fire"
but it doesn't seem to work, can anyone help me out?