Cooldown on all items with same tag

Started by ChaosGoblin on

Topic category: Help with modding (Java Edition)

Last seen on 08:45, 19. Sep 2023
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Cooldown on all items with same tag

Right now, when you use one of the items in question, the cooldown on the item works just fine. I was wondering if there was a way however to make the cooldown apply to all items from a certain tag. 

for example  : tag alphabet has item a, b and c.
is there a way to make it that when item a is used, a,b and c go on cooldown? 

 

I'm wondering this because programming it for 3 items would be ok, I have 36 items however.