Added waterlogged predicate Added Chain Variants Added Copper Golems Added Shelves Shrunk Ender Chest hitbox Moved partial box items into their own folder
This commit is contained in:
@@ -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={lzt_wrench_success=0}] unless score pz lzt_wrench_raycast matches 1..14 store result score @s lzt_wrench_success run setblock ~ ~ ~ $(block)[waterlogged=true,axis=z] replace
|
||||
$execute as @s[scores={lzt_wrench_success=0}] unless score py lzt_wrench_raycast matches 1..14 store result score @s lzt_wrench_success run setblock ~ ~ ~ $(block)[waterlogged=true,axis=y] replace
|
||||
$execute as @s[scores={lzt_wrench_success=0}] unless score px lzt_wrench_raycast matches 1..14 store result score @s lzt_wrench_success run setblock ~ ~ ~ $(block)[waterlogged=true,axis=x] replace
|
||||
|
||||
# Failed
|
||||
execute as @s[scores={lzt_wrench_success=0}] run scoreboard players set @s lzt_wrench_success -1
|
Reference in New Issue
Block a user