execute unless block ~ ~ ~ #svm_ep:no_physical_hitbox run tag @s add end_raycast
execute unless entity @s[distance=..30] run tag @s add end_raycast

function svm_ep:power/flora/crop_growth/identify
execute as @s[tag=!end_raycast] positioned ^ ^ ^0.1 run function svm_ep:power/flora/crop_growth/raycast
tag @s remove end_raycast