Updated to Minecraft 1.20.5
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#Check for wrench input
|
||||
execute if entity @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Wrench:597832584}}}] run function wrench:rotate
|
||||
execute if entity @s[nbt={Inventory:[{Slot:-106b, id:"minecraft:carrot_on_a_stick",tag:{Wrench:597832584}}]}] run function wrench:wrench/offhand
|
||||
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
|
||||
|
Reference in New Issue
Block a user