Updated Namespace

Integrated Resourcepack
This commit is contained in:
2025-05-14 12:03:04 +01:00
parent 4137e85850
commit e2eb8071f7
82 changed files with 181 additions and 133 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:["lzstools:wrench","lzstools:wrench_default"]},minecraft:custom_data={lzstools:"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 lzstools:wrench/mainhand run function wrench:wrench/rotate
execute if predicate lzstools: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 lzstools: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