How to add cooldown to key bind? Help

Started by GreatttChill055 on

Topic category: Help with MCreator software

Last seen on 12:23, 5. Nov 2020
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to add cooldown to key bind? Help
Mon, 10/19/2020 - 07:05 (edited)
because I didn't find anything on the forum on this topic. I decided to apply here.

I am making a mod in which the player will be able to do "Bias to the side"
So, I implemented this same "Bias to the side" as follows: https://yadi.sk/i/1jr3Ee2b4a8-lg
After some tests, it turned out that sometimes the player has the ability to hold down the key that triggers "Side Dodge" and move very quickly.
After discovering this bug, I asked myself: "How can I make a cooldown to" Dodge to the side? ", But I still haven't answered it. Any thoughts on how to make a cooldown on key bind?
Edited by GreatttChill055 on Mon, 10/19/2020 - 07:05
Last seen on 19:43, 26. Mar 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
  Update to 2020.4, 1.12.2…
Mon, 10/19/2020 - 09:11

  Update to 2020.4, 1.12.2 generator is still supported.

Last seen on 19:43, 26. Mar 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I deleted my image because I…
Tue, 10/20/2020 - 06:31

I deleted my image because I didn't want to post it on Imgur without an account. There's the image again:

Last seen on 23:41, 3. Jun 2021
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Doesn’t work, says provided…
Fri, 11/27/2020 - 22:06

Doesn’t work, says provided item stack variable doesn’t exist