execute as @s[type=shapescape_mb:piglin_boss,family=shapescape_mb_boss_class_common] run summon shapescape_mb:boss_loot ~~~ ~~ piglin_boss_common
execute as @s[type=shapescape_mb:piglin_boss,family=shapescape_mb_boss_class_uncommon] run summon shapescape_mb:boss_loot ~~~ ~~ piglin_boss_uncommon
execute as @s[type=shapescape_mb:piglin_boss,family=shapescape_mb_boss_class_rare] run summon shapescape_mb:boss_loot ~~~ ~~ piglin_boss_rare
execute as @s[type=shapescape_mb:piglin_boss,family=shapescape_mb_boss_class_epic] run summon shapescape_mb:boss_loot ~~~ ~~ piglin_boss_epic
execute as @s[type=shapescape_mb:piglin_boss,family=shapescape_mb_boss_class_legendary] run summon shapescape_mb:boss_loot ~~~ ~~ piglin_boss_legendary
execute as @s[type=shapescape_mb:piglin_boss,family=shapescape_mb_boss_class_impossible] run summon shapescape_mb:boss_loot ~~~ ~~ piglin_boss_impossible
execute as @s[type=shapescape_mb:piglin_boss] run particle shapescape_mb:death_piglin ~~~
event entity @s despawn