Mark Rapson 46a6e9ad65
All checks were successful
Draft Release / deploy-prod (push) Successful in 4s
Added Chisel
2025-05-21 21:26:09 +01:00

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