Files
phaseable_boss
Code
24 153
phaseable_boss/data/boss/function/phase3.mcfunction
scoreboard players set @s boss_timer 0
execute at @s positioned ^ ^ ^2 run summon fireball ~ ~1.5 ~ {ExplosionPower:4b}
execute at @s positioned ^3 ^ ^2 run summon fireball ~ ~1.5 ~ {ExplosionPower:4b}
execute at @s positioned ^-3 ^ ^2 run summon fireball ~ ~1.5 ~ {ExplosionPower:4b}
execute at @s positioned ^1.5 ^ ^3 run summon fireball ~ ~1.5 ~ {ExplosionPower:4b}
execute at @s positioned ^-1.5 ^ ^3 run summon fireball ~ ~1.5 ~ {ExplosionPower:4b}
execute at @s run particle flame ~ ~1.5 ~ 2 1 2 0.3 100
playsound entity.blaze.shoot master @a ~ ~ ~ 2 0.4
execute at @p run summon lightning_bolt ~ ~ ~
execute at @p run summon lightning_bolt ~3 ~ ~3
execute at @p run summon lightning_bolt ~-3 ~ ~-3
execute at @s run summon wither_skeleton ^ ^ ^3 {CustomName:'{"text":"Champion Maudit","color":"dark_red"}',HandItems:[{id:"minecraft:netherite_sword",count:1,components:{"minecraft:enchantments":{levels:{"minecraft:sharpness":3}}}}],ArmorItems:[{id:"minecraft:diamond_boots",count:1},{id:"minecraft:diamond_leggings",count:1},{id:"minecraft:diamond_chestplate",count:1},{id:"minecraft:diamond_helmet",count:1}],attributes:[{id:"minecraft:generic.max_health",base:50.0},{id:"minecraft:generic.attack_damage",base:10.0}],Health:50f}
execute at @s run summon zombie ^ ^ ^-3 {CustomName:'{"text":"Garde d'\''Ombre","color":"dark_gray"}',HandItems:[{id:"minecraft:iron_sword",count:1,components:{"minecraft:enchantments":{levels:{"minecraft:sharpness":2}}}}],ArmorItems:[{id:"minecraft:iron_boots",count:1},{id:"minecraft:iron_leggings",count:1},{id:"minecraft:iron_chestplate",count:1},{id:"minecraft:iron_helmet",count:1}],attributes:[{id:"minecraft:generic.max_health",base:30.0}],Health:30f}
execute at @s run particle explosion ~ ~1 ~ 3 1 3 1 20
execute at @s run summon area_effect_cloud ~ ~1 ~ {Particle:{type:"entity_effect",color:[0.5,0.0,0.5,1.0]},Radius:6f,Duration:120,effects:[{id:"minecraft:wither",amplifier:1,duration:120},{id:"minecraft:poison",amplifier:2,duration:100}]}
playsound entity.wither.ambient master @a ~ ~ ~ 2 0.7