#execute positioned ~ ~ ~ run execute if predicate suhc:biomes/deserts run scoreboard players add @s KyuDummy3 1
#execute positioned ~29 ~ ~29 run execute if predicate suhc:biomes/deserts run scoreboard players add @s KyuDummy3 1
#execute positioned ~-29 ~ ~29 run execute if predicate suhc:biomes/deserts run scoreboard players add @s KyuDummy3 1
#execute positioned ~29 ~ ~-29 run execute if predicate suhc:biomes/deserts run scoreboard players add @s KyuDummy3 1
#execute positioned ~-29 ~ ~-29 run execute if predicate suhc:biomes/deserts run scoreboard players add @s KyuDummy3 1
#
#
#execute positioned ~ ~ ~ run execute unless block ~ 62 ~ water run scoreboard players add @s KyuDummy3 1
#execute positioned ~29 ~ ~29 run execute unless block ~ 62 ~ water run scoreboard players add @s KyuDummy3 1
#execute positioned ~-29 ~ ~29 run execute unless block ~ 62 ~ water run scoreboard players add @s KyuDummy3 1
#execute positioned ~29 ~ ~-29 run execute unless block ~ 62 ~ water run scoreboard players add @s KyuDummy3 1
#execute positioned ~-29 ~ ~-29 run execute unless block ~ 62 ~ water run scoreboard players add @s KyuDummy3 1
scoreboard players set @s[tag=PyramidCheck1] KyuDummy3 0
scoreboard players set @s[tag=!PyramidCheck1] KyuDummy3 0



execute as @s run execute unless block ~29 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~28 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~26 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~23 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~20 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~17 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~14 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~11 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~8 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~5 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~2 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~-1 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~-4 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~-7 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~-10 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~-13 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~-16 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~-19 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~-22 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~-25 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~-28 #suhc:bloodboltpassthrough run execute unless block ~29 ~-1 ~-29 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy3 1



execute as @s[type=marker,scores={KyuDummy3=1..}] run execute unless block ~-29 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~28 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~26 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~23 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~20 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~17 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~14 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~11 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~8 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~5 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~2 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~-1 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~-4 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~-7 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~-10 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~-13 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~-16 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~-19 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~-22 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~-25 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~-28 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~-29 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy3 1




execute as @s[type=marker,scores={KyuDummy3=2..}] run execute unless block ~29 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~28 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~26 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~23 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~20 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~17 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~14 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~11 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~8 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~5 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~2 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~-1 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~-4 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~-7 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~-10 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~-13 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~-16 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~-19 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~-22 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~-25 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~-28 ~-1 ~29 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~29 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy3 1



execute as @s[type=marker,scores={KyuDummy3=3..}] run execute unless block ~29 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~28 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~26 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~23 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~20 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~17 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~14 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~11 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~8 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~5 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~2 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~-1 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~-4 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~-7 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~-10 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~-13 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~-16 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~-19 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~-22 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~-25 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~-28 ~-1 ~-29 #suhc:bloodboltpassthrough run execute unless block ~-29 ~-1 ~-29 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy3 1
























#execute as @s run execute positioned ~29 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~28 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~26 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~23 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~20 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~17 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~14 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~11 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~8 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~5 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~2 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~-1 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~-4 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~-7 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~-10 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~-13 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~-16 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~-19 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~-22 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~-25 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~-28 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~29 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy3 1
#
#
#
#execute as @s[type=marker,scores={KyuDummy3=1..}] run execute positioned ~-29 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~28 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~26 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~23 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~20 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~17 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~14 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~11 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~8 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~5 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~2 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~-1 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~-4 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~-7 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~-10 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~-13 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~-16 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~-19 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~-22 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~-25 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~-28 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy3 1
#
#
#
#
#execute as @s[type=marker,scores={KyuDummy3=2..}] run execute positioned ~29 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~28 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~26 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~23 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~20 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~17 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~14 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~11 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~8 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~5 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~2 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-1 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-4 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-7 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-10 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-13 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-16 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-19 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-22 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-25 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-28 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy3 1
#
#
#
#execute as @s[type=marker,scores={KyuDummy3=3..}] run execute positioned ~29 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~28 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~26 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~23 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~20 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~17 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~14 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~11 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~8 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~5 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~2 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-1 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-4 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-7 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-10 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-13 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-16 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-19 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-22 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-25 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-28 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute positioned ~-29 ~ ~-29 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy3 1





#kill @s[tag=PyramidCheck1,type=marker,scores={KyuDummy3=..87}]

tag @s[type=marker,scores={KyuDummy3=4..}] add FoundSpawningSpot
scoreboard players add @s[type=marker] KyuDummy4 1

kill @s[tag=!FoundSpawningSpot,type=marker,scores={KyuDummy4=40..}]
execute as @s[predicate=suhc:fiftyplusy,tag=!FoundSpawningSpot,type=marker,scores={KyuDummy4=..40}] run execute at @s run tp @s ~ ~-1 ~
execute at @s[tag=!FoundSpawningSpot,type=marker,scores={KyuDummy4=..40}] positioned ~ ~ ~ run function zzzzdonotuse:structures/pyramid/pyramidblockcheck2
#execute at @s[tag=!NoSpawning,tag=FoundSpawningSpot] run execute at @s positioned ~ ~28 ~ run function zzzzdonotuse:structures/pyramid/createtriangle

















