Help with remaining cooldown percentage parameter

Started by grounded_dragon on

Topic category: Help with MCreator software

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with remaining cooldown percentage parameter

I'm trying to add a feature that executes right before an entity is attacked where if the entity being attacked has also attacked within a recent enough timeframe the next code should trigger. My only problem is when I use:
   [ [Get remaining cooldown percentage of [Get item [Event/Target Entity] is using] for [Event/Target Entity] ] > 0 ]
It either never runs no matter what whether the player/entity has attacked recently, or if I include 0 in the remaining cooldown percentage it always runs no matter what. Any help would be greatly appreciated.

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Cooldown is for the white…
Sun, 10/20/2024 - 14:21

Cooldown is for the white bar that goes down in a slot in your hotbar ex. throwing an enderpearl. Not for combat cooldown.

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do you know of a way that I…
Mon, 10/21/2024 - 22:32

Do you know of a way that I might find this weapon cooldown then? Thanks for letting me know, but now I'm a bit confused just in a different way

thanks for the help tho