How to make an axe use one durability.

Started by Crusader Gladiator on

Topic category: Help with modding (Java Edition)

Last seen on 21:26, 23. Apr 2024
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make an axe use one durability.
Tue, 04/02/2024 - 01:14 (edited)

This is a Guide on How to make an axe use one durability when attacking mobs.

 

Make a procedure.

Look into the item procedures.

Set Damage of provided item stack to [(get damage of provided item stack) + (1)]

After using this procedure method go to your axe and go to the if living entity is hit with tool and put your procedure into that trigger.

 

You can also use this to make swords not take durability damage.

Like if this is helpful.

Edited by Crusader Gladiator on Tue, 04/02/2024 - 01:14