#untwo:proj_sys/collision_check/
#xyzのいずれかが範囲外なら0を返す(当たったら1)

###
execute if score #&collsion.decimal.x untwo.temp.0 matches 1875..8125 if score #&collsion.decimal.y untwo.temp.0 matches 1875..8125 if score #&collsion.decimal.z untwo.temp.0 matches 1875..8125 run return 1
execute if block ~ ~ ~ #untwo:collision/pass_through/concatenation/chorus_plant[down=true] if score #&collsion.decimal.x untwo.temp.0 matches 1875..8125 if score #&collsion.decimal.y untwo.temp.0 matches 0..8125 if score #&collsion.decimal.z untwo.temp.0 matches 1875..8125 run return 1
execute if block ~ ~ ~ #untwo:collision/pass_through/concatenation/chorus_plant[north=true] if score #&collsion.decimal.x untwo.temp.0 matches 1875..8125 if score #&collsion.decimal.y untwo.temp.0 matches 1875..8125 if score #&collsion.decimal.z untwo.temp.0 matches 0..8125 run return 1
execute if block ~ ~ ~ #untwo:collision/pass_through/concatenation/chorus_plant[south=true] if score #&collsion.decimal.x untwo.temp.0 matches 1875..8125 if score #&collsion.decimal.y untwo.temp.0 matches 1875..8125 if score #&collsion.decimal.z untwo.temp.0 matches 1875..9999 run return 1
execute if block ~ ~ ~ #untwo:collision/pass_through/concatenation/chorus_plant[east=true] if score #&collsion.decimal.x untwo.temp.0 matches 1875..9999 if score #&collsion.decimal.y untwo.temp.0 matches 1875..8125 if score #&collsion.decimal.z untwo.temp.0 matches 1875..8125 run return 1
execute if block ~ ~ ~ #untwo:collision/pass_through/concatenation/chorus_plant[west=true] if score #&collsion.decimal.x untwo.temp.0 matches 0..8125 if score #&collsion.decimal.y untwo.temp.0 matches 1875..8125 if score #&collsion.decimal.z untwo.temp.0 matches 1875..8125 run return 1
execute if block ~ ~ ~ #untwo:collision/pass_through/concatenation/chorus_plant[up=true] if score #&collsion.decimal.x untwo.temp.0 matches 1875..8125 if score #&collsion.decimal.y untwo.temp.0 matches 1875..9999 if score #&collsion.decimal.z untwo.temp.0 matches 1875..8125 run return 1
###

###
#何にもあたらなかったら0を返す
return fail