Creates a data pack using vdvman1's raycasting functions.
Use the following command to activate the raycast:
execute as <shooter> at @s anchored eyes positioned ^ ^ ^ anchored feet run function vdv_raycast:start_ray
Select which type of detection to use.
Specify the maximum distance of the raycast in blocks.
Select which type of block detection should be used.
Specify which blocks to use with the block detection method above.
Specify the commands you wish to run when block raycasting succeeds.
scoreboard players set #hit vdvcasttemp 0
Select which types of entities should be detected. Leave blank for all entities.
Specify the commands you wish to run when entity raycasting succeeds.