Added Hammer
Added Unbreaking tag Renamed rayloop to loop
This commit is contained in:
@@ -23,4 +23,4 @@ execute as @s[scores={lzt_wrench_success=1..}] run playsound minecraft:entity.it
|
||||
|
||||
# Advance forward and if nothing found
|
||||
scoreboard players add #distance lzt_wrench_raycast 1
|
||||
execute if score @s lzt_wrench_success matches 0 if score #distance lzt_wrench_raycast matches ..451 positioned ^ ^ ^0.01 run function lzstools_wrench:raycast/rayloop
|
||||
execute if score @s lzt_wrench_success matches 0 if score #distance lzt_wrench_raycast matches ..451 positioned ^ ^ ^0.01 run function lzstools_wrench:raycast/loop
|
@@ -2,7 +2,7 @@
|
||||
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/rayloop
|
||||
execute as @s at @s anchored eyes positioned ^ ^ ^ anchored feet run function lzstools_wrench:raycast/loop
|
||||
|
||||
# Clean Data
|
||||
data remove storage lzstools:wrench block
|
Reference in New Issue
Block a user