execute @e[type=vatonage:furnace_golem] ~ ~ ~ fill ~ ~ ~ ~ ~ ~ fire 0 replace air
execute @e[type=vatonage:nether_golem] ~ ~ ~ fill ~ ~ ~ ~ ~ ~ fire 0 replace air
execute @e[type=vatonage:nether_golem] ~ ~ ~ fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 magma 0 replace grass
execute @e[type=vatonage:nether_golem] ~ ~ ~ fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 magma 0 replace dirt
execute @e[type=vatonage:nether_golem] ~ ~ ~ fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 magma 0 replace sand
execute @e[type=vatonage:nether_golem] ~ ~ ~ fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 magma 0 replace netherrack
execute @e[type=vatonage:nether_golem] ~ ~ ~ fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 magma 0 replace soul_sand
execute @e[type=vatonage:nether_golem] ~ ~ ~ fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 magma 0 replace end_stone

execute @e[type=vatonage:ender_destroyer_projectile] ~ ~ ~ detect ~ ~ ~ bedrock 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~ ~ detect ~ ~ ~ end_portal 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~ ~ detect ~ ~ ~ end_portal_frame 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~ ~ detect ~ ~ ~ water 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~ ~ detect ~ ~ ~ lava 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~ ~ fill ~ ~ ~ ~ ~ ~ air 0 destroy

execute @e[type=vatonage:ender_destroyer_projectile] ~ ~1 ~ detect ~ ~ ~ bedrock 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~1 ~ detect ~ ~ ~ end_portal 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~1 ~ detect ~ ~ ~ end_portal_frame 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~1 ~ detect ~ ~ ~ water 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~1 ~ detect ~ ~ ~ lava 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~1 ~ fill ~ ~ ~ ~ ~ ~ air 0 destroy

execute @e[type=vatonage:ender_destroyer_projectile] ~ ~-1 ~ detect ~ ~ ~ bedrock 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~-1 ~ detect ~ ~ ~ end_portal 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~-1 ~ detect ~ ~ ~ end_portal_frame 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~-1 ~ detect ~ ~ ~ water 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~-1 ~ detect ~ ~ ~ lava 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~-1 ~ fill ~ ~ ~ ~ ~ ~ air 0 destroy

execute @e[type=vatonage:ender_destroyer_projectile] ~1 ~ ~ detect ~ ~ ~ bedrock 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~1 ~ ~ detect ~ ~ ~ end_portal 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~1 ~ ~ detect ~ ~ ~ end_portal_frame 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~1 ~ ~ detect ~ ~ ~ water 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~1 ~ ~ detect ~ ~ ~ lava 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~1 ~ ~ fill ~ ~ ~ ~ ~ ~ air 0 destroy

execute @e[type=vatonage:ender_destroyer_projectile] ~ ~ ~1 detect ~ ~ ~ bedrock 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~ ~1 detect ~ ~ ~ end_portal 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~ ~1 detect ~ ~ ~ end_portal_frame 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~ ~1 detect ~ ~ ~ water 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~ ~1 detect ~ ~ ~ lava 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~ ~1 fill ~ ~ ~ ~ ~ ~ air 0 destroy

execute @e[type=vatonage:ender_destroyer_projectile] ~-1 ~ ~ detect ~ ~ ~ bedrock 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~-1 ~ ~ detect ~ ~ ~ end_portal 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~-1 ~ ~ detect ~ ~ ~ end_portal_frame 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~-1 ~ ~ detect ~ ~ ~ water 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~-1 ~ ~ detect ~ ~ ~ lava 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~-1 ~ ~ fill ~ ~ ~ ~ ~ ~ air 0 destroy

execute @e[type=vatonage:ender_destroyer_projectile] ~ ~ ~-1 detect ~ ~ ~ bedrock 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~ ~-1 detect ~ ~ ~ end_portal 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~ ~-1 detect ~ ~ ~ end_portal_frame 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~ ~-1 detect ~ ~ ~ water 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~ ~-1 detect ~ ~ ~ lava 0 kill @s
execute @e[type=vatonage:ender_destroyer_projectile] ~ ~ ~-1 fill ~ ~ ~ ~ ~ ~ air 0 destroy

tag @e[type=vatonage:summon_enderstaff] add summon
tag @e[type=vatonage:summon_fireblaze] add summon
tag @e[type=vatonage:summon_leafspark] add summon

