execute at @e[name=LavD] run kill @e[name="Cadeyrn the Wretched",distance=..200]
execute at @e[name=LavD] positioned ~46 5 ~1 run kill @e[tag=!RealCadeyrn,type=skeleton_horse,distance=..25]


#keep
execute at @e[name=LavD] positioned ~-42 2 ~ run setblock ~ ~ ~ minecraft:structure_block[mode=load]{name:"suhc:crumblingkeep",posX:-14,posZ:-13,posY:-2,rotation:"",mirror:NONE,mode:LOAD,ignoreEntities:0b} destroy
execute at @e[name=LavD] positioned ~-42 2 ~ run setblock ~ ~1 ~ minecraft:redstone_block

#shop
execute at @e[name=LavD] positioned ~46 5 ~1 run setblock ~ ~ ~ minecraft:structure_block[mode=load]{name:"suhc:nethershop",posX:-18,posZ:-16,posY:-5,rotation:"",mirror:NONE,mode:LOAD,ignoreEntities:0b} destroy
execute at @e[name=LavD] positioned ~46 5 ~1 run setblock ~ ~1 ~ minecraft:redstone_block

#trap
execute at @e[name=LavD] positioned ~ 5 ~42 run setblock ~ ~ ~ minecraft:structure_block[mode=load]{name:"suhc:withertrap",posX:-10,posZ:-8,posY:-3,rotation:"",mirror:NONE,mode:LOAD,ignoreEntities:0b} destroy
execute at @e[name=LavD] positioned ~ 5 ~42 run setblock ~ ~1 ~ minecraft:redstone_block

#spooder
#execute at @e[name=LavD] positioned ~ 4 ~-24 run fill ~ ~ ~ ~ ~ ~ minecraft:structure_block[mode=load]{name:"suhc:netherspooder",posX:-13,posZ:-25,posY:-3,rotation:"",mirror:NONE,mode:LOAD,ignoreEntities:0b} destroy
#execute at @e[name=LavD] positioned ~ 4 ~-24 run setblock ~ ~1 ~ minecraft:redstone_block

tag @e[type=armor_stand,name=DayQ] add NewDungeon
tag @e[type=armor_stand,name=LavD] add NewDungeon