Slowly decrease durability

Started by JrBacon on

Topic category: Help with modding (Java Edition)

Last seen on 19:49, 17. Oct 2024
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Slowly decrease durability

I have been trying and trying to make a procedure where every few ticks, like every 10 ticks it damages the durability. How do i do that? Because every single thing I have tried, It takes durability away every single tick which is not what I want.

 

Last seen on 20:10, 17. Oct 2024
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you show what you have…
Thu, 10/17/2024 - 19:48

Can you show what you have tried?

You'd have to make a timer, probably NBT/component would be easiest for items.

Last seen on 19:49, 17. Oct 2024
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I dont know how to image,…
Thu, 10/17/2024 - 19:51

I dont know how to image, but I did when in hand tick trigger, and then a wait loop with the damge item type 1. I have no idea what I am supposed to do