scoreboard players add @e[tag=summon] calamityrunner 1
kill @e[tag=summon,scores={calamityrunner=80}]

execute @e[type=vatonage:spawn_wooden_platform] ~ ~ ~ scoreboard players add @s calamityrunner 1
execute @e[type=vatonage:spawn_wooden_platform,scores={calamityrunner=1}] ~ ~ ~ summon vatonage:carnivorous
execute @e[type=vatonage:spawn_wooden_platform,scores={calamityrunner=5}] ~ ~ ~ summon vatonage:ent2
execute @e[type=vatonage:spawn_wooden_platform,scores={calamityrunner=10}] ~ ~ ~ summon vatonage:ent2
execute @e[type=vatonage:spawn_wooden_platform,scores={calamityrunner=15}] ~ ~ ~ summon vatonage:ent2
execute @e[type=vatonage:spawn_wooden_platform,scores={calamityrunner=20}] ~ ~ ~ summon vatonage:ent2
execute @e[type=vatonage:spawn_wooden_platform,scores={calamityrunner=25}] ~ ~ ~ summon creeper
execute @e[type=vatonage:spawn_wooden_platform,scores={calamityrunner=30}] ~ ~ ~ summon vatonage:ent2
execute @e[type=vatonage:spawn_wooden_platform,scores={calamityrunner=35}] ~ ~ ~ summon vatonage:ent2
execute @e[type=vatonage:spawn_wooden_platform,scores={calamityrunner=36}] ~ ~ ~ kill @s

execute @e[type=vatonage:spawn_cobblestone_platform] ~ ~ ~ scoreboard players add @s calamityrunner 1
execute @e[type=vatonage:spawn_cobblestone_platform,scores={calamityrunner=1}] ~ ~ ~ summon vatonage:dungeon_guardian
execute @e[type=vatonage:spawn_cobblestone_platform,scores={calamityrunner=10}] ~ ~ ~ summon zombie
execute @e[type=vatonage:spawn_cobblestone_platform,scores={calamityrunner=15}] ~ ~ ~ summon vatonage:furnace_golem
execute @e[type=vatonage:spawn_cobblestone_platform,scores={calamityrunner=20}] ~ ~ ~ summon vatonage:furnace_golem
execute @e[type=vatonage:spawn_cobblestone_platform,scores={calamityrunner=25}] ~ ~ ~ summon vatonage:furnace_golem
execute @e[type=vatonage:spawn_cobblestone_platform,scores={calamityrunner=30}] ~ ~ ~ summon vatonage:furnace_golem
execute @e[type=vatonage:spawn_cobblestone_platform,scores={calamityrunner=31}] ~ ~ ~ kill @s

execute @e[type=vatonage:spawn_prismarine_platform] ~ ~ ~ scoreboard players add @s calamityrunner 1
execute @e[type=vatonage:spawn_prismarine_platform,scores={calamityrunner=1}] ~ ~ ~ summon vatonage:prismarine_defender
execute @e[type=vatonage:spawn_prismarine_platform,scores={calamityrunner=10}] ~ ~ ~ summon drowned
execute @e[type=vatonage:spawn_prismarine_platform,scores={calamityrunner=15}] ~ ~ ~ summon drowned
execute @e[type=vatonage:spawn_prismarine_platform,scores={calamityrunner=20}] ~ ~ ~ summon guardian
execute @e[type=vatonage:spawn_prismarine_platform,scores={calamityrunner=25}] ~ ~ ~ summon drowned
execute @e[type=vatonage:spawn_prismarine_platform,scores={calamityrunner=30}] ~ ~ ~ summon guardian
execute @e[type=vatonage:spawn_prismarine_platform,scores={calamityrunner=31}] ~ ~ ~ kill @s

execute @e[type=vatonage:spawn_iron_platform] ~ ~ ~ scoreboard players add @s calamityrunner 1
execute @e[type=vatonage:spawn_iron_platform,scores={calamityrunner=1}] ~ ~ ~ summon vatonage:wraith_knight
execute @e[type=vatonage:spawn_iron_platform,scores={calamityrunner=10}] ~ ~ ~ summon vatonage:wraith_mage
execute @e[type=vatonage:spawn_iron_platform,scores={calamityrunner=15}] ~ ~ ~ summon vatonage:wraith_mage
execute @e[type=vatonage:spawn_iron_platform,scores={calamityrunner=20}] ~ ~ ~ summon vatonage:wraith_mage
execute @e[type=vatonage:spawn_iron_platform,scores={calamityrunner=25}] ~ ~ ~ summon vatonage:wraith_mage
execute @e[type=vatonage:spawn_iron_platform,scores={calamityrunner=30}] ~ ~ ~ summon vatonage:wraith_mage
execute @e[type=vatonage:spawn_iron_platform,scores={calamityrunner=31}] ~ ~ ~ kill @s

