scoreboard players add @s KyuDummy 0

##check the base tree trunk to make sure it's solid ground
#execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute unless block ~1 ~-1 ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute unless block ~ ~-1 ~1 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute unless block ~1 ~-1 ~1 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#
#execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute if block ~1 ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute if block ~ ~ ~1 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute if block ~1 ~ ~1 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
######THE BELOW COMMAND IS JUST THE ABOVE COMMENTED COMMANDS STACKED ONTO ONE COMMAND FOR EFFICIENCY
execute at @s run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute unless block ~1 ~-1 ~ #suhc:bloodboltpassthrough run execute unless block ~ ~-1 ~1 #suhc:bloodboltpassthrough run execute unless block ~1 ~-1 ~1 #suhc:bloodboltpassthrough run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run execute if block ~1 ~ ~ #suhc:bloodboltpassthrough run execute if block ~ ~ ~1 #suhc:bloodboltpassthrough run execute if block ~1 ~ ~1 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1

##check for air above the entrance
#execute if block ~-4 ~ ~-1 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute if block ~-4 ~1 ~-1 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute if block ~-4 ~2 ~-1 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute if block ~-4 ~3 ~-1 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute if block ~-4 ~4 ~-1 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute if block ~-4 ~5 ~-1 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#
#execute if block ~-4 ~ ~2 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute if block ~-4 ~1 ~2 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute if block ~-4 ~2 ~2 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute if block ~-4 ~3 ~2 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute if block ~-4 ~4 ~2 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute if block ~-4 ~5 ~2 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#
######THE BELOW COMMANDS ARE JUST THE ABOVE COMMENTED COMMANDS STACKED ONTO ONE COMMAND FOR EFFICIENCY
execute at @s[scores={KyuDummy=1..}] run execute if block ~-4 ~ ~-1 #suhc:bloodboltpassthrough run execute if block ~-4 ~1 ~-1 #suhc:bloodboltpassthrough run execute if block ~-4 ~2 ~-1 #suhc:bloodboltpassthrough run execute if block ~-4 ~3 ~-1 #suhc:bloodboltpassthrough run execute if block ~-4 ~4 ~-1 #suhc:bloodboltpassthrough run execute if block ~-4 ~5 ~-1 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
execute at @s[scores={KyuDummy=2..}] run execute if block ~-4 ~ ~2 #suhc:bloodboltpassthrough run execute if block ~-4 ~1 ~2 #suhc:bloodboltpassthrough run execute if block ~-4 ~2 ~2 #suhc:bloodboltpassthrough run execute if block ~-4 ~3 ~2 #suhc:bloodboltpassthrough run execute if block ~-4 ~4 ~2 #suhc:bloodboltpassthrough run execute if block ~-4 ~5 ~2 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1








#if any one block check fails, kill the marker
kill @s[type=!player,scores={KyuDummy=..2}]