Tools created do not break with procedure damage.

Started by WeswePengu on

Topic category: Troubleshooting, bugs, and solutions

Active 3 years ago
Joined Jul 2018
Points:
726

User statistics:

  • Modifications: 2
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 16
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?

Active 1 year ago
Joined Jan 2018
Points:
730

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 56
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.

Active 1 year ago
Joined Jan 2018
Points:
730

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 56
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.