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 @@
give @s minecraft:carrot_on_a_stick[minecraft:custom_name={"text":"Rotator Wrench","color":"aqua"},minecraft:lore=["Default"],minecraft:custom_model_data={strings:["lzstealth:wrench","lzstealth:wrench_default"]},minecraft:custom_data={lzstealth:"wrench"},minecraft:unbreakable={},minecraft:enchantment_glint_override=false,minecraft:tooltip_display={hidden_components:["minecraft:unbreakable"]}]

View File

@@ -0,0 +1,6 @@
# Click Check
scoreboard objectives add lz_click_check minecraft.used:minecraft.carrot_on_a_stick
# Wrench
scoreboard objectives add lz_wrench_success dummy
scoreboard objectives add lz_wrench_raycast dummy

View File

@@ -0,0 +1,6 @@
scoreboard players set @s lz_click_check 0
# Wrench
execute if predicate lz:wrench/mainhand run function wrench:wrench/rotate
execute if predicate lz:wrench/offhand run function wrench:wrench/offhand

View File

@@ -0,0 +1 @@
recipe give @s wrench:wrench

View File

@@ -0,0 +1,2 @@
# Click Check
execute as @a if score @s lz_click_check matches 1.. run function lz:player

View File

@@ -0,0 +1,4 @@
# Uninstall
scoreboard objectives remove lz_click_check
scoreboard objectives remove lz_wrench_success
scoreboard objectives remove lz_wrench_raycast