All checks were successful
Draft Release / deploy-prod (push) Successful in 4s
11 lines
468 B
MCFunction
11 lines
468 B
MCFunction
#Setting up the raycasting data.
|
|
scoreboard players set #distance lzt_chisel_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_chisel:raycast/loop
|
|
|
|
# Clean Data
|
|
data remove storage lzstools:chisel inventory
|
|
data remove storage lzstools:chisel damage
|
|
data remove storage lzstools:chisel chosen_block
|
|
data remove storage lzstools:chisel chosen_slot |