execute @e[type=vatonage:spawn_golden_platform] ~ ~ ~ scoreboard players add @s calamityrunner 1
execute @e[type=vatonage:spawn_golden_platform,scores={calamityrunner=1}] ~ ~ ~ summon vatonage:golden_prince
execute @e[type=vatonage:spawn_golden_platform,scores={calamityrunner=10}] ~ ~ ~ summon vatonage:golden_zombie
execute @e[type=vatonage:spawn_golden_platform,scores={calamityrunner=15}] ~ ~ ~ summon zombie
execute @e[type=vatonage:spawn_golden_platform,scores={calamityrunner=20}] ~ ~ ~ summon vatonage:golden_zombie
execute @e[type=vatonage:spawn_golden_platform,scores={calamityrunner=25}] ~ ~ ~ summon vatonage:golden_zombie
execute @e[type=vatonage:spawn_golden_platform,scores={calamityrunner=30}] ~ ~ ~ summon vatonage:golden_zombie
execute @e[type=vatonage:spawn_golden_platform,scores={calamityrunner=31}] ~ ~ ~ kill @s

execute @e[type=vatonage:spawn_diamond_platform] ~ ~ ~ scoreboard players add @s calamityrunner 1
execute @e[type=vatonage:spawn_diamond_platform,scores={calamityrunner=1}] ~ ~ ~ summon vatonage:diamond_knight
execute @e[type=vatonage:spawn_diamond_platform,scores={calamityrunner=10}] ~ ~ ~ summon vatonage:diamond_pillager
execute @e[type=vatonage:spawn_diamond_platform,scores={calamityrunner=15}] ~ ~ ~ summon vatonage:diamond_pillager
execute @e[type=vatonage:spawn_diamond_platform,scores={calamityrunner=20}] ~ ~ ~ summon vatonage:diamond_pillager
execute @e[type=vatonage:spawn_diamond_platform,scores={calamityrunner=25}] ~ ~ ~ summon vatonage:golden_zombie
execute @e[type=vatonage:spawn_diamond_platform,scores={calamityrunner=30}] ~ ~ ~ summon vatonage:diamond_pillager
execute @e[type=vatonage:spawn_diamond_platform,scores={calamityrunner=31}] ~ ~ ~ kill @s

execute @e[type=vatonage:spawn_emerald_platform] ~ ~ ~ scoreboard players add @s calamityrunner 1
execute @e[type=vatonage:spawn_emerald_platform,scores={calamityrunner=1}] ~ ~ ~ summon vatonage:emerald_mage
execute @e[type=vatonage:spawn_emerald_platform,scores={calamityrunner=10}] ~ ~ ~ summon vatonage:emerald_steve
execute @e[type=vatonage:spawn_emerald_platform,scores={calamityrunner=15}] ~ ~ ~ summon vatonage:diamond_pillager
execute @e[type=vatonage:spawn_emerald_platform,scores={calamityrunner=20}] ~ ~ ~ summon vatonage:emerald_steve
execute @e[type=vatonage:spawn_emerald_platform,scores={calamityrunner=25}] ~ ~ ~ summon vatonage:emerald_steve
execute @e[type=vatonage:spawn_emerald_platform,scores={calamityrunner=30}] ~ ~ ~ summon vatonage:diamond_pillager
execute @e[type=vatonage:spawn_emerald_platform,scores={calamityrunner=35}] ~ ~ ~ summon vatonage:emerald_steve
execute @e[type=vatonage:spawn_emerald_platform,scores={calamityrunner=36}] ~ ~ ~ kill @s

