Complete rewrite

Prep for addition of optional additional tools
Removed config (for now)
Added loads of blocks
This commit is contained in:
2025-05-13 02:30:39 +01:00
parent 02a8a2ca97
commit 48d5cf9d5e
195 changed files with 2060 additions and 6794 deletions

View File

@@ -0,0 +1,12 @@
## X Y Z Click
# Get Raycast Target Coords
function 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