execute as @s[type=shapescape_mb:mammoth_boss,family=shapescape_mb_boss_class_common] run summon shapescape_mb:boss_loot ~~~ ~~ mammoth_boss_common
execute as @s[type=shapescape_mb:mammoth_boss,family=shapescape_mb_boss_class_uncommon] run summon shapescape_mb:boss_loot ~~~ ~~ mammoth_boss_uncommon
execute as @s[type=shapescape_mb:mammoth_boss,family=shapescape_mb_boss_class_rare] run summon shapescape_mb:boss_loot ~~~ ~~ mammoth_boss_rare
execute as @s[type=shapescape_mb:mammoth_boss,family=shapescape_mb_boss_class_epic] run summon shapescape_mb:boss_loot ~~~ ~~ mammoth_boss_epic
execute as @s[type=shapescape_mb:mammoth_boss,family=shapescape_mb_boss_class_legendary] run summon shapescape_mb:boss_loot ~~~ ~~ mammoth_boss_legendary
execute as @s[type=shapescape_mb:mammoth_boss,family=shapescape_mb_boss_class_impossible] run summon shapescape_mb:boss_loot ~~~ ~~ mammoth_boss_impossible
event entity @s shapescape_mb:despawn
fill ~-5 ~-2 ~-5 ~5 ~-2 ~5 air replace fire
fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 air replace fire
fill ~-5 ~ ~-5 ~5 ~ ~5 air replace fire
fill ~-5 ~1 ~-5 ~5 ~1 ~5 air replace fire
fill ~-5 ~2 ~-5 ~5 ~2 ~5 air replace fire