Custom totem with durability and cooldown

Started by PotassiumCat on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom totem with durability and cooldown

I'm trying to create a custom item that acts like a totem but has durability and a cooldown. I can't figure out how to damage it and apply the cooldown in the "entity dies" global procedure.