Started by
Genom99
on
Topic category: Help with Minecraft modding (Java Edition)
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
Cooldown for itemstack wont work for that, use an nbt timer instead
@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
Well if it works it works, well done!