Added Hammer

Added Unbreaking tag
Renamed rayloop to loop
This commit is contained in:
2025-05-17 01:47:52 +01:00
parent d97807baf3
commit c6a7150041
34 changed files with 312 additions and 11 deletions

View File

@@ -0,0 +1,7 @@
## Raycast Loop
execute as @s at @n[type=item,nbt={Age:0s},distance=..0.8] run function lzstools_hammer:raycast/hit
# Advance forward and if nothing found
scoreboard players add #distance lzt_hammer_raycast 1
execute if score @s lzt_hammer_raycast_hit matches 0 if score #distance lzt_hammer_raycast matches ..451 positioned ^ ^ ^0.01 run function lzstools_hammer:raycast/loop