Help with adding random break %

Started by HazyDaze93 on

Topic category: Help with modding (Java Edition)

Last seen on 06:37, 14. Oct 2023
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with adding random break %

Hi everyone, I am making a mod pack and am in the midst of my custom weapons and armor I am making, I have picked an ore that is stronger then diamond but more unstable, so I would like to add a percentage in which the pick or axe or whatever you have made from it could have the random chance to break while using it.

 

Sorry if this isn't clear enough, any help would be great, thanks!!!