tag @s add ffedd
playsound entity.blaze.shoot voice @a ~ ~ ~ 1 1 1
playsound entity.blaze.burn voice @a ~ ~ ~ 1 1 1
effect give @e[distance=..2.5,tag=type1] resistance 1 0 true
effect give @e[distance=..2.5,tag=type1,nbt=!{SelectedItem:{tag:{fff:1}}}] instant_damage 1 2 true
effect give @e[distance=..2.5,tag=type2] instant_health 1 2 true
particle smoke ~ ~ ~ 1 1 1 0.05 10 force @a
particle lava ~ ~ ~ 1 1 1 0.05 10 force @a
particle flame ~ ~ ~ 1 1 1 0.05 10 force @a

execute at @e[distance=..2.5,type=ender_dragon] run summon tnt
execute at @e[distance=..2.5,type=end_crystal] run summon tnt
execute at @e[distance=..2.5,type=wither] run summon tnt
fill ~-1 ~-1 ~ ~1 ~1 ~ fire replace air
fill ~ ~-1 ~-1 ~ ~1 ~1 fire replace air

execute at @s run tag @e[name=bull99a,distance=..5,tag=!ffedd,limit=1,sort=nearest] add ffedd
kill @s