Damage A Specific Item Among Item Stack

Started by MortiusTitanOfDeath on

Topic category: Help with MCreator software

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Damage A Specific Item Among Item Stack
Sat, 12/17/2022 - 19:49 (edited)

Hello, I'm currently having trouble damaging an item in an item stack.

Basically, I've made an item that has a maximum stack of 1 and when holding it in the off-hand, it will damage it. It works, but it also deals damage to the other same items in the player's inventory. How can I fix that ? 

Thanks in advance. 

Edited by MortiusTitanOfDeath on Sat, 12/17/2022 - 19:49