cooldown on item doesn't work

Started by Shadyks on

Topic category: Help with MCreator software

Last seen on 08:11, 19. Dec 2023
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
cooldown on item doesn't work

I'm sorry but I don't understand English so I'm doing this in a translator. I create a bandage in the mcreator which, when you press the right mouse button, imposes a regeneration effect; when I click on the air, everything works and the cooldown does not allow the item to be used, but when I click on a block, a cooldown animation appears on the item, but it can still be used by continuing to click on the block. 

Last seen on 01:13, 4. Jan 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've just created something…
Sun, 10/22/2023 - 08:11

I've just created something exactly the same and it works fine. Could you possibly send images of your code? If so, I might be able to help.

Last seen on 01:13, 4. Jan 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Your code seems like it…
Mon, 10/23/2023 - 05:19

Your code seems like it should work. Is your procedure on 'Right-clicked block' or 'right-clicked?'

Also, what version of Mcreator are you on?

Last seen on 04:44, 4. Mar 2024
Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you're cooldown does not…
Mon, 10/23/2023 - 19:19

If you're cooldown does not work try making an effect that applies to the player preventing them from using the item until the effect ends