How to Auto-Repair an item?

Started by FiveNights2161 on

Topic category: Help with MCreator software

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to Auto-Repair an item?

I'm trying to make an item that, while you run, automatically repairs.

I've tried adding damage as a negative value
https://i.imgur.com/JmSCUoq.png
 

And I've also tried subtracting the damage
https://i.imgur.com/3UfKmBh.png

 

And nothing's worked so far.
I'm using MCreator 2024.2 and trying to make a Curios item

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I tried the second one and…
Wed, 07/31/2024 - 17:50

I tried the second one and it works, maybe there's something wrong with the rest of the procedure?