Updated to 1.21.5 and added model names for resource packs.

This commit is contained in:
2025-04-02 18:39:07 +01:00
parent af7fed5674
commit 02a8a2ca97
19 changed files with 57 additions and 51 deletions

View File

@@ -1,6 +1,7 @@
#Check for wrench input
execute if entity @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",components:{"minecraft:custom_data":{Wrench:597832584}}}}] run function wrench:rotate
execute if entity @s[nbt={Inventory:[{Slot:-106b, id:"minecraft:carrot_on_a_stick",components:{"minecraft:custom_data":{Wrench:597832584}}}]}] run function wrench:wrench/offhand
execute if entity @s[nbt={SelectedItem:{components:{"minecraft:custom_data":{lzstealth:"wrench"}}}}] run function wrench:rotate
execute if entity @s[nbt={equipment:{offhand:{components:{"minecraft:custom_data":{lzstealth:"wrench"}}}}}] run function wrench:wrench/offhand
#Check if wrench has been crafted
execute as @s[scores={WrenchInput=1..}] run function wrench:wrench/convert