Topic category: Help with MCreator software
This is the code I've been using to restore 1 durability every 6 seconds on entity tick update. The particles and reset work, but no matter what I do, it will not decrease the damage the item has taken. I've even tried just setting the damage of the item in slot 0 of the entity's inventory but it won't update.
The mob has a single slot inventory that the player cannot take the item out of. Everything else works fine with the item being put in.