## Runs from function player/spawning/enderman_spawn_clock
## @s = player

tag @a remove WraithDungeon
tag @s add WraithDungeon

scoreboard objectives add SpawnerXYZ dummy

summon ldz:dungeon_spawner ~ -64 ~ 0 0 wraith
scoreboard players add @e[type=ldz:dungeon_spawner] SpawnerXYZ 1
teleport @e[type=ldz:dungeon_spawner,scores={SpawnerXYZ=1}] 565 165 50

summon ldz:dungeon_spawner ~ -64 ~ 0 0 wraith
scoreboard players add @e[type=ldz:dungeon_spawner] SpawnerXYZ 1
teleport @e[type=ldz:dungeon_spawner,scores={SpawnerXYZ=1}] 549 179 50

summon ldz:dungeon_spawner ~ -64 ~ 0 0 wraith
scoreboard players add @e[type=ldz:dungeon_spawner] SpawnerXYZ 1
teleport @e[type=ldz:dungeon_spawner,scores={SpawnerXYZ=1}] 549 165 59

summon ldz:dungeon_spawner ~ -64 ~ 0 0 wraith
scoreboard players add @e[type=ldz:dungeon_spawner] SpawnerXYZ 1
teleport @e[type=ldz:dungeon_spawner,scores={SpawnerXYZ=1}] 558 165 32

summon ldz:dungeon_spawner ~ -64 ~ 0 0 wraith
scoreboard players add @e[type=ldz:dungeon_spawner] SpawnerXYZ 1
teleport @e[type=ldz:dungeon_spawner,scores={SpawnerXYZ=1}] 566 180 34

summon ldz:dungeon_spawner ~ -64 ~ 0 0 wraith
scoreboard players add @e[type=ldz:dungeon_spawner] SpawnerXYZ 1
teleport @e[type=ldz:dungeon_spawner,scores={SpawnerXYZ=1}] 565 180 66

summon ldz:dungeon_spawner ~ -64 ~ 0 0 wraith
scoreboard players add @e[type=ldz:dungeon_spawner] SpawnerXYZ 1
teleport @e[type=ldz:dungeon_spawner,scores={SpawnerXYZ=1}] 565 171 71

summon ldz:dungeon_spawner ~ -64 ~ 0 0 wraith
scoreboard players add @e[type=ldz:dungeon_spawner] SpawnerXYZ 1
teleport @e[type=ldz:dungeon_spawner,scores={SpawnerXYZ=1}] 565 171 29

summon ldz:dungeon_spawner ~ -64 ~ 0 0 wraith
scoreboard players add @e[type=ldz:dungeon_spawner] SpawnerXYZ 1
teleport @e[type=ldz:dungeon_spawner,scores={SpawnerXYZ=1}] 573 165 67

summon ldz:dungeon_spawner ~ -64 ~ 0 0 wraith
scoreboard players add @e[type=ldz:dungeon_spawner] SpawnerXYZ 1
teleport @e[type=ldz:dungeon_spawner,scores={SpawnerXYZ=1}] 579 165 39

summon ldz:dungeon_spawner ~ -64 ~ 0 0 wraith
scoreboard players add @e[type=ldz:dungeon_spawner] SpawnerXYZ 1
teleport @e[type=ldz:dungeon_spawner,scores={SpawnerXYZ=1}] 536 164 75

summon ldz:dungeon_spawner ~ -64 ~ 0 0 wraith
scoreboard players add @e[type=ldz:dungeon_spawner] SpawnerXYZ 1
teleport @e[type=ldz:dungeon_spawner,scores={SpawnerXYZ=1}] 539 164 28

#scoreboard objectives remove SpawnerXYZ