execute @e[type=vatonage:spawn_obsidian_platform] ~ ~ ~ scoreboard players add @s calamityrunner 1
execute @e[type=vatonage:spawn_obsidian_platform,scores={calamityrunner=1}] ~ ~ ~ summon vatonage:carnivorous
execute @e[type=vatonage:spawn_obsidian_platform,scores={calamityrunner=10}] ~ ~ ~ summon vatonage:dungeon_guardian
execute @e[type=vatonage:spawn_obsidian_platform,scores={calamityrunner=20}] ~ ~ ~ summon vatonage:diamond_pillager
execute @e[type=vatonage:spawn_obsidian_platform,scores={calamityrunner=30}] ~ ~ ~ summon vatonage:wraith_knight
execute @e[type=vatonage:spawn_obsidian_platform,scores={calamityrunner=40}] ~ ~ ~ summon vatonage:emerald_mage
execute @e[type=vatonage:spawn_obsidian_platform,scores={calamityrunner=55}] ~ ~ ~ summon vatonage:calamity
execute @e[type=vatonage:spawn_obsidian_platform,scores={calamityrunner=65}] ~ ~ ~ summon vatonage:wraith_mage
execute @e[type=vatonage:spawn_obsidian_platform,scores={calamityrunner=65}] ~ ~ ~ summon vatonage:wraith_mage
execute @e[type=vatonage:spawn_obsidian_platform,scores={calamityrunner=65}] ~ ~ ~ summon vatonage:wraith_mage
execute @e[type=vatonage:spawn_obsidian_platform,scores={calamityrunner=66}] ~ ~ ~ kill @s

execute @e[type=vatonage:spawn_magma_platform] ~ ~ ~ scoreboard players add @s calamityrunner 1
execute @e[type=vatonage:spawn_magma_platform,scores={calamityrunner=1}] ~ ~ ~ summon vatonage:magmium
execute @e[type=vatonage:spawn_magma_platform,scores={calamityrunner=15}] ~ ~ ~ summon vatonage:nether_golem
execute @e[type=vatonage:spawn_magma_platform,scores={calamityrunner=25}] ~ ~ ~ summon vatonage:nether_golem
execute @e[type=vatonage:spawn_magma_platform,scores={calamityrunner=26}] ~ ~ ~ kill @s

execute @e[type=vatonage:spawn_purpur_platform] ~ ~ ~ scoreboard players add @s calamityrunner 1
execute @e[type=vatonage:spawn_purpur_platform,scores={calamityrunner=1}] ~ ~ ~ summon vatonage:warped_enderman
execute @e[type=vatonage:spawn_purpur_platform,scores={calamityrunner=10}] ~ ~ ~ summon vatonage:warped_enderman
execute @e[type=vatonage:spawn_purpur_platform,scores={calamityrunner=15}] ~ ~ ~ summon vatonage:warped_creeper
execute @e[type=vatonage:spawn_purpur_platform,scores={calamityrunner=20}] ~ ~ ~ summon vatonage:warped_enderman
execute @e[type=vatonage:spawn_purpur_platform,scores={calamityrunner=25}] ~ ~ ~ summon vatonage:warped_creeper
execute @e[type=vatonage:spawn_purpur_platform,scores={calamityrunner=30}] ~ ~ ~ summon vatonage:warped_enderman
execute @e[type=vatonage:spawn_purpur_platform,scores={calamityrunner=35}] ~ ~ ~ summon vatonage:warped_enderman
execute @e[type=vatonage:spawn_purpur_platform,scores={calamityrunner=40}] ~ ~ ~ summon vatonage:emotionless
execute @e[type=vatonage:spawn_purpur_platform,scores={calamityrunner=45}] ~ ~ ~ summon vatonage:warped_enderman
execute @e[type=vatonage:spawn_purpur_platform,scores={calamityrunner=50}] ~ ~ ~ summon vatonage:warped_creeper
execute @e[type=vatonage:spawn_purpur_platform,scores={calamityrunner=55}] ~ ~ ~ summon vatonage:warped_enderman
execute @e[type=vatonage:spawn_purpur_platform,scores={calamityrunner=60}] ~ ~ ~ summon vatonage:warped_enderman
execute @e[type=vatonage:spawn_purpur_platform,scores={calamityrunner=65}] ~ ~ ~ summon vatonage:warped_creeper
execute @e[type=vatonage:spawn_purpur_platform,scores={calamityrunner=70}] ~ ~ ~ summon vatonage:warped_enderman
execute @e[type=vatonage:spawn_purpur_platform,scores={calamityrunner=71}] ~ ~ ~ kill @s