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

###
execute if block ~ ~ ~ #untwo:collision/pass_through/other/cake[bites=0] if score #&collsion.decimal.x untwo.temp.0 matches 625..9375 if score #&collsion.decimal.y untwo.temp.0 matches 0..5000 if score #&collsion.decimal.z untwo.temp.0 matches 625..9375 run return 1
execute if block ~ ~ ~ #untwo:collision/pass_through/other/cake[bites=1] if score #&collsion.decimal.x untwo.temp.0 matches 1875..9375 if score #&collsion.decimal.y untwo.temp.0 matches 0..5000 if score #&collsion.decimal.z untwo.temp.0 matches 625..9375 run return 1
execute if block ~ ~ ~ #untwo:collision/pass_through/other/cake[bites=2] if score #&collsion.decimal.x untwo.temp.0 matches 3125..9375 if score #&collsion.decimal.y untwo.temp.0 matches 0..5000 if score #&collsion.decimal.z untwo.temp.0 matches 625..9375 run return 1
execute if block ~ ~ ~ #untwo:collision/pass_through/other/cake[bites=3] if score #&collsion.decimal.x untwo.temp.0 matches 4375..9375 if score #&collsion.decimal.y untwo.temp.0 matches 0..5000 if score #&collsion.decimal.z untwo.temp.0 matches 625..9375 run return 1
execute if block ~ ~ ~ #untwo:collision/pass_through/other/cake[bites=4] if score #&collsion.decimal.x untwo.temp.0 matches 5625..9375 if score #&collsion.decimal.y untwo.temp.0 matches 0..5000 if score #&collsion.decimal.z untwo.temp.0 matches 625..9375 run return 1
execute if block ~ ~ ~ #untwo:collision/pass_through/other/cake[bites=5] if score #&collsion.decimal.x untwo.temp.0 matches 6875..9375 if score #&collsion.decimal.y untwo.temp.0 matches 0..5000 if score #&collsion.decimal.z untwo.temp.0 matches 625..9375 run return 1
execute if block ~ ~ ~ #untwo:collision/pass_through/other/cake[bites=6] if score #&collsion.decimal.x untwo.temp.0 matches 8125..9375 if score #&collsion.decimal.y untwo.temp.0 matches 0..5000 if score #&collsion.decimal.z untwo.temp.0 matches 625..9375 run return 1



###

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

