Mark Rapson c6a7150041 Added Hammer
Added Unbreaking tag
Renamed rayloop to loop
2025-05-17 01:47:52 +01:00

8 lines
324 B
MCFunction

#Setting up the raycasting data.
scoreboard players set #distance lzt_wrench_raycast 0
#Activating the raycast. This function will call itself until it is done.
execute as @s at @s anchored eyes positioned ^ ^ ^ anchored feet run function lzstools_wrench:raycast/loop
# Clean Data
data remove storage lzstools:wrench block