summon blaze ~ ~ ~ {Tags:["jjc_mob","jjc_blaze","jjc_nodown","jjc_boss","jjc_wildfire"],ArmorItems:[{},{},{},{id:"minecraft:vault",components:{enchantments:{"projectile_protection":6}}}],attributes:[{id:"generic.follow_range",base:24},{id:"generic.attack_damage",base:2},{id:"generic.armor",base:6},{id:"generic.armor_toughness",base:6}],active_effects:[{id:"invisibility",duration:-1,show_particles:0b}],attributes:[{id:"generic.scale",base:1.5},{id:"generic.burning_time",base:0},{id:"generic.max_health",base:60},{id:"generic.max_absorption",base:40}],AbsorptionAmount:40,Health:60,Passengers:[{id:"marker",Tags:["jjc","jjc_bossbar"],data:{name:"Wildfire"}},{id:"item_display",Tags:["jjc","jjc_nov","jjc_wildfire_zs","jjc_wildfire_zs2"],item:{components:{"minecraft:profile":{id:[I;-1246962550,1816479748,-1279819256,-1844267027],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzgzNDQ3YTk5ZDVkYjRlZTk1MGQ5OTVhMmE0YTJmYzMyZWRhMDEwNmE3ZDZiNTk5YzEyZjRhNDdkZDMwZDc2OSJ9fX0="}]}},id:"minecraft:player_head"},teleport_duration:5,transformation:{translation:[0f,0.3f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1.4f,1.4f,1.4f]},brightness:{block:15,sky:15}},{id:"item_display",Tags:["jjc","jjc_nov","jjc_zs_r0","jjc_wildfire_zs","jjc_wildfire_zs1"],item:{id:"minecraft:gold_block"},teleport_duration:1,transformation:{translation:[0f,-1.4f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[0.5f,1.8f,0.5f]},brightness:{block:15,sky:15}},{id:"item_display",Tags:["jjc","jjc_nov","jjc_zs_r0","jjc_wildfire_shield","jjc_wildfire_shield1"],Rotation:[0f,0f],item:{id:"minecraft:gold_block"},teleport_duration:1,transformation:{left_rotation:[-0.17364818f,0.0f,0.0f,0.9848078f],right_rotation:[0.0f,0.0f,0.0f,1.0f],scale:[1f,1.75f,0.25f],translation:[0.0f,-1.2f,1.2f]},brightness:{block:15,sky:15}},{id:"item_display",Tags:["jjc","jjc_nov","jjc_zs_r0","jjc_wildfire_shield","jjc_wildfire_shield2"],Rotation:[180f,0f],item:{id:"minecraft:gold_block"},teleport_duration:1,transformation:{left_rotation:[-0.17364818f,0.0f,0.0f,0.9848078f],right_rotation:[0.0f,0.0f,0.0f,1.0f],scale:[1f,1.75f,0.25f],translation:[0.0f,-1.2f,1.2f]},brightness:{block:15,sky:15}},{id:"item_display",Tags:["jjc","jjc_nov","jjc_zs_r0","jjc_wildfire_shield","jjc_wildfire_shield3"],Rotation:[90f,0f],item:{id:"minecraft:gold_block"},teleport_duration:1,transformation:{left_rotation:[-0.17364818f,0.0f,0.0f,0.9848078f],right_rotation:[0.0f,0.0f,0.0f,1.0f],scale:[1f,1.75f,0.25f],translation:[0.0f,-1.2f,1.2f]},brightness:{block:15,sky:15}},{id:"item_display",Tags:["jjc","jjc_nov","jjc_zs_r0","jjc_wildfire_shield","jjc_wildfire_shield4"],Rotation:[-90f,0f],item:{id:"minecraft:gold_block"},teleport_duration:1,transformation:{left_rotation:[-0.17364818f,0.0f,0.0f,0.9848078f],right_rotation:[0.0f,0.0f,0.0f,1.0f],scale:[1f,1.75f,0.25f],translation:[0.0f,-1.2f,1.2f]},brightness:{block:15,sky:15}}]}
execute store result score @n[distance=..200,type=blaze,tag=jjc_wildfire] jjc_hp run data get entity @n[distance=..200,type=blaze,tag=jjc_wildfire] AbsorptionAmount 100
playsound entity.blaze.shoot hostile @a[distance=..200] ~ ~1 ~ 4 0
playsound entity.blaze.shoot hostile @a[distance=..200] ~ ~1 ~ 4 2
particle flame ~ ~ ~ 0.5 0.5 0.5 0.5 200 force
particle large_smoke ~ ~ ~ 0.5 0.5 0.5 0.5 200 force
execute if entity @n[distance=..200,type=marker,tag=jjc_jjc,scores={jjc_ominous=1..2}] run effect give @n[distance=..1,type=blaze,tag=jjc_wildfire] resistance infinite 0 true
execute if entity @n[distance=..200,type=marker,tag=jjc_jjc,scores={jjc_ominous=3..4}] run effect give @n[distance=..1,type=blaze,tag=jjc_wildfire] resistance infinite 1 true
execute if entity @n[distance=..200,type=marker,tag=jjc_jjc,scores={jjc_ominous=5..}] run effect give @n[distance=..1,type=blaze,tag=jjc_wildfire] resistance infinite 2 true