Started by
grounded_dragon
on
Topic category: Help with MCreator software
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.
https://imgur.com/a/fUZiJdC is what the image is supposed to be
Cooldown is for the white bar that goes down in a slot in your hotbar ex. throwing an enderpearl. Not for combat cooldown.
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