#untwo:proj_sys/collision_check/
#xyzのいずれかが範囲外なら0を返す(当たったら1)
execute if block ~ ~ ~ #untwo:collision/pass_through/natural/snow[layers=1] run return fail
execute if block ~ ~ ~ #untwo:collision/pass_through/natural/snow[layers=2] if score #&collsion.decimal.x untwo.temp.0 matches 0..9999 if score #&collsion.decimal.y untwo.temp.0 matches 0..1250 if score #&collsion.decimal.z untwo.temp.0 matches 0..9999 run return 1
execute if block ~ ~ ~ #untwo:collision/pass_through/natural/snow[layers=3] if score #&collsion.decimal.x untwo.temp.0 matches 0..9999 if score #&collsion.decimal.y untwo.temp.0 matches 0..2500 if score #&collsion.decimal.z untwo.temp.0 matches 0..9999 run return 1
execute if block ~ ~ ~ #untwo:collision/pass_through/natural/snow[layers=4] if score #&collsion.decimal.x untwo.temp.0 matches 0..9999 if score #&collsion.decimal.y untwo.temp.0 matches 0..3750 if score #&collsion.decimal.z untwo.temp.0 matches 0..9999 run return 1
execute if block ~ ~ ~ #untwo:collision/pass_through/natural/snow[layers=5] if score #&collsion.decimal.x untwo.temp.0 matches 0..9999 if score #&collsion.decimal.y untwo.temp.0 matches 0..5000 if score #&collsion.decimal.z untwo.temp.0 matches 0..9999 run return 1
execute if block ~ ~ ~ #untwo:collision/pass_through/natural/snow[layers=6] if score #&collsion.decimal.x untwo.temp.0 matches 0..9999 if score #&collsion.decimal.y untwo.temp.0 matches 0..6250 if score #&collsion.decimal.z untwo.temp.0 matches 0..9999 run return 1
execute if block ~ ~ ~ #untwo:collision/pass_through/natural/snow[layers=7] if score #&collsion.decimal.x untwo.temp.0 matches 0..9999 if score #&collsion.decimal.y untwo.temp.0 matches 0..7500 if score #&collsion.decimal.z untwo.temp.0 matches 0..9999 run return 1
execute if block ~ ~ ~ #untwo:collision/pass_through/natural/snow[layers=8] if score #&collsion.decimal.x untwo.temp.0 matches 0..9999 if score #&collsion.decimal.y untwo.temp.0 matches 0..8750 if score #&collsion.decimal.z untwo.temp.0 matches 0..9999 run return 1
###
#何にもあたらなかったら0を返す
return fail
