scoreboard players set @s KyuDummy 0
scoreboard players set @s KyuDummy2 0

summon marker ~ ~ ~ {Tags:["DebugSpawner"]}
scoreboard players add @e[type=marker,tag=DebugSpawner] KyuDummy2 0
execute as @e[type=marker,tag=DebugSpawner] run function zzzzdonotuse:structures/structuredebug/debugsummonmarker

execute as @e[type=marker,tag=DebugTest] run function zzzzdonotuse:structures/structuredebug/movedown


execute as @e[type=marker,tag=DebugTest] run execute at @s positioned ~ ~ ~ run function zzzzdonotuse:structures/structuredebug/blockcheck
tellraw @a ["",{"text":"---STRUCTURE DEBUG---","color":"dark_red"}]


tellraw @a ["",{"color":"green","score":{"name":"@s","objective":"KyuDummy"}},{"text":" successful spawns","color":"yellow"}]
tellraw @a ["",{"color":"red","score":{"name":"@s","objective":"KyuDummy2"}},{"text":" failed spawns","color":"yellow"}]

scoreboard players operation @s KyuDummy += @s KyuDummy2

tellraw @a ["",{"color":"dark_aqua","score":{"name":"@s","objective":"KyuDummy"}},{"text":" total areas checked","color":"yellow"}]

tellraw @a ["",{"text":"---STRUCTURE DEBUG END---","color":"dark_red"}]
