Started by
WeswePengu
on
Topic category: Troubleshooting, bugs, and solutions
Hello,
For my mod, I am trying to create an object, using tools, that you right click and regain all hunger (Like a Cornucopia.) I want it to last 5 uses and decrease by 1 each use. But when it reaches 0 on durability, instead of breaking, it just stays at 0 durability in my inventory and continues to be usable.
Any work arounds for this?
Made a quick video on how to do it but I forgot one bit. Both links: (Note: External Links to Youtube)
1st
2nd
I'm not bothered to delete them both, combine with vegas, export and re-upload with another description so yeah. Hope this helped.
Oh and if you want it to break, make it remove from inventory using Remove 1 [block] from players inventory] :D You might want to add a custom sound too.