Added Trowel

Fixed issue with wrench
Organised tools into folders
This commit is contained in:
2025-05-15 22:24:08 +01:00
parent 444e5071d4
commit e2b221eed0
225 changed files with 1191 additions and 536 deletions

View File

@@ -0,0 +1,12 @@
## X Y Z Click
# Get Raycast Target Coords
function lzstools_wrench:raycast/target_coords
## Rotate X Y Z
$execute as @s[scores={lz_wrench_success=0}] unless score pz lz_wrench_raycast matches 1..14 store result score @s lz_wrench_success run setblock ~ ~ ~ $(block)[axis=z] replace
$execute as @s[scores={lz_wrench_success=0}] unless score py lz_wrench_raycast matches 1..14 store result score @s lz_wrench_success run setblock ~ ~ ~ $(block)[axis=y] replace
$execute as @s[scores={lz_wrench_success=0}] unless score px lz_wrench_raycast matches 1..14 store result score @s lz_wrench_success run setblock ~ ~ ~ $(block)[axis=x] replace
# Failed
execute as @s[scores={lz_wrench_success=0}] run scoreboard players set @s lz_wrench_success -1