Started by
Luky_276
on
Topic category: Help with Minecraft modding (Java Edition)
The title pretty much explains it. I want to make a tool that doesn't break at durability 1 or 0, but I want it to stop working. Thanks in advance.
Topic category: Help with Minecraft modding (Java Edition)
The title pretty much explains it. I want to make a tool that doesn't break at durability 1 or 0, but I want it to stop working. Thanks in advance.
Make a new item for the "broken" state then do something like:
Global trigger : "Item is destroyed".
If [provided itemstack] = "your tool"
If [item in main-hand] = [empty itemstack] (hand should be empty, but verify just in case)
Set item in main-hand of [event/target entity] to "broken item"
Copy NBT tags of [provided itemstack] onto [item in main-hand]