Dont break items when at 0 durability

Started by TheSkruffy on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Dont break items when at 0 durability

I wanted to make a ranged wepon that only has 20 durrability and doesn't use ammo, and when it breaks it gives you an unusable verison of the wepon taht can be repaired. Can someone help

Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I might be wrong but this…
Thu, 07/23/2020 - 18:20

I might be wrong but this will probably be only possible in the 2020.4 update, as it states in the changelog.
"Added "on item broken" global procedure trigger".

You could use that procedure to give yourself a different version of the item.

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yes, i will try, i was…
Thu, 07/23/2020 - 20:12

yes, i will try, i was hoping just for that, Tny mate