Added Crafter and raligned file depth

This commit is contained in:
2024-11-06 18:31:37 +00:00
parent f7a37a68b9
commit c35e52cf17
71 changed files with 58 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
#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
#Check if wrench has been crafted
execute as @s[scores={WrenchInput=1..}] run function wrench:wrench/convert
#Reset score
scoreboard players set @s WrenchInput 0