Damage to item in hand when right clicked

Started by Tse244 on

Topic category: Help with modding (Java Edition)

Last seen on 18:43, 30. Apr 2023
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Damage to item in hand when right clicked

Hello. I'm making a bandage in my mod and when a player right clicks it gives regeneration but I need it to damage the bandage because I need its durability to be 3 and I set its durability as 3 but when I right click it does not damage the bandage.

procedure: https://prnt.sc/26necmz

Last seen on 14:33, 1. Jan 2024
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try to use the "DEAL (number…
Mon, 02/07/2022 - 20:54

Try to use the "DEAL (number) DAMAGE TO (provided item stack / item in main hand of (event/target entity) )"

I hope you will find a way out of your problem ! ^^