Tools created do not break with procedure damage.

Started by WeswePengu on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 18:20, 9. Nov 2021
Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Tools created do not break with procedure damage.

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?

Last seen on 01:15, 28. Feb 2024
Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Made a quick video on how to…
Mon, 07/16/2018 - 16:21

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.

Last seen on 01:15, 28. Feb 2024
Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh and if you want it to…
Mon, 07/16/2018 - 16:23

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.