Raycasting Customizer

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

Go back

Select which type of detection to use.

Specify the maximum distance of the raycast in blocks.

Block

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.

Tip: use scoreboard players set #hit vdvcasttemp 0 if you want the raycast to continue.

Entity

Select which types of entities should be detected. Leave blank for all entities.

Specify the commands you wish to run when entity raycasting succeeds.

Tip: use scoreboard players set #hit vdvcasttemp 0 if you want the raycast to continue.