[SOLVED]help with the procedure please! cooldown does not work

Started by Genom99 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[SOLVED]help with the procedure please! cooldown does not work
Sun, 02/05/2023 - 20:34 (edited)

cooldown does not work
Every right click on the block updates the cooldown time. When using the air click, the rollback time works fine (except that I need to click on the block).

pic:

https://gyazo.com/3fcfbdb2344be08a38942a0c451d86bf

working principle:
Every time I use an item on a block, it changes to a different one. There must be a pause between the change

Edited by Genom99 on Sun, 02/05/2023 - 20:34
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Cooldown for itemstack wont…
Sun, 02/05/2023 - 02:29

Cooldown for itemstack wont work for that, use an nbt timer instead

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Suddz I solved the problem…
Sun, 02/05/2023 - 20:33

@Suddz

I solved the problem in a slightly different way.
It is known that the cooldown does not work normally by right-clicking. I decided to do it by clicking in the air and the cooldown works! 

https://gyazo.com/db3e9a7d760a0e78f3bb3f0b4b7a1cc0

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well if it works it works,…
Mon, 02/06/2023 - 03:24

Well if it works it works, well done!