updated tags and scoreboards

added sound to action
fixed damage when in offhand
This commit is contained in:
2025-05-15 23:20:41 +01:00
parent e2b221eed0
commit 329f879cd8
133 changed files with 1287 additions and 1284 deletions

View File

@@ -1,9 +1,9 @@
#Setting up the raycasting data.
scoreboard players set #distance lz_trowel_raycast 0
tag @s add lz_trowel_raycast
scoreboard players set #distance lzt_trowel_raycast 0
tag @s add lzt_trowel_raycast
#Activating the raycast. This function will call itself until it is done.
execute as @e[tag=lz_trowel_raycast] at @s anchored eyes positioned ^ ^ ^ run function lzstools_trowel:raycast/rayloop
execute as @e[tag=lzt_trowel_raycast] at @s anchored eyes positioned ^ ^ ^ run function lzstools_trowel:raycast/rayloop
#Raycasting finished, removing tag from the raycaster.
tag @s remove lz_trowel_raycast
tag @s remove lzt_trowel_raycast