Check if a point is collides with a Interaction Entity's Bounding Box
Hey, I'm totally new to Datapacks, but I have lots of previous experience on modding and coding plugins.
I'm making a kind of a genius, where I need to detect if a point collides with a interaction entity. The entity is outlined in the image.
/execute if entity @e[type=interaction,distance=0..1,tag=blue_genius_interaction]I've tried using distance, but of course it won't work as it takes the origin. I could put it in the middle then check distance, it would work now, but that won't scale.