#execute at @s[tag=-7ZRangeOffset] positioned ~ ~ ~-7 run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#execute at @s[tag=-2ZRangeOffset] positioned ~ ~ ~-2 run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#execute at @s[tag=-5Z_8X_RangeOffset] positioned ~8 ~ ~-5 run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#execute at @s[tag=-2Z_2X_RangeOffset] positioned ~2 ~ ~-2 run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#execute at @s[tag=2Z_2X_RangeOffset] positioned ~2 ~ ~2 run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#execute at @s[tag=-1Z_-1X_RangeOffset] positioned ~-1 ~ ~-1 run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#execute at @s[tag=-2Z_-1X_RangeOffset] positioned ~-1 ~ ~-2 run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#execute at @s[tag=1Z_1X_RangeOffset] positioned ~1 ~ ~1 run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#execute at @s[tag=3Z_0X_RangeOffset] positioned ~ ~ ~3 run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#execute at @s[tag=4Z_1X_RangeOffset] positioned ~-1 ~ ~4 run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#execute at @s[tag=3Z_3X_RangeOffset] positioned ~3 ~ ~3 run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#execute at @s[tag=5Z_1X_RangeOffset] positioned ~1 ~ ~5 run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#execute at @s[tag=-2Z_-5X_RangeOffset] positioned ~-5 ~ ~-2 run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#execute at @s[tag=5ZRangeOffset] positioned ~ ~ ~5 run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#execute at @s[tag=-3XRangeOffset] positioned ~-3 ~ ~ run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#execute at @s[tag=-1Z_1X_RangeOffset] positioned ~1 ~ ~1 run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#execute at @s[tag=-1Z_3X_RangeOffset] positioned ~3 ~ ~-1 run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#
#execute at @s[tag=!-1Z_3X_RangeOffset,tag=!-7ZRangeOffset,tag=!-2ZRangeOffset,tag=!-5Z_8X_RangeOffset,tag=!-2Z_2X_RangeOffset,tag=!2Z_2X_RangeOffset,tag=!-1Z_-1X_RangeOffset,tag=!-2Z_-1X_RangeOffset,tag=!1Z_1X_RangeOffset,tag=!3Z_0X_RangeOffset,tag=!4Z_1X_RangeOffset,tag=!3Z_3X_RangeOffset,tag=!5Z_1X_RangeOffset,tag=!-2Z_-5X_RangeOffset,tag=!5ZRangeOffset,tag=!-3XRangeOffset] positioned ~ ~ ~ run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange



#"SpawnerNum1" - Left room at the start, Skeleton spawner
#"SpawnerNum2 and 3" - Left room at the start, the 2 cave spider spawners
#"SpawnerNum4" - Right room at the start, Skeleton spawner
#"SpawnerNum5" - Right hallway at the start, Husk Spawner
#"SpawnerNum6 and 7" - Small room with blaze chest trap 
#"SpawnerNum8" - Small room with spider spawner
#"SpawnerNum9" - Cactus Trap spawner
#"SpawnerNum10, 11, 12, and 13" -  Parkour room
#"SpawnerNum14" - Lava room
#"SpawnerNum15 and 16" - Blaze room
#"SpawnerNum17 through 22" - Silverfish maze
#execute at @s[tag=SpawnerNum1] positioned ~ ~ ~ run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#execute at @s[tag=SpawnerNum2] positioned ~ ~ ~ run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#execute at @s[tag=SpawnerNum3] positioned ~ ~ ~ run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#execute at @s[tag=SpawnerNum4] positioned ~ ~ ~ run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange
#execute at @s[tag=SpawnerNum5] positioned ~ ~ ~ run execute if entity @a[distance=..10,gamemode=!spectator] run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange

function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/checkspawnrange





