I create a raycast.

I tried to create a raycast in Minecraft for my Datapack but it doesn't work. I'm trying to create it myself to understand how it works and know how to redo it later. So could you help me please?

Continue